example-modules icon indicating copy to clipboard operation
example-modules copied to clipboard

MailTheme example module for PS8

Open 0x346e3730 opened this issue 3 years ago • 5 comments

Questions Answers
Description? Upgrade the MailTheme example module for PS8. Needs https://github.com/PrestaShop/PrestaShop/pull/30295.
Type? refacto
BC breaks? no
Deprecations? no
Fixed ticket? Fixes https://github.com/PrestaShop/example-modules/issues/108.
How to test? Try the module and make sure it's working as intended.
Possible impacts? mailtheme module only.

0x346e3730 avatar Nov 08 '22 10:11 0x346e3730

Try to modify getTemplatePath

0x346e3730 avatar Nov 10 '22 12:11 0x346e3730

Also needs https://github.com/PrestaShop/PrestaShop/pull/30295

0x346e3730 avatar Nov 15 '22 09:11 0x346e3730

The new constructor of the FolderThemeScanner class in this PR breaks this PR because of $scanner = new FolderThemeScanner(); which is no longer working because it's missing the module directory.

Edit : Fixed https://github.com/PrestaShop/example-modules/pull/122/files#diff-249c27b04b40dc32437d71beb17091c58b095da676a26a085bca04adfd1dc35eR230 but this PR now needs https://github.com/PrestaShop/PrestaShop/pull/30295 to be merged first

0x346e3730 avatar Dec 16 '22 10:12 0x346e3730

Hi @0x346e3730,

I tested your module with the PR #30295 and currently we have some issue on it. as you can see :

Untitled_ Dec 16, 2022 11_44 AM.webm

AureRita avatar Dec 16 '22 10:12 AureRita

Hello @AureRita I am afraid the bug you observe is not related to the PR and the initial topic of the subject https://github.com/PrestaShop/example-modules/issues/108.

I understand that it does prevent you from testing the PR, but @0x346e3730 cannot start working on https://github.com/PrestaShop/example-modules/issues/108 then on another bug https://github.com/PrestaShop/PrestaShop/issues/30290 then on another found during QA testing, it's never going to end ^^ . The PR is going to grow, it will be more complex, will need git rebase and so on.

So I discussed with @0x346e3730 and we pause this PR for now, he cannot continue this work as we have no idea when the list of bugs to fix will end. We don't know when (if) he will be able to dedicate time to this PR again.

matks avatar Jan 13 '23 13:01 matks