Can not delete issue status options at admin/project/project-issue-status

neptunix - March 10, 2009 - 14:00
Project:Project issue tracking
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:dww
Status:closed
Description

Get this when trying to delete default statuses:

Fatal error: Cannot unset string offsets in /var/www/drupal/includes/form.inc on line 110

Drupal 6.10

#1

dww - March 10, 2009 - 16:50
Title:Can not delete » Can not delete issue status options at admin/project/project-issue-status

Confirmed. Thanks for the report. Hopefully this is a silly bug from the D6 porting and will be easy to fix if someone wants to dig into it.

#2

dww - March 17, 2009 - 07:46
Assigned to:Anonymous» dww
Status:active» fixed

Yup, trivial bug. Committed the fix to HEAD: http://drupal.org/cvs?commit=184434

Figured I better fix this so I can implement my proposal over at #171350-113: Reorganise project issue statuses ;)

#3

System Message - March 31, 2009 - 07:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

dww - April 3, 2009 - 23:50
Status:closed» active

Nope, this is still broken. That solution wasn't sufficient. Now you get a fatal error when you try to submit the confirm form itself. I'll work on fixing this for real. I won't mark it fixed until I can actually *delete* the status. ;)

#5

dww - April 4, 2009 - 00:58
Status:active» fixed

Ok, committed another fix for this:

http://drupal.org/cvs?commit=192654

The main bug was that the menu callback wasn't getting the right URL argument for the sid, so everything was borked. I also split out the validation for the confirm form into a real validation callback, and fixed some code style bugs in the process. You can actually delete status values now. ;)

However, see also #423378: When you delete an issue status and reassign existing issues, comments that moved in/out of that status are untouched...

#6

System Message - April 18, 2009 - 01:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.