ckan / ckanext-pages

A simple builtin CMS for CKAN sites
GNU General Public License v3.0
51 stars 99 forks source link

`Delete` does not work for organization and group pages #53

Closed kmbn closed 6 years ago

kmbn commented 7 years ago

Steps to reproduce:

  1. Create a page for a group or organization
  2. Go to the edit view for that page (e.g., /group/pages_edit/test-group/test-group-page)
  3. Click Delete
  4. Click Confirm
  5. The main view for that page will reload (e.g., /group/pages/test-group/test-group-page and it will not be deleted

It seems like there are two issues:

  1. The delete URL generated for the Delete button (for both organization and group pages) is incorrect
  2. The method for deleting a group page is missing