SAP / spartacus

Spartacus is a lean, Angular-based JavaScript storefront for SAP Commerce Cloud that communicates exclusively through the Commerce REST API.
Apache License 2.0
744 stars 389 forks source link

[ready to retest] "Battery Chargers" breadcrumb in PDP returns a 404 #3274

Closed giancorderoortiz closed 4 years ago

giancorderoortiz commented 5 years ago

Steps to Reproduce:

  1. Search for chargers.
  2. In product listing page, click on any of the available results.
  3. In product details page, click on "battery chargers" breadcrumb.

Expected Results:

  1. Product listing page of "battery chargers", or "chargers".

Actual Results:

Related to https://github.com/SAP/cloud-commerce-spartacus-storefront/issues/3149

pdp_a 404 404_a

Pucek9 commented 5 years ago

Open-Catalogue/Components/Power-Supplies/Battery-Chargers/c/829 there is missing query params ?query=:relevance:category:816:category:829

bgambocjaviniar commented 5 years ago

problem is missing that because of the request being invalid. Checking why the backend does not support the code for 829

{
  "errors": [
    {
      "message": "The value provided is not allowed.",
      "reason": "invalid",
      "subject": "code",
      "subjectType": "parameter",
      "type": "ValidationError"
    }
  ]
}
bgambocjaviniar commented 5 years ago

created a ticket for smartedit / cmsocc https://jira.hybris.com/browse/CMSX-8984

KateChuen commented 4 years ago

Tested on dev19, with Commerce Suite 2005.0.200114002. It works now. No more 404. Please note that the fix is only in 2005. If you use 1905, you'll still see the 404 error.