Skip to content

[BC break] Unable to generate a URL for the named route "admin_customers_edit" as such route does not exist. #122

@rdy4ever

Description

@rdy4ever

Prerequisites

Describe the bug and add attachments

This PR introduces a BC break, but the module is still marked compatible with PrestaShop: 1.7.1.0 or later.
The module configuration page on a shop before the customer page was migrated to Symfony (for ex. 1.7.5.x) errors in:
500: Unable to generate a URL for the named route "admin_customers_edit" as such route does not exist.

I know 1.7 is EOL, but if the module breaks BC it should be restricted to only compatible versions, which is not currently the case as it allows update and brakes configuration page.

Expected behavior

The module should either work with older PS versions, as it is marked as 1.7.1+ - or should be restricted to compatible versions.

Steps to reproduce

  1. Install the v2.8.3 on a legacy PrestaShop (eg. 1.7.5.0) or upgrade the module to the latest version if already installed.
  2. Go to module configuration
  3. See 500 error

PrestaShop version(s) where the bug happened

1.7.5.0

PHP version(s) where the bug happened

7.2.34

Your company or customer's name goes here (if applicable).

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions