Skip to content

database media storage: cms-images are not being loaded on demand (but product images are) #5872

@ludwig-gramberg

Description

@ludwig-gramberg

when using the database as the media storage one can adhoc fetch product-images from the database when they are requested for the first time and they dont exist on disk. it would be fair to assume this is also true for images of the cms.

Preconditions

  1. magento 2.0.7
  2. caches disabled

Steps to reproduce

  1. enable database media storage
  2. upload an image to the cms/wysiwyg
  3. remove your pub/media/wysiwyg folder

Expected result

  1. magento will check wether or not the image exists and if not pull it from the database, just like it does for products

Actual result

  1. nothing happens, the image is a 404

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releasebug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions