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

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoR

                    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