Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17953

First element of a group inherit the group reversed status in SimpleEventQuery

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 12.9-rc-1, 12.6.4
    • 12.5-rc-1
    • Event Stream
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      To reproduce:

              SimpleEventQuery query = new SimpleEventQuery();
      
              query.not();
              query.open();
              query.eq("property1", "value1");
              query.eq("property2", "value2");
              query.close();
      

      The group is reversed before of the not (which is expected) but the first comparison is also reversed (which is not expected and cause a double reverse...).

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: