Error while translating commerce product variation

Created on 13 February 2025, 9 days ago

Problem/Motivation

While editing a commerce product variation, we get this error:

 ---- -------------- ------ ---------- -------------------------------------------------------------------------------------------------------------------- 
  ID   Date           Type   Severity   Message                                                                                                             
 ---- -------------- ------ ---------- -------------------------------------------------------------------------------------------------------------------- 
  1    13/Feb 03:44   php    Error      Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing      
                                        ("commerce_product") to generate a URL for route "entity.commerce_product_variation.content_translation_overview".  
                                        in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 187 of                                                      
                                        /app/docroot/core/lib/Drupal/Core/Routing/UrlGenerator.php).                                                        
 ---- -------------- ------ ---------- -------------------------------------------------------------------------------------------------------------------- 

Steps to reproduce

- Install Drupal Commerce and configure product and product varations
- Install AI module and configure AI translations
- Edit a product variation
- You'll get the error.

Proposed resolution

NA

Remaining tasks

NA

User interface changes

NA

API changes

NA

Data model changes

NA

🐛 Bug report
Status

Active

Version

1.0

Component

Other Submodules

Created by

🇮🇳India Vivek Panicker Kolkata

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024