Upserting a catalog item as an entry in one category (a sub-category) and reporting category set to the parent category results in the item being an entry in the parent category in addition to the sub-category. The ordinal in the parent category is set to that of the ordinal in the reporting category which inevitably causes a collision with items actually at that ordinal in the parent category. (This is a recent regression since it never used to do this.)
For example, upsert request:
"categories": [
{
"id": "Y",
"ordinal": 0
}
],
"reporting_category": {
"id": "X",
"ordinal": 0
}
results in the following:
"categories": [
{
"id": "X",
"ordinal": 0
},
{
"id": "Y",
"ordinal": 0
}
],
"reporting_category": {
"id": "X",
"ordinal": 0
}
Why is the reporting category now affecting catalog categorisation?