Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve virtual theme fixer #19

Open
tangar76 opened this issue Aug 4, 2023 · 1 comment
Open

Improve virtual theme fixer #19

tangar76 opened this issue Aug 4, 2023 · 1 comment

Comments

@tangar76
Copy link
Contributor

tangar76 commented Aug 4, 2023

Troubleshooting section in Magento Stores Configuration checks for virtual themes.
Improve this awesome feature. Check not only if theme is virtual but also if theme has actual files.

Mark theme as "virtual" if theme source files exist but theme itself has flag virtual in DB.
Mark theme as "removed" if there are no source files of theme and it has flag virtual in DB.

@tangar76
Copy link
Contributor Author

tangar76 commented Aug 4, 2023

Issue is "inspired" by today's ticket from one of our clients - "Some product images are missing on storefront". Text below describes why it happened:

The reason of the of missing images was exception during image resize "Required parameter 'theme_dir' was not passed".
Client had Breeze Blank and Breeze Evolution theme in Magento Admin grid. But these themes did not have source files. It looks like they were removed. But records about theme still existed in DB table. And as a result is caused exception during image resize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant