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

ScriptedREST sample: Update on system endpoint proceeds though Search has no results

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 7.0.0
    • Component/s: _Samples
    • Environment:
      IDM 6.5/7.0.0-SNAPSHOT
    • Target Version/s:
    • Verified Version/s:

      Description

      Invoking an update (PUT) on an inexistent resource, through a scripted REST connector on the /system endpoint, leads to the following behaviour:

      • Search is performed on the external system, no resources are found
      • Update proceeds to external resource, which in this particular, cause the creation of new resource (API not implementing properly If-Match).

      Workaround is to make an additional check in the Update script to prevent from  the creation happening, the causing an extra round to the external system.

      Usecase with IDM 6.5 and scripted REST connector.

        Attachments

          Activity

            People

            Assignee:
            gael Gael Allioux
            Reporter:
            patrickdiligent patrick diligent
            QA Assignee:
            Son Nguyen Son Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: