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

Make example modules works with Prestashop 8.0 #108

Closed
15 tasks done
mflasquin opened this issue Oct 7, 2022 · 8 comments · Fixed by #110, #111, #112, #113 or #114
Closed
15 tasks done

Make example modules works with Prestashop 8.0 #108

mflasquin opened this issue Oct 7, 2022 · 8 comments · Fixed by #110, #111, #112, #113 or #114

Comments

@mflasquin
Copy link
Contributor

mflasquin commented Oct 7, 2022

For the moment the modules do not work on prestashop 8. Most often when accessing the configuration route of the module, for example :

image

  • demo_grid
  • democonsolecommand
  • democontrollertabs
  • demodoctrine
  • demoextendgrid
  • demoextendsymfonyform1
  • demoextendsymfonyform2
  • demoextendsymfonyform3
  • demojsrouting
  • demomultistoreform
  • demooverrideobjectmodel
  • demoproductform
  • demosymfonyform
  • demovieworderhooks
  • example_module_mailtheme needs to work with PrestaShop 8 #154
@matks
Copy link
Contributor

matks commented Oct 7, 2022

Thank you @mflasquin for the big work!

@mflasquin
Copy link
Contributor Author

mflasquin commented Oct 7, 2022

It's seems some modules works but we have to clear the cache manually in BO before be able to use them. When the modules are installed on 1.7.7 they works even if the cache is not cleared manually. I don't know if it can be considered as an issue on Prestashop 8.

@matks
Copy link
Contributor

matks commented Oct 7, 2022

It's seems some modules works but we have to clear the cache manually in BO

We need to find out why. We need to understand what's behind that

@leemyongpakvn
Copy link
Contributor

leemyongpakvn commented Oct 7, 2022

I think the problem comes from recent Core changes. Many files were moved from PrestaShop\PrestaShop\Core\Addon\Module to PrestaShop\PrestaShop\Core\Module (1 level up). If you try to install module from Terminal, you will see warnings related to ModuleInterface class then fail. Installing module from Back-Office run smoothly but you need Clear Cache to make the module work normally (clear the old cache of Module related class I guess :)

@Sara-kom
Copy link

Sara-kom commented Jun 9, 2023

Hi,
any news about this demo modules?
Are they ever going to be fixed for 8.xx?

Thank you

@kpodemski
Copy link
Contributor

Hi @Sara-kom

All the example modules except one for email generation, works fine with PrestaShop 8 :)

@Sara-kom
Copy link

Hi @kpodemski,

that's exactly the one I need!
Is there anyway to make it work?

Thank you

@kpodemski
Copy link
Contributor

@Sara-kom I'll work on that in a few weeks, it requires some changes in the core, unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment