Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11635

LiveWorkspaceListener does not work for "sameNameSiblings" nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 4.8.4, 4.9.0
    • 4.5.17, 4.7.0
    • None
    • None
    • 4.9.0 M3
    • Oui

      The automatic synchronization of live workspace done by this listener does not work for node with sameNameSiblings=true

      For example I create 3 events node in workspace default under a "ametys:plugins" node (calendar's events of workspaces)
      After auto synchronisation we have:

      default live
      event E1 event E1
      event[2] E2 event[2] E2
      event[3] E3 event[3] E3

      the 3 nodes are correctly created and synchronized

      Then delete event E2
      After auto synchronisation we have:

      default live
      event E1 event E1
      event[2] E3 event[2] E2
      - event[3] E3

      event[3] E3 becames event[2] E3 in default workspace, so for LiveWorkspaceListener event[2] E2 still exists in default and so do nothing

      Add 2 events E4 and E5
      After auto synchronisation we have:

      default live
      event E1 event E1
      event[2] E3 event[2] E2
      event[3] E4 event[3] E3
      event[4] E5 event[4] E5

      when synchronizing E4 creation, node at path event[3] already exists in live workspace,
      LiveWorkspaceListener does nothing
       

       

            bmaurel Bérénice Maurel
            laurence Laurence Aumeunier
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: