SYMPTOM:
When trying to edit a filter's expression in Strategy Developer, the error below is thrown and the expression cannot be edited:
Sample Code/Error
Key is not unique in collection
CAUSE:
This error is thrown when one attribute element is duplicated within the definition of the filter expression. Developer or other graphical interfaces do not allow duplicated attribute elements so it is unclear how this state was reached.
ACTION:
The filter expression can be edited using Strategy Web 9.4.x. Use Strategy Web to find and remove the duplicate attribute element.