magento / magento2-page-builder

Magento2 PageBuilder
Other
75 stars 57 forks source link

Template Preview Images Incorrectly Saved to Media Directory #842

Open bluemwhitew opened 1 year ago

bluemwhitew commented 1 year ago

Preconditions (*)

  1. Adobe Commerce 2.4.4 (or greater)
  2. Page Builder 2.2.2 (or greater)
  3. bin/magento config:set cms/pagebuilder/enabled 1

Steps to Reproduce (*)

  1. Click on any Page Builder-enabled field (doesn't have to be empty)
  2. Click Save as Template
  3. Define a Template Name ("Example" in my case)
  4. Click Save
  5. Verify that you see, "The current contents of Page Builder has been successfully saved as a template."
  6. Click Apply Template
  7. Inspect the Preview Image path (can be full-size or thumbnail) from the template you just saved

Expected Result (*)

  1. Image(s) are stored under ~/pub/media/.template-manager/

Actual Result (*)

  1. Image(s) are stored under ~/pub/media/ but contain .template-manager in the name, implying missing DS

Notes

Big thanks to @karlasa and other @vaimo team members who quickly helped me to validate this on various platforms, configurations, etc. 🙏🏻

m2-assistant[bot] commented 1 year ago

Hi @bluemwhitew. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


bluemwhitew commented 1 year ago

@magento I am working on this