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

Attempt to access other inprogress submission raise the wrong exception

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.7, 5.6
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      : I logged in as admin, saved an unfinished submission, logged out, logged in as unprivileged, and tried 'http://localhost:8080/DS-2895/jspui/submit?resume=2'. Again I got "Internal System Error", but the error was:

      2016-10-07 14:10:40,467 ERROR org.dspace.app.webui.servlet.SubmissionController @ Error loading step class'org.dspace.submit.step.SkipInitialQuestionsStep': org.dspace.authorize.AuthorizeException: Authorization denied for action WRITE on ITEM:2 by user 3
      at org.dspace.authorize.AuthorizeManager.authorizeAction(AuthorizeManager.java:181)
      at org.dspace.authorize.AuthorizeManager.authorizeAction(AuthorizeManager.java:100)
      at org.dspace.content.Item.update(Item.java:1547)

      "Authorization denied" sounds right, but it should be caught and explained instead of spewing Internal System Error.

        Attachments

          Activity

            People

            • Assignee:
              bollini Andrea Bollini (4Science)
              Reporter:
              mwood Mark H. Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: