Uploaded image for project: '[Read Only] - Addon Channel Manager'
  1. [Read Only] - Addon Channel Manager
  2. CHANNELMGR-92

Exception when concurrently changing channel properties

    XMLWordPrintable

Details

    Description

      Channel Manager / Dutch Website / Edit Channel

      In Browser A change the title prefix to 'Hippo Duurzaam - A' and save the channel properties.
      In Browser B open the Channel Settings and change the title prefix to 'Hippo Duurzaam - B'
      Click Save Changes

      Expected: Message that properties are changed on another instance. No stacktrace on console. (at most a warning)
      Actual: Message 'Could not save changes' and stacktrace:

      [INFO] [talledLocalContainer] 06.01.2014 17:55:34 ERROR [org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage():116] Error occurred during error handling, give up!
      [INFO] [talledLocalContainer] org.apache.cxf.interceptor.Fault: Node '/hst:hst/hst:channels/hippogogreen-nl-preview' is already locked by someone else.
      [INFO] [talledLocalContainer] at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)

      [INFO] [talledLocalContainer] Caused by: java.lang.IllegalStateException: Node '/hst:hst/hst:channels/hippogogreen-nl-preview' is already locked by someone else.
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.channel.ChannelPropertyMapper.tryLockOnNodeIfNeeded(ChannelPropertyMapper.java:381)

      Attachments

        1. channle_locked.jpg
          194 kB
          Pankaj Gupta
        2. out_of_sync.jpg
          209 kB
          Pankaj Gupta

        Issue Links

          Activity

            People

              pgupta Pankaj Gupta (Inactive)
              abanck Arent-Jan Banck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: