If the Ticket Description is blank, only Summary is preserved

245
Defect
Trupik
-
2.3.3
2.3.2
Tickets
Fixed
Low
Normal
5 years ago
3 years ago
0

Description

What did you do to cause this? I clicked on New Ticket, filled the form with Type, Summary, and other Properties (Assigned to, Priority, etc). I left the Description blank, and clicked on Create Ticket. Ticket gets rejected, because of it, and shows the message "Description cannot be blank.". Then the defect happens, see below.

What page were you on? http://traq.traqproject.org/traq/newticket

Describe the defect: All fields are reset to their default value, except for the Summary. So I have to type in all the other fields I have just filled before. It would be nice, if they were preserved too.

Attachments

Ticket History

5 years and 5 months ago by Devon Hazelett

  • Changed Priority from Normal to Low
  • Changed Status from New to Started

Would be an easy fix to use jQuery to check the values before the submit button is put in the enable state. But, in case this happens to you again before the a fix is released; You may push the back button and most modern browsers will have your previous state before submitting saved.

-- Jack -- I'll touch the vanilla Traq JS sheet, and add the proper selectors && functionality to the script.

5 years and 5 months ago by Devon Hazelett

  • Added attachment traq.js
  • Closed ticket as Fixed

Replacement file goes in the JS folder at the root of Traq, simply overwrite the old with the new. [Fixed] * Cannot submit new ticket unless both summary && description fields are filled out

5 years and 5 months ago by Devon Hazelett

  • Added attachment traq.js
  • Changed custom_field from 0% to 100%

Here for any one who has updated there jQuery version to 1.7

5 years and 5 months ago by Jack

  • Reopened ticket as New

Closing tickets that have yet to be fixed in the repository makes it hard to see what needs to be done.

5 years and 5 months ago by Jack

  • Changed Status from New to Accepted

5 years and 5 months ago by Jack

  • Closed ticket as Fixed

5 years and 5 months ago by Devon Hazelett

Sorry bout that Jack, I always forget not to close the ticket >_<