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

[Pages listing] The default WF pages come without a slug #473

Open
tudoramariei opened this issue Oct 19, 2023 · 0 comments
Open

[Pages listing] The default WF pages come without a slug #473

tudoramariei opened this issue Oct 19, 2023 · 0 comments
Assignees
Labels
bug 🐛 Something isn't working low-priority

Comments

@tudoramariei
Copy link
Member

tudoramariei commented Oct 19, 2023

Describe the bug
When going to view one of the published default pages (i.e., Home, T&C, Policy) from the page listing, you are directed to the public website by using the ID of the page instead of the slug. So, if the slug is /home and the page ID is 1, you should be directed to website-factory.test/en/home but are taken to website-factory.test/en/1, which does not exist.

This seems to happen because the generated pages do not have a slug themselves.

To Reproduce
Steps to reproduce the behavior:

  1. Log into the admin interface of a new WF instance
  2. Go to '/admin/pages'
  3. Locate one of the published default pages (i.e., Home, T&C, Policy) before they are modified
  4. Click on the down arrow next to a page
  5. Click on View/Vezi
  6. You are directed to a 404 page with the URL <wf-host>/<lang>/<id>

Expected behavior
You should be directed to a page with the slug <wf-host>/<lang>/<slug>

Screenshots
Clicking on the view button...
Screenshot 2023-10-19 at 10 12 35

... directs you to an address with the page ID...
Screenshot 2023-10-19 at 10 12 46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working low-priority
Projects
None yet
Development

No branches or pull requests

2 participants