Uploaded image for project: 'ONE'
  1. ONE
  2. ONE-28847

When user trying to save scope definition in Box configuration he has PermissionDeniedException Error

    XMLWordPrintable

Details

    • Tree
    • BigPicture, BigGantt
    • JIRA server, JIRA cloud
    • 15
    • 15
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_18501"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_18502"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19700"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_18400"); if(cfToHide4){cfToHide4.style.display="none";}
    • 2 days, 57 minutes, 17 seconds
    • 51 minutes, 12 seconds
    • 1 hour, 52 minutes, 24 seconds
    • 7 hours, 30 minutes, 13 seconds
    • 11 hours, 2 minutes, 10 seconds
    • 9 seconds
    • 1 day, 7 hours, 22 minutes, 51 seconds

    Description

      Steps to reproduce (recognized step so far)

      • Prepare a Box with multiple projects (more than 3k issues in Box scope)
      • Go to its scope definition tab in a Box configuration
      • Remove one project from automatic rules
      • Save changes
      • Reload page
      • Click save again

      Observed result

      An error occurs - see screenshot below.

      Also in logs, there is an error like below:

      Caused by: com.softwareplant.system.security.api.exception.PermissionDeniedException 
      at com.softwareplant.ppm.box.core.apiimpl.BoxHierarchyUnitOfWorkSecurity.runAfterValidateReadOrSubBoxCreatorPermission(BoxHierarchyUnitOfWorkSecurity.java:336) at com.softwareplant.ppm.box.core.apiimpl.BoxHierarchyUnitOfWorkSecurity.getBox(BoxHierarchyUnitOfWorkSecurity.java:142) 
      at com.softwareplant.ppm.structure.core.domain.sync.PartialSyncRequiredCommand.isBoxClosed(PartialSyncRequiredCommand.java:157) 
      at com.softwareplant.ppm.structure.core.domain.sync.PartialSyncRequiredCommand.lambda$getStructuresSuitableForPartialSync$6(PartialSyncRequiredCommand.java:150) 
      at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) 
      com.softwareplant.ppm.structure.core.domain.sync.PartialSyncRequiredCommand.getStructuresSuitableForPartialSync(PartialSyncRequiredCommand.java:152) 
      at com.softwareplant.ppm.structure.core.domain.sync.PartialSyncRequiredCommand.run(PartialSyncRequiredCommand.java:71) 
      at com.softwareplant.ppm.structure.core.domain.sync.StructureExternalTaskEventAsyncListener.isPartialSyncRequired(StructureExternalTaskEventAsyncListener.java:105)

      Expected result

      The scope is correctly saved. No errors in the application, all issues according to automatic rules are visible on Gantt module.  

      Attachments

        Issue Links

          Activity

            People

              igor.szymanczyk Igor Szymanczyk
              igor.szymanczyk Igor Szymanczyk
              rafal.zalewski Rafał Zalewski (Inactive) , dariusz.dudek Dariusz Dudek , robert.lichman Robert Lichman , szymon.zimecki Szymon Zimecki (Inactive) , system.jenkins Jenkins , grzegorz.duzy Grzegorz Duży , marta.gniadek Marta Gniadek (Inactive) , katarzyna.rajchert Katarzyna Rajchert , system.gerrit Gerrit , maciej.bukrewicz Maciej Bukrewicz (Inactive) , igor.szymanczyk Igor Szymanczyk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: