[ https://jira.duraspace.org/browse/DS-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Masár updated DS-1082: --------------------------- Labels: has-patch (was: ) Summary: Invalid embargo causes item archival to crash (was: Invalid embargo causes item archival to crash.) > Invalid embargo causes item archival to crash > --------------------------------------------- > > Key: DS-1082 > URL: https://jira.duraspace.org/browse/DS-1082 > Project: DSpace > Issue Type: Bug > Reporter: Kevin Van de Velde > Assignee: Kevin Van de Velde > Labels: has-patch > Fix For: 3.0 > > Attachments: embargo-fix.patch > > > When an item is archived & the embargo date is invalid (either an invalid > date has been entered as embargo date or the embargo date has already passed) > the item cannot be archived since the embargo manager will throw an invalid > argument exception. > In the attached patch is a possible solution for this problem (catching the > exception & logging the error), however I wonder should an email be sent to > alert the admin that an invalid embargo was entered ? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel