Needs review
Project:
Project issue tracking
Version:
6.x-1.x-dev
Component:
Issues
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Feb 2010 at 12:49 UTC
Updated:
26 Feb 2011 at 23:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwwBummer. ;) We shouldn't let you save them in the first place, then. ;) But yeah, we need to fix this. I know core has an empty component, and that sucks.
It'd be nice to fix this before 6.x-1.0, but I don't think it's a blocker, so adding it to the wishlist...
Comment #2
mikey_p commentedThis should do the trick, and it includes a batch update function to go through project_issue_projects and update rows with empty components.
I named the update function assuming the #175555: Add custom Priority Levels would land first.
Comment #3
mikey_p commentedWhoops, left a dsm in there.
Comment #4
mikey_p commentedI still can't get the form_set_error to correctly highlight the element that it's set on. I've talked to chx about this and it doesn't seem to be anything obvious.
Comment #5
mikey_p commentedBlargh, typo.
Comment #6
mikey_p commentedMoving some of the work I had on github to topic branches on d.o: http://drupalcode.org/project/project_issue.git/shortlog/refs/heads/7254...