#141 - Ticket update - component
Type Defect
Status Fixed
Milestone 2.0
Version -
Component AdminCP
Priority Normal
Severity Normal
Owner arturo182
Assigned to -
Reported 14 years ago
Updated 10 years ago
Votes 0
Related tickets
Proposed time
Worked time

If there are no components in the project there's a bug that causes empty component changes to appear when updating tickets. It does that because empty component is '' and empty component in the db is 0 so when comparing it's different ;)

Adding (int) before $_POST['component'] in line 117 of ticket.php fixes it ;)

Attachments

Ticket History

14 years and 8 months ago by arturo182

Also when I think about it adding a "None" option with value 0 is even better idea cause in that case the select is not empty and looks better ;)

Jack closed as Fixed 14 years and 8 months ago

Should be fixed.

arturo182 reopened as Reopened 14 years and 7 months ago

Same goes for milestones, if a project has no milestones, then every update says "Changed milestone from to "

Jack closed as Fixed 14 years and 7 months ago