integreat-app icon indicating copy to clipboard operation
integreat-app copied to clipboard

IGAPP-1050: Support versioned page slugs

Open jira-to-github-migrator[bot] opened this issue 1 year ago • 0 comments

steffenkleinle - 4.7.2022, 17:50:10

Blocked by cms, on native we need a previous_paths property, see https://chat.tuerantuer.org/digitalfabrik/pl/itp6do3zkpgrmf114hq7kiw4sa. CMS Issue: https://github.com/digitalfabrik/integreat-cms/issues/1587.

As a user I want to be redirected to the correct url instead of seeing a not found error if the url of a category changes and my old url is therefore not correct anymore.

Acceptance criteria:

  • Old urls of categories are redirect to the new ones
  • The share url is set to the new url

Test information:

Additional information:

  • adjustments on native probably need to happen here in pushCategory to find a category not only by path but also by path in the new previous_paths property
  • the path has to be changed to the new path in pushCategory as well

Environment: - Linked issues:

  • Blocks: IGAPP-1266
  • Relates: IGAPP-1026
  • Relates: IGAPP-1264