Improve Logging & XMLUI Error Handling of Curation Tools --------------------------------------------------------
Key: DS-896 URL: https://jira.duraspace.org/browse/DS-896 Project: DSpace Issue Type: Improvement Components: DSpace API, XMLUI Affects Versions: 1.7.1, 1.7.0 Reporter: Tim Donohue Assignee: Tim Donohue Fix For: 1.8.0 Attachments: Curator.patch, XMLUI.patch 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://jira.duraspace.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel