Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-15609

CorsService API Descriptor text doesn't match functionality

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Component/s: API descriptor
    • Labels:
    • Rank:
      1|hzk8af:

      Description

      Bug description

      The text for the first PUT "Create with Client-Assigned ID" should read "Create with Server-Assigned ID", as it doesn't actually accept an ID.

      Also, the server-assigned ID is always "CorsService", but should be a UUID.

      How to reproduce the issue

      1. Visit the API Explorer
      2. Navigate to /global-config -> /services -> /CorsService
      3. Try the first PUT: Create with Client-Assigned ID.
      4. On success, try it again.
      Expected behaviour
      2 CorsService-type services are added, each with a unique ID.
      
      Current behaviour
      A single CorsService-type service is created with ID "CorsService". Step 4 above fails as a service with the same ID already exists.
      

      Work around

      Use the other PUT REST call that has a label "Create with Client-Assigned ID", which does have an ID variable in the path.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            chris.lee Chris Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: