Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6807

Core incorrectly bootstraps dam-app's MIMEMappings

    Details

    • Sprint:
      Saigon 67
    • Story Points:
      3
    • Magnolia Release:
      5.3.18, 5.4.10, 5.5

      Description

      Looks like image/audio/video mime mappings were wrongly added as part of MAGNOLIA-6112, i.e. commit 6c57ff5c58d on master—a typical case of add+export+commit most likely.

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mgeljic Mikaël Geljić
                Reporter:
                mgeljic Mikaël Geljić
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0.5d
                  0.5d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.5d
                  0.5d