Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-351

Modifications on versions of personas are not disabled resulting in exceptions when saved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • None
    • 1.2.8, 1.3.1, 1.4
    • Personas App
    • None

    Description

      When looking at a version of a persona, the Save changes button is not disbled, resulting in an exception when executed:

      [INFO] [talledLocalContainer] 2016-12-19 13:11:31,652 ERROR a.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter: Could not set JCR Property country
      [INFO] [talledLocalContainer] javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:276)
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:248)
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:278)
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:726)
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:2058)
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:2002)
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1924)
      [INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1894)
      

      This error was discovered when QAing MGNLPN-350, which also removes a legacy config property ruleClass. This is not the cause however, as the defect is present in previous version already.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD