Skip to content

GraphQL: category & categoryList query return wrong image url #29089

@mhaack

Description

@mhaack

The category & categoryList query return wrong image URL on an upgraded instance (from 2.3.4 to 2.3.5).

For example - GraphQl result:

{
  "id": 34,
  "url_path": "venia-dresses",
  "image": "https://cif-enablement-s4n4tla-o24f6fbtz7p34.demo.magentosite.cloud/index.php/media/catalog/category/timeless.jpg"
}

URL is wrong and resolves into 404. Correct URL should be without /index.php like https://cif-enablement-s4n4tla-o24f6fbtz7p34.demo.magentosite.cloud/media/catalog/category/timeless.jpg

Preconditions (*)

  1. Magento 2.3.5, upgraded from 2.3.4

Steps to reproduce (*)

  1. Setup Magento 2.3.4
  2. Install Venia sample data like described on the docs
  3. Upgrade to Magento 2.3.5
  4. Query for categories which have an image, both category & categoryList returns wrong image URL

Expected result (*)

  1. Correct Image URL

Actual result (*)

  1. Wrong image URL, see above

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions