-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Description
Preconditions
- Setup media files to be stored in a Database
- Press Synchronize and wait
- Check if media db storage is working by uploading a file from wysiwyg editor e.g. home.jpg and add it to a page
Steps to reproduce
- Delete the file pub/media/wysiwyg/home.jpg
- File is not displayed on the page anymore (verified that file exists in database
- domain.com/pub/media/wysiwyg/home.jpg is returning 404
Expected result
- File is displayed correctly. Downloaded from database.
Actual result
When I go over content->edit page->insert image. The file is loaded from the db and placed under ub/media/wysiwyg/home.jpg on the file system. After that, the direct access works again. I would expect the same load from db mechanism when the file is access directly using the url.
Am I missing something? Is this known issue?
magento version is 2.1.2