Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8656

[Broker-J] Selector parsing logic error when combining NOT and LIKE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • qpid-java-broker-9.0.0
    • qpid-java-broker-9.2.0
    • Broker-J
    • None

    Description

      The JMSSelectorFilter.match() gives unexpected results when combining the LIKE and NOT operators.

      The selector "NOT (entry LIKE '%aaa%')" and value "bbbb" returns true, as expected,

      The selector "NOT entry LIKE '%aaa%'" and value "bbbb" returns false, whcih is a bug.

      In both cases the method retuns true when the value is "aaaa"

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            kyrre Kyrre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: