Decidim: Impossible to access/edit/delete a page

Created on 9 Apr 2019  路  4Comments  路  Source: decidim/decidim

Describe the bug
I created a Page called "history" in lid.decidim.barcelona:

https://lid.decidim.barcelona/pages?locale=en

Then some problems came up. It is not possible to:

1-Acces to the page, with or without participant logged:
https://lid.decidim.barcelona/pages/https:%2F%2Flid.decidim.barcelona%2Fassemblies%2Finvestigacion%2Ff%2F336%2F?locale=en

2- Try to edit this page (via admin panel)

https://lid.decidim.barcelona/admin/static_pages/https:%2F%2Flid.decidim.barcelona%2Fassemblies%2Finvestigacion%2Ff%2F336%2F/edit?locale=en

3- Try to delete the page "history" (via admin panel)

https://lid.decidim.barcelona/admin/static_pages/https:%2F%2Flid.decidim.barcelona%2Fassemblies%2Finvestigacion%2Ff%2F336%2F?locale=en

The error message in all 3 cases is:

"The page you're looking for can't be found This address is incorrect or has been removed"

Additional context
https://meta.decidim.org/processes/bug-report/f/210/proposals/14380

contract core WIP bug

Most helpful comment

@mrcasals @carolromero the issue is already solved at production!

All 4 comments

It seems that we aren't validating the slug for static pages, a full URL was used as slug and was causing the problems.

So, to solve this, these steps need to be done:

  1. The user should edit the static page slug and leave it as investigacion. This should fix their issue. @carolromero can you tell them?
  2. I'll work on fixing the form so that only paths are allowed.

.@mrcasals OK I tell them

@mrcasals @carolromero the issue is already solved at production!

Was this page helpful?
0 / 5 - 0 ratings