Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-589

Incoherence on uploading: Upload asset does not store suffix in Node name, upload the same file a zip (zip upload) creates the node with the suffix

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Neutral
    • None
    • 2.0.7
    • DAM App
    • Sprint 5 (Basel)
    • 8

    Description

      In the linked support case SUPPORT-4669 there is a nice screen cast showing this behavior.
      I can confirm the same behavior.

      reproduce:
      1. Upload an image directly as assets. -> Node name does not contain the suffix
      2. Zip the same image and do a "Zip Upload" of it. -> Node name does contain the suffix

      The behavior should be aligned for both cases.

      I'm not sure which one of the cases is the goal for the future:

      • Having the suffix in the node name
      • Not having the suffix in the node name

      I'm in favor of having the suffix in the out of a simple reason:
      I've seen in many projects, that they need to provide files with the same names but different extensions, for example:
      A movie file and its cover file (.mov & .jpg) must usually have the same name.
      Or different images in different qualities/formats:
      image.tiff (the original high quality, could also be .bmp)
      image.jpg (one with no alpha channel
      image.png (one with alpha channel)

      As long the suffix is not in the file name this can't be achieved.

      I'm aware that this impacts the link creation.
      If you have the suffix in the file name then the link creation has two times the suffix in it: once form the node name, once form the file extension property of the asset, see print screen "The Two URLs.png".
      So the cases should be aligned and the link creation should take account of having the suffix in the node name (and then ignoring the file extension within the asset), or something alike.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                trang.truong Trang Truong
                cringele Christian Ringele
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - 4d
                      4d
                      Remaining:
                      Time Spent - 2d 5.5h Remaining Estimate - 1d 2.5h
                      1d 2.5h
                      Logged:
                      Time Spent - 2d 5.5h Remaining Estimate - 1d 2.5h
                      2d 5.5h