shoppingflux / shoppingfluxexport

7 stars 7 forks source link

Version below 1.6.1 doesn't support displayWarning function #428

Closed ghost closed 5 years ago

ghost commented 5 years ago

Expected behaviour

A warning message is displayed at the top of the module when there is a mismatch in the carriers' configuration.

Actual behaviour

Display warning function has been introduced in PS 1.6.1.0 https://github.com/PrestaShop/PrestaShop/commit/2ff09b90bd779e729516fa69e7485ea8a46da481

Therefore a fatal error is displayed when opening the module:

[PrestaShop] Fatal error in module shoppingfluxexport:
Call to undefined method ShoppingFluxExport::displayWarning()

Steps to reproduce the behaviour

On PS 1.6.0, create a mismatch with the carriers and open the module configuration