Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7000

Improvements to apply patch dialog when node already exists

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Consider scenario where 2 nodes had to be added in patch.
      1 is new (Mathijs Top) and 1 already exists (Mathijs).

      The feedback we got is (I also added a screenshot):

      Some patch operations failed
      Action : insert aboutmenu/Mathijs@5: success = true
      Action : insert aboutmenu/Mathijs Top@7: success = false

      This is very descriptive. You know it didn't work, but not why it didn't work. The log file is a lot better:
      Caused by: javax.jcr.ItemExistsException: This node already exists: /hst:hst/hst:configurations/hippogogreen/hst:sitemenus/aboutmenu/Mathijs

      Note:
      The improvements requested are in the JCR diff implementation.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mbrand Mathijs Brand (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: