[MGNLDAM-767] uploading more same assets breaks rendering Created: 14/Nov/18 Updated: 12/Mar/21 Resolved: 12/Mar/21 |
|
| Status: | Closed |
| Project: | Magnolia DAM Module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Tomáš Gregovský | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| 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
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
Founded on Swissre project, client somehow managed to upload more same assets into one folder (not sure how they did upload process exactly) but as a result they have same image 3 times in dam, and to differentiate jcr add 0 a 1 at the end of the name for duplicates (see screenshot). Unfortunately because this number is part of name, which dam templating function damfn.getAssetLink() generate the link including .jpg0 (/dam/jcr:bd5f60df-0776-46f9-b5c6-438515d5868e/GFZ_90m_resolution.jpg0) and imaging module then fails to render such a image (seems like he is doing mime type recognition based on extension, not real mime type saved in dam workspace). Suggested improvements:
|
| Comments |
| Comment by Roman Kovařík [ 12/Mar/21 ] |
|
Can't reproduce on latest https://demo.magnolia-cms.com/.magnolia/admincentral#app:dam:jcrBrowser;/918112.png:: |