Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-12636

Embedded DJ explicit user is missing for-userName query

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: Module - Repository DS
    • Labels:
    • Environment:
      OpenIDM: 7.0.0-SNAPSHOT ccba5cc
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      2
    • Sprint:
      2019.10 - IDM

      Description

      The Embedded DJ Explicit User is missing definition of  "for-userName" query in explicit queries part of repo.ds.json

      Attempt to use the query for managed/user endpoint then ends with 400 error:

       	curl --header "X-OpenIDM-Username: openidm-admin" --header "X-OpenIDM-Password: openidm-admin"  --request GET "http://localhost:8080/openidm/managed/user/?_queryId=for-userName&uid=non_existing_user"
      
      Response Content:
      {"code":400,"reason":"Bad Request","message":"Requested query for-userName does not exist"}
      

      Settings to run the automated test:
      config.cfg - repo_type = embedded_dj_explicit_table
      ./run-pybot.py -t query_for_username_no_match -n openidm

        Attachments

          Activity

            People

            • Assignee:
              krismy.alfaro Krismy Alfaro
              Reporter:
              Ladislav.Folta Ladislav Folta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: