ElkArte Community

Title: Can't remove category with boards
Post by: Adrek on September 18, 2014, 10:47:52 am
For test:
1. Create category
2. Create board inside (I added two boards)
3. Now try to remove category created in step 1 (including boards).

You will see only Token verification failed. Please go back and try again.. Error log is empty.
Tested on clean ElkArte 1.0.
Title: Re: Can't remove category with boards
Post by: emanuele on September 18, 2014, 11:05:35 am
Confirmed and tracked: https://github.com/elkarte/Elkarte/issues/1821
Title: Re: Can't remove category with boards
Post by: Grumpy1 on December 14, 2024, 01:18:08 pm
Hasn't this been fixed yet?
Title: Re: Can't remove category with boards
Post by: Steeley on December 15, 2024, 03:28:18 pm
It looks like it was fixed a long time ago - ManageBoards.controller.php in sources/admin/contains the code, starting at line 371 (in my version, 1.1.6, YMMV)

Function for handling a submitted form saving the category.
   

    What it does:
   

    * - complete the modifications to a specific category.
    * - It also handles deletion of a category.
    - It requires manage_boards permission.
   
- Called by ?action=admin;area=manageboards;sa=cat2
    * - Redirects to ?action=admin;area=manageboards.