Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple events have the same path #3060

Open
steffenkleinle opened this issue Sep 16, 2024 · 0 comments
Open

Multiple events have the same path #3060

steffenkleinle opened this issue Sep 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working effort: medium Should be doable in <12h

Comments

@steffenkleinle
Copy link
Member

Describe the Bug

Due to multiple events using the same path, the search in the frontends is atm broken for the Ostallgäu: https://integreat.app/ostallgaeu/de/search

We rely on the path/url of all pages (categories, events, pois, ...) to be unique to be able to use them as IDs. This assertion seems to be broken, but should be enforced in the CMS.

Steps to Reproduce

  1. Request https://cms.integreat-app.de/api/v3/ostallgaeu/de/events/?combine_recurring=True
  2. See two items with path: /ostallgaeu/de/events/handarbeits-werkstatt-mit-begegnung-und-austausch-5

Expected Behavior

No events/categories/pois to have the same id.

Actual Behavior

Two events have the same id.

Additional Information

App issue: digitalfabrik/integreat-app#2928
Mattermost discussion: https://chat.tuerantuer.org/digitalfabrik/pl/53jp75ehfj8mbdtwh3u56xhrua

@steffenkleinle steffenkleinle added the bug Something isn't working label Sep 16, 2024
@MizukiTemma MizukiTemma added this to the 24Q4 milestone Sep 19, 2024
@JoeyStk JoeyStk added the effort: medium Should be doable in <12h label Oct 8, 2024
@theresantonie theresantonie self-assigned this Oct 10, 2024
@JoeyStk JoeyStk removed this from the 24Q4 milestone Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working effort: medium Should be doable in <12h
Projects
None yet
Development

No branches or pull requests

4 participants