Skip to content
Snippets Groups Projects
Commit bf93a784 authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Merge branch '1070913_FixClassificationRecalculateAll' into '2021.0.0'

1070913 Fix Error when recalculating after inserting new classification

See merge request xrm/basic!642
parents 4087cc57 18dd525e
No related branches found
No related tags found
No related merge requests found
......@@ -929,7 +929,7 @@ function _insertPersistendClassificationDataIfNeeded()
for (var typeId in outdatedClassificationTypeObj[objectTypes[i]][groupId])
{
classificationTypeFilter = outdatedClassificationTypeObj[objectTypes[i]][groupId][typeId]["classificationTypeFilter"];
if(!persistedClassificationObj[uid][groupId].hasOwnProperty(typeId) && _isRelevant())
if(_isRelevant() && (persistedClassificationObj[uid][groupId] == undefined || !persistedClassificationObj[uid][groupId].hasOwnProperty(typeId)))
{
var values = [util.getNewUUID()
, " "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment