Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-9832

Citations Helper no concurrent creation of citation lists

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.0
    • Component/s: Content
    • Labels:
      None
    • Environment:
      all

      Description

      When one user with content.new permissions starts a Citation List (and does not finish it), no other user with content.new permissions can create a citation list. The second user sees an Error Report page in the toolframe. It looks like this is happening because the second user is trying to create the temporary 'New Citation List' instead of moving on to try and create 'New Citation List-1'

      Here's the warning from the log:
      WARN: PermissionException (2007-05-02 13:36:49,298 http-7777-Processor19_org.sakaiproject.citation.tool.CitationHelperAction)
      org.sakaiproject.exception.PermissionException user=154a3f97-f7f3-4f26-001a-a6333d281f65 lock=content.new resource=/content/group/29a8e2fa-61ab-4623-005f-c43bb07b033e/New Citation List

      This is stemming from line 3203 in CitationHelperAction:
      ContentResourceEdit newItem = contentService.addResource(pipe.getContentEntity().getId(), "New Citation List", null, ContentHostingService.MAXIMUM_ATTEMPTS_FOR_UNIQUENESS);

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                gbhatnag Gaurav Cedric Bhatnagar (Inactive)
                Reporter:
                gbhatnag Gaurav Cedric Bhatnagar (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration