Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-896

Improve Logging & XMLUI Error Handling of Curation Tools

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.0, 1.7.1
    • Fix Version/s: 1.8.0
    • Component/s: DSpace API, XMLUI
    • Labels:
      None
    • Attachments:
      2
    • Comments:
      2
    • Documentation Status:
      Needed

      Description

      The Curation System (https://wiki.duraspace.org/display/DSDOC/Curation+System) that was added to DSpace 1.7.x provides a great framwork for adding new Curation Tools & Tasks.

      However, at this point in time it doesn't include detailed Logging or XMLUI Error Handling. Currently, in 1.7.x, no logging occurs when a task completes (i.e. there is no audit trail in dspace.log or similar), and if an error occurs in the XMLUI it is just displayed via the (ugly) Cocoon default error page.

      As a subpart of the Replication Task Suite (DS-876), I've created a few patches (see attached) that do the following:
      1. Add basic, audit trail & error logging to the Curator class (See Curator.patch), such that status messages and errors are logged to dspace.log file
      2. Improved the XMLUI Error Handling for Curation Task Admin UI, such that errors that occur are displayed as a "Notice" (similar to a success message, but with different formatting). It also improves upon the I18N of the Curation Task Admin UI. (See XMLUI.patch)

      I think these would both be worthwhile improvements to make for 1.8.0. Both have received testing in conjunction with DS-876.

      Please let me know if you have any comments/suggestions on these changes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tdonohue Tim Donohue
                Reporter:
                tdonohue Tim Donohue
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: