Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-3234

Show a clearer error for ApplicationPermissionException

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.6.2
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      If calls to a remote Crowd instance fail with to a permission exception then Crowd wraps the response up as a String in an ApplicationPermissionException. If that response is HTML then the resulting stack trace is likely to be unreadable due to the markup.

      RestExecutor.throwError should try to turn the response into something readable. text/plain can be shown directly; text/html should be filtered so only the body text is included in the exception.

      Attachments

        Issue Links

          Activity

            People

              jwalton joe
              jwalton joe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: