[MAGNOLIA-6807] Core incorrectly bootstraps dam-app's MIMEMappings Created: 10/Oct/16 Updated: 05/Dec/16 Resolved: 24/Oct/16 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 5.3.16, 5.4.9, 5.5 |
| Fix Version/s: | 5.3.18, 5.4.10, 5.5 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Mikaël Geljić | Assignee: | Mikaël Geljić |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | MIMEMapping, bootstrap, qa | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 0.5d | ||
| Original Estimate: | 0.5d | ||
| 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: | |||||||||||||||||
| Sprint: | Saigon 67 | ||||||||||||||||
| Story Points: | 3 | ||||||||||||||||
| Description |
|
Looks like image/audio/video mime mappings were wrongly added as part of This may cause the following exceptions upon startup, as MIMEMapping's legacy reloading mechanism is also not very graceful with respect to reloading its cache and/or with deleted nodes. Linking to this issue as well. 2016-10-10 16:39:59,392 WARN info.magnolia.importexport.BootstrapUtil : Deleted already existing node for bootstrapping: /server/MIMEMapping/image
2016-10-10 16:39:59,393 ERROR info.magnolia.cms.beans.config.MIMEMapping : Failed to cache MIMEMapping
2016-10-10 16:39:59,400 INFO info.magnolia.cms.beans.config.MIMEMapping : Reloading MIMEMapping from /server/MIMEMapping
2016-10-10 16:39:59,408 ERROR info.magnolia.cms.core.DefaultContent : Item does not exist anymore: 127197f4-b389-4829-9086-8c675a2f3278
javax.jcr.InvalidItemStateException: Item does not exist anymore: 127197f4-b389-4829-9086-8c675a2f3278
at org.apache.jackrabbit.core.ItemImpl.itemSanityCheck(ItemImpl.java:116)
...
at info.magnolia.cms.core.DefaultContent.getName(DefaultContent.java:263)
at info.magnolia.cms.beans.config.MIMEMapping.cacheContent(MIMEMapping.java:154)
at info.magnolia.cms.beans.config.MIMEMapping.load(MIMEMapping.java:116)
at info.magnolia.cms.beans.config.MIMEMapping.reload(MIMEMapping.java:127)
at info.magnolia.cms.beans.config.MIMEMapping$1.onEvent(MIMEMapping.java:140)
|