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

Renaming folders in 7.7 doesn't work well if hippo:translation nodes without language exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.22.18
    • Fix Version/s: 2.22.20
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      In CMS7-7092 there was a fix made for renaming folders in 7.7 and 7.8.
      Later in CMS7-7632 another approach was done for 7.9 (and also again in 7.8). So below probably is only for 7.7.

      This renaming doesn't work well if folders have existing hippo:translation nodes with an empty hippo:language property.

      First, wIth such data, and the "empty language" translation first, the rename dialog opens with that "empty language" translation. The empty language translation never goes away as the renamed translation is saved to a translation with a language like 'nl' or 'en'.

      Second, to the tree does not change the renamed node until it gets selected (no UI update). This is true for 7.8 and 7.9 too.

      Third, on the HST side, when the translation is presented on the website for a content based menu, the HST keeps showing the "empty language" translation which makes it impossible for editors to change the menu item there.

      A solution would be to have the CMS remove "empty language" translation nodes, this already exists in 7.8 and 7.9.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jhoffman Jeroen Hoffman
                Reporter:
                jhoffman Jeroen Hoffman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: