#245 - If the Ticket Description is blank, only Summary is preserved

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

Activity

  1. Devon Hazelett updated this ticket
    14 years ago
    • Priority Normal Low
    • Status New 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.

  2. Devon Hazelett closed this ticket as Fixed
    14 years ago
    • Attached traq.js

    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
  3. Devon Hazelett updated this ticket
    14 years ago
    • Attached traq.js
    • custom_field 0% 100%

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

  4. Jack reopened this ticket as New
    14 years ago

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

  5. Jack updated this ticket
    14 years ago
    • Status New Accepted
  6. Jack closed this ticket as Fixed
    14 years ago
  7. Devon Hazelett commented
    14 years ago

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

Status

Fixed
-
Low

Details

Defect
2.3.3
Tickets
2.3.2
Normal

Tracking

Trupik
14 years and 7 months ago
12 years and 12 months ago
0
-
-