Skip to content

[PS 9.0.2] Error 500 when accessing Customer Groups page: "groupId" parameter missing for route "admin_customer_groups_edit" #1604

@christiandouchamps

Description

@christiandouchamps

Prerequisites

Describe the bug and add attachments

Bug description

When trying to access the Customer Groups page in the back office (Shop Parameters > Customer Settings > Groups), I get an HTTP 500 error with the following exception:

Expected behavior

The Customer Groups page should load normally and display the list of groups with edit/delete options.

Steps to reproduce

Some mandatory parameters are missing ("groupId") to generate a URL for route "admin_customer_groups_edit".
Exception: Symfony\Component\Routing\Exception\MissingMandatoryParametersException
in vendor/symfony/routing/Generator/UrlGenerator.php (line 166)

The Groups page is completely inaccessible. The groups exist in the database (verified via SQL query on ps_group table) but cannot be viewed or edited through the back office.

Workaround

Currently, the only way to manage customer groups is directly via SQL queries in phpMyAdmin, which is not user-friendly for merchants.

  1. Install PrestaShop 9.0.1
  2. Upgrade to PrestaShop 9.0.2 using the 1-Click Upgrade module
  3. Go to Back Office > Shop Parameters > Customer Settings > Groups
  4. Error 500 appears with the MissingMandatoryParametersException

PrestaShop version(s) where the bug happened

9.0.2 (upgraded from 9.0.1)

How you installed PrestaShop

1-Click Upgrade module

PHP version(s) where the bug happened

8.3.28

If your bug is related to a module, specify its name and its version

No response

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

Not related to a module - core routing bug for admin_customer_groups_edit route

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Blocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions