Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3207

Improper handling of nulls and substring matching at CapabilitySet/SimpleFilter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: framework-4.0.1
    • Fix Version/s: framework-4.0.2
    • Component/s: Framework
    • Labels:
      None

      Description

      The current filter implementation has the following issues:

      • Is not able to handle collections that have null values in it
      • Substring matching does not handle the end of the string matching as expected

      About this last part, below are the test cases
      (attr=*foo*bar*bar) should not match

      {attr=foobar}

      and it does
      (attr=aaaa*aaaa) should not match

      {attr=aaaaaaa}

      and it does

        Attachments

        1. FELIX-3207.diff
          2 kB
          Lucas Galfaso

          Activity

            People

            • Assignee:
              rickhall Richard S. Hall
              Reporter:
              lgalfaso Lucas Galfaso
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: