You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Reordering product categories fails when hidden categories exist #1126
Reordering product categories via POST /events/{event_id}/products/sort fails with "The ordered category IDs must exactly match all categories for the event without missing or extra IDs." even when all category IDs from GET /events/{event_id}/product-categories are included.
The root cause is a mismatch between the two endpoints:
GET /product-categories filters out categories where is_hidden = true via ProductFilterService::filter() (GetProductCategoriesHandler.php)
SortProductsHandler loads all categories (including hidden) from the DB and requires an exact set match (SortProductsHandler.php#L36-L40)
Since the client never receives hidden category IDs, it's impossible to include them in the sort request.
To Reproduce
Create an event with at least one product category where is_hidden = true
Open the event's product management page
Try to reorder product categories via drag & drop
The sort request fails with the error above
Expected behavior
Reordering should succeed. Hidden categories should either be excluded from the sort handler's validation check, or the listing endpoint should expose them to organizer-facing callers.
Suggested fix
Show hidden categories in admin panel to allow reordering them (and make "hidden" mean hidden for the consumer).
@LogFlames Shouldn't the hidden categories be visible in manage/admin view and only hidden for the customer?
Because I just stumpled upon the issue, while creating a category for guest-list related tickets, which I want to hide for the customer and manually create tickets in the attendee manager view.
@Viburnum that sounds more reasonable, I agree. Otherwise, it would just be another version of deleting the categories. I have updated my suggested fix.
Closing because hidden categories now appear in the event's manage view, so reordering includes them and no longer fails (#1138, since v1.9.0-beta and in v2.0.0).
This issue was closed by AI, as part of checking open issues against the latest release. If this is a mistake, please let us know here and we'll reopen it.
Activity
[-]🐛[/-][+]🐛 Reordering product categories fails when hidden categories exist[/+]Viburnum commentedon Mar 29, 2026
@LogFlames Shouldn't the hidden categories be visible in manage/admin view and only hidden for the customer?
Because I just stumpled upon the issue, while creating a category for guest-list related tickets, which I want to hide for the customer and manually create tickets in the attendee manager view.
LogFlames commentedon Mar 30, 2026
@Viburnum that sounds more reasonable, I agree. Otherwise, it would just be another version of deleting the categories. I have updated my suggested fix.
Viburnum commentedon Mar 31, 2026
I added a PR #1138
Unhiding hidden categories in the event manage view @see #1126 (#1138)
daveearley commentedon Oct 24, 2026
Closing because hidden categories now appear in the event's manage view, so reordering includes them and no longer fails (#1138, since v1.9.0-beta and in v2.0.0).
This issue was closed by AI, as part of checking open issues against the latest release. If this is a mistake, please let us know here and we'll reopen it.