Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5560

Exporting node with short node name fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2
    • 6.2
    • None
    • None
    • UI Framework 16
    • 3

    Description

      In the new UI framework, Exporting nodes with short node name fails, if the length of the node name is shorter than 3 characters.

      To reproduce

      • In the pages app, create the subtree /a/b/c, publish it
      • Try to export: Fails on every level
      • rename "a" -> "aa" => export still fails
      • rename "aa" -> "aaa" => export works

      stack-trace / gist

       Please add unit test for this case!

       Please note that the export works when using the JCR app with short names.
      JCR app is using the old UI framework.

      Couple of things to investigate:

      • one of the symptoms/causes of this bug is that in assets detail app the asset file name is displayed and is resolved from the corresponding temp file name. "Enhancing" the temp file name with random suffix/prefix will spoil the looks in the form. Can we untie the displayed file name from the temp file?
      • do we need to display that file name in the asset form at all? (does it leave any footprint in the resulting data, is it important/useful at all, don't typical file upload services not care about the source file name?)

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rdhar Rishab Dhar
                cmeier Christoph Meier
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD