Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-983

"In" predicate parsing can result in reordered parameters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: Data Module
    • Labels:

      Description

      When working on CDK-451 I found that the parsing for the In predicate can sometimes reorder values used in the predicate. This can result in a View.toURI().toString() that results in a different string than the one that produced the view, although it will be logically equivalent.

      Discussion for the issue can be found on the pull request here the bug itself can be seen in the In.fromString method using a HashSet rather than a LinkedHashSet.

      I attached a patch for a test against the 1.0.0 release tag that demonstrates the issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                blue Ryan Blue
                Reporter:
                bbrownz Ben Brown
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: