Deleting PageTypes

Permalink
I am having trouble deleting a page type.

I created a new one, "My Page Type" and then immediately tried to delete it from the Edit page of the PageType:

index.php/dashboard/pages/types?ctID=4&task=edit


It submits the request to this page:

index.php/dashboard/pages/types/-/delete/4/1231365766:6a95465d98f1d1fa40fcb91f0de90923


but this has no effect. I tried debugging the request and put a breakpoint on the delete function in

/concrete/controllers/dashboard/pages/types/controller.php


but this is never reached.

Do you have any suggestions?

Cheers,
Pete

 
andrew replied on at Permalink Reply
andrew
I see the bug. Heh, someone else had this and for some reason I didn't see it not working before (which is strange, but nevertheless)

This bug is due to a typo. We will fix this in the next release (hopefully tomorrow) but in the meantime if you need it fixed open

concrete/controllers/dashboard/pages/types/controller.php

and change

DashboardPagesTypesContoller

to

DashboardPagesTypesController

(forgot the "r"). bleh.