Peng Xing created KYLIN-3236:

             Summary: The function 'reGenerateAdvancedDict()' has an error 
logical judgment, which will cause the exception when you edit the cube.
                 Key: KYLIN-3236
             Project: Kylin
          Issue Type: Bug
          Components: Web 
    Affects Versions: v2.3.0
            Reporter: Peng Xing
            Assignee: Peng Xing

When remove deprecated distinct measures, the code has an error logical 
judgment In function 'reGenerateAdvancedDict()', as follows:

    //remove deprecated distinct measures
    angular.forEach($scope.cubeMetaFrame.dictionaries, function (dict, index) {
      if (distinctMeasures.indexOf(dict.column) === -1 && 
reuseColumns.indexOf(dict.column) === -1) {
        $scope.cubeMetaFrame.dictionaries.splice(index, 1);

This will result in accidental deletion of advanced dictionaries.

This message was sent by Atlassian JIRA

Reply via email to