Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-5839

CLONE - The SQL rest API should return the error message from the Solr /sql handler to the client

    Details

    • Story Points:
      13

      Description

      Given an error has occurred
      As a user I would like to see a helpful error message
      and not a 500 error message currently displayed.

      Acceptance criteria:

      1) TAS test using the JDBC driver which throws the error message generated by the Solr /sql handler.
      2) Display the error message in solr format when the format requested is solr.

      {
        "stmt": "select SITE from alfresco group by SITE,CM_OWNER",
        "format":"solr"
      }
      

      3) When the format is not solr we wound to handle the exception using the current renderException.
      4) When the error is not SQL related we want to handle it using the renderException.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                msuzuki Michael Suzuki
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel