[MGNLRES-117] InstallBinaryResourcesTask fails if resources carry the same name with different fileendings Created: 18/Jul/14  Updated: 29/Mar/22  Resolved: 14/Mar/22

Status: Closed
Project: Magnolia Resources Module
Component/s: None
Affects Version/s: 2.3
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Jan Schulte Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

M5.3.1 on Mac


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Team: Nucleus

 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)


Generated at Mon Feb 12 06:47:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.