#19 - Being able to have an empty Milestone/Component
Type Defect
Status Fixed
Milestone 0.5
Version 0.2
Component Tickets
Priority Normal
Severity Normal
Owner Radii
Assigned to Jack
Reported 15 years ago
Updated 10 years ago
Votes 0
Related tickets
Proposed time
Worked time

I noticed that if the Milestone or Component is empty, a MySQL error will occur. I believe it would be better if if there is no milestone/component that it is left empty.

P.S. I haven't looked into Traq's source yet, but does it use mysql_real_escape_string to sanitize its posts or something else (if at all?)

Ticket History

15 years ago by Jack

  • Assigned to Jack
  • Status New Accepted

[quote=Radii]P.S. I haven't looked into Traq's source yet, but does it use mysql_real_escape_string to sanitize its posts or something else (if at all?)[/quote] Yes, it uses the mysql_real_escape_string() function.

I will also be fixing the DB Error when either the Milestone or Component is empty.

15 years ago by Jack

  • Version 0.1
  • Closed ticket as Fixed

Fixed, whenever someone tries to submit a ticket with a blank Milestone or Component its displayed as an error like a blank summary would be.

15 years ago by Radii

But my problem was that I didn't have a designated Milestone nor did I have a component. Shouldn't there be the ability to leave it empty?

Radii reopened as Reopened 15 years ago
Jack closed as Fixed 15 years ago

It's now possible to create tickets if there's no milestones or components.