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

The Select Collection step performs badly with a large number of collections

    XMLWordPrintable

    Details

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

      Description

      The Select Collection step build a list of collections that the user is authorised to submit to by calling Collection.findAuthorized(...). This code either reads all the collections or just those in the current community and then checks each one to see if the user has the neccessary authorisation. With a large number of collections this performs badly. We have an instance where the user is typically only authorised to submit to one collection but the code reads all collections from the database and checks each one.

      Sorry, just the problem, no solution at this time.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peterdietz Peter Dietz
              Reporter:
              robintaylor Robin Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: