Being able to have an empty Milestone/Component

19
Defect
Radii
Jack
0.5
0.2
Tickets
Fixed
Normal
Normal
8 years ago
3 years ago
0

Description

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

8 years and 6 months ago by Jack

  • Assigned ticket to Jack
  • Changed Status from New to 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.

8 years and 6 months ago by Jack

  • Set Version to 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.

8 years and 6 months 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?

8 years and 6 months ago by Radii

  • Reopened ticket as Reopened

8 years and 6 months ago by Jack

  • Closed ticket as Fixed

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