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

Invalid embargo causes item archival to crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
    • Attachments:
      1
    • Comments:
      7
    • Documentation Status:
      Needed

      Description

      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 ?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kevin van de velde Kevin Van de Velde (Atmire)
              Reporter:
              kevin van de velde Kevin Van de Velde (Atmire)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: