Uploaded image for project: 'Magnolia Resources Module'
  1. Magnolia Resources Module
  2. MGNLRES-117

InstallBinaryResourcesTask fails if resources carry the same name with different fileendings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • 2.3
    • None
    • None
    • M5.3.1 on Mac

    Description

      tasks.add(new InstallBinaryResourcesTask("/templating-kit/themes/AlittihadTheme/fonts/.*"));

      In the fonts directory are:
      dinnextltarabic-black-webfont.eot
      dinnextltarabic-black-webfont.svg
      dinnextltarabic-black-webfont.woff
      dinnextltarabic-black-webfont.ttf

      fails on module installation with:
      Could not install or update theme-AlittihadTheme module. Task 'Install binary resources' failed. (ItemExistsException: This node already exists: /templating-kit/themes/AlittihadTheme/fonts/dinnextltarabic-black-webfont/binary)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jschulte Jan Schulte
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD