Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6185

Non root users cannot save jcrMultiField content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.4
    • 6.2.2
    • None

      Steps to reproduce

      • create a publisher user called `testuser`
      • assign `testuser` non root access to test workspace (using ACL), do not allow write permission on root of workspace or any sub-folder
      • let `testuser` create an item for the test workspace and click save button using default dialog
      • dialog configuration attached disclaimer.yaml

      Expected results

      • Content saved to JCR

      Actual results

      he gets the following error with error.log

      RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc
      caused by InvocationTargetException
      caused by MethodException: Invocation of method buttonClick in info.magnolia.ui.dialog.ActionButton$$Lambda$2083/0x00000008417bc840 failed.
      caused by RuntimeException: info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: commit
      caused by ActionExecutionException: Action execution failed for action: commit
      caused by RuntimeRepositoryException: javax.jcr.PathNotFoundException: /__TMP_ORDER_STORAGE
      caused by PathNotFoundException: /__TMP_ORDER_STORAGE
      

      If that same component is saved by a superuser user, no error occurs

      Workaround

      No.

      Development notes

        Acceptance criteria

          1. disclaimer.yaml
            2 kB
          2. error.log
            29 kB

              jfranco Jorge Franco
              viet.nguyen Viet Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD