Preconditions and environment
Steps to reproduce
Create a new category (keep it enabled)
Disable the category afterwards
Execute the following query (replace placeholder with your url key):
query route {
route(url: "XXXXX") {
type
relative_url
}
}
Expected result
The category is not returned:
{
"data": {
"route": null
}
}
Actual result
The category is returned:
{
"data": {
"route": {
"type": "CATEGORY",
"relative_url": "test123/"
}
}
}
Additional information
Since version 2.4.9 this works for products (before it also didnt work for disabled products) but still doesnt work for categories.
Release note
No response
Triage and priority
Preconditions and environment
Steps to reproduce
Create a new category (keep it enabled)
Disable the category afterwards
Execute the following query (replace placeholder with your url key):
Expected result
The category is not returned:
Actual result
The category is returned:
Additional information
Since version 2.4.9 this works for products (before it also didnt work for disabled products) but still doesnt work for categories.
Release note
No response
Triage and priority