Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Compressed Criteria is handling 'not' operator incorrectly

    SmartClient Version: v11.1p_2017-10-20/LGPL Development Only (built 2017-10-20)

    Affects all browsers

    We've discovered a defect. We are setting filter criteria to our grid, and ultimately when the grid does a fetch, the request criteria is missing a 'not' operator. Using Chrome Devtools, we've debugged and found what we think is a smoking gun to this problem. Attached is a screen shot of our Developer Tools window. You can see around line 8106, the algorithm does not seem to address the 'not' operator in the compressNestedCriteria() method.

    The input criteria string at this stack frame is: (not (job_dueDate isNull)) and the return value is (job_dueDate isNull)

    This was also reproduced with the build from 2018-03-06.

    Let us know if you need more information to investigate.


    Click image for larger version

Name:	sgwt_notOperator_defect.jpg
Views:	66
Size:	158.2 KB
ID:	252151

    #2
    We've made a fix that should resolve this in SGWT 5.0p/SC 10.0p and newer releases. It will be in the nightly builds dated 2018-03-12 and beyond. If you're still seeing an issue, you'll need to provide some actual repro code to allow for further investigation.

    Comment


      #3
      Thanks, the new build resolved our issue!

      Comment

      Working...
      X