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

Non root users cannot save jcrMultiField content

    XMLWordPrintable

Details

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

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD