Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-1519

Do not strip resources extension in InstallSTKResourcesTask anymore

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Critical
    • 2.9.3
    • 2.9.2
    • update
    • Yes
    • Saigon 26
    • 5

    Description

      InstallSTKResourcesTask still uses deprecated InstallResource(s)Task, which always strips extension of resource file name when installing.

      Since MGNLRES-181; we want to avoid duplicates with other resource origins (classpath/filesystem), so extensions will be re-added to pre-existing resources.
      Consequently, we must stop stripping extensions for fresh installs too.

      • Replace usages of deprecated InstallResource(s)Task in InstallSTKResourcesTask
        • Use InstallBinaryResource(s)Task and InstallTextResource(s)Task instead
        • Set stripExtension to false

      Update: MGNLRES-181 only provides the resource upgrade task, re-adding extensions to node names. This task should be used here in a delta in STK VH.
      See expected outcome (STK) in concept for details.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mgeljic Mikaël Geljić
                mgeljic Mikaël Geljić
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR

                    Time Tracking

                      Estimated:
                      Original Estimate - 3d
                      3d
                      Remaining:
                      Time Spent - 2d 4.25h Remaining Estimate - 3.75h
                      3.75h
                      Logged:
                      Time Spent - 2d 4.25h Remaining Estimate - 3.75h
                      2d 4.25h