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

Duplicated and uninformative error message when attempting to delete a parent realm

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 14.0.0
    • Fix Version/s: None
    • Component/s: rest, sms
    • Labels:
    • Environment:
      OpenAM 14.0.0-SNAPSHOT Build 1dcc7d754d (2016-March-14 01:29)
    • Rank:
      1|hzr6n3:

      Description

      Duplicated and uninformative error message when attempting to delete a parent realm

      Steps:

      • Create Realm "Employees"
      • Create SubRealm "Employees/Customers"
      • Attempt to delete the parent realm:
        curl -X DELETE -H "iplanetDirectoryPro: AQIC5wAJTMQAA*" -H "Content-Type: application/json" -d '' "http://aczv.205.example.com:8080/openam/json/global-config/realms/Employees"
        

        Problems with the error message:

      • It describes implementation details
      • It is duplicated
      • It could be more informative
        {
          "code": 409,
          "reason": "Conflict",
          "message": "Sub Organization cannot be deleted. Sub entries exist.: Sub Organization cannot be deleted. Sub entries exist."
        }
        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              AndrewVinall Andrew Vinall
              QA Assignee:
              Andrew Vinall Andrew Vinall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: