Проблемы с настройкой и развертыванием темы «родитель-потомок» в Magento2 - PullRequest
0 голосов
/ 11 октября 2018

Проблемы с темами сайта.У меня есть родительская тема и дочерняя тема.Несколько файлов / макетов переопределяются в дочерней теме.Все это работало нормально до вчерашнего дня или позавчера (работал над модулем, поэтому заметил проблему только сегодня).

Статические файлы дочерней темы не генерируются ... только requirejs-configфайл .jsСтатические файлы родительской темы создаются нормально.

Если я переключаюсь на стандартную тему Magento (luma) для магазина ... сохраняя родительскую тему настроенной глобально, я получаю тот же результат.Файлы luma содержат только JS-файл, упомянутый выше.

Если я изменяю глобальную тему на luma, старые статические файлы родительской темы все еще генерируются, и еще раз ... только файл JS в статической lumaфайлы.(Почему он все еще генерирует статические файлы старой родительской темы, если он не настроен ни для одного веб-сайта / магазина?)

- im in developer mode
- no themes in DB have the virtual setting (all are 0)
- All the right theme files are in place...this theme has been around for a while. its not brand new.
- i downloaded a fresh DB copy from the staging site (which is working fine) to ensure this wasnt an issue with data in my local DB
- Switched GIT branches to ensure none of my latest work had caused an issue
- There are 2 system configs for theme_id (global/websites). These are both set to theme id 2 at the moment (luma)
- All the usual CLI commands are being run each time i change something trying to figure this out. Its not a cache clean/flush/upgrade command running issue.

Вопросы:

1. How is it detecting and deploying the parent theme files...when all website/stores are set to luma theme?
2. Why aren't theme files no longer being deployed to pub/static...except the old parent theme files (even though i am in developer mode, and files don't need deploying....some files are always deployed, its not me running deployment commands)
3. What could possibly be involved in causing this issue, except the areas i mention above that ive been playing with?
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...