Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4000

using lookupTable values in filter

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.6 (Comenius)
    • None
    • git-v3.6devel-1439-gf8eb894a4a

    Description

      Issue: when an attribute value is defined through lookupTable seems that the "label" is used in mP query instead of key value in fulltext search. This is replicated on each entity (org.unit, role, users)

      How to replicate:
      1. define a lookupTable (eg. for roleType)
      -snip-
      <row>
      <key>POS</key>
      <label>Pracovná pozícia</label>
      </row>
      <row>
      <key>BIZ</key>
      <label>Biznis rola</label>
      </row>
      -snip-

      2. create some roles with roleType = POS

      3. Try to find the roles:

      • Go to Roles>List Roles, find the "roleType" and set the value as "Pracovná pozícia"
      • Search the roles

      4. mP returns an empty list

      When I do the same fulltext search with value POS, mP returns expected results -see attached printscreens

      Attachments

        Issue Links

          Activity

            People

              pholes Peter Holeš
              pholes Peter Holeš
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: