Details

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

      Description

      When running harvest from the control panel their is no user set to perform the importing. When the code reaches a collection.update() this will crash due to permission issues (see stacktrace below).

      Exception:
      org.dspace.authorize.AuthorizeException: Authorization denied for action WRITE on COLLECTION:11 by user 0
      at org.dspace.authorize.AuthorizeManager.authorizeAction(AuthorizeManager.java:181)
      at org.dspace.content.Collection.canEdit(Collection.java:1041)
      at org.dspace.content.Collection.update(Collection.java:977)
      at org.dspace.harvest.OAIHarvester.runHarvest(OAIHarvester.java:375)
      at org.dspace.harvest.OAIHarvester$HarvestThread.runHarvest(OAIHarvester.java:1352)
      at org.dspace.harvest.OAIHarvester$HarvestThread.run(OAIHarvester.java:1343)
      at java.lang.Thread.run(Thread.java:662)

        Attachments

          Activity

          Show
          kevin van de velde Kevin Van de Velde (@mire) added a comment - Pull request: https://github.com/DSpace/DSpace/pull/433
          Hide
          helix84 Ivan Masár added a comment -

          Previously tested by Bram. Fixed in master (5.0) and dspace-4_x (4.1).

          Does this also affect 3.x?

          Show
          helix84 Ivan Masár added a comment - Previously tested by Bram. Fixed in master (5.0) and dspace-4_x (4.1). Does this also affect 3.x?

            People

            • Assignee:
              kevin van de velde Kevin Van de Velde (@mire)
              Reporter:
              kevin van de velde Kevin Van de Velde (@mire)
              Reviewer:
              Bram Luyten (@mire)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: