Opened 15 years ago
Closed 15 years ago
#8433 closed defect (worksforme)
press enter key in changed field -> ticket turns into DRAFT and not saved in database.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11b1 |
Severity: | normal | Keywords: | enter key, change properties, DRAFT, not saved |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Pressing the enter key after typing some text in a text field in the Change Properties area of a ticket gives unexpected result. The ticket turns into DRAFT and is not stored in database.
Reproduce as follows. Select a ticket, enter some text in the Cc field (or any other text field), and then PRESS ENTER. You get a ticket with DRAFT all over it. If you reload the ticket, by browsing to another ticket and then back to the draft-ed one, you get an OLD VERSION of the ticket, before it was changed to draft.
if you press the "Submit Changes" button instead of pressing enter, the ticket is updated properly.
BTW I'm wondering about the version of trac that we have here. When I enter the trac homepage I see "welcome to 0.10.4". But if I go to "Manage Plugins" I see "Trac 0.11.1".
We have two plug-ins installed: "TracMasterTickets 2.1.3" (with MasterTicketsModule disabled), and Tracbacks 0.1.
Works as expected: hitting Enter should trigger a "Preview", not a "Submit changes" (by looking closely at those buttons, you can see that the preview button is set as the default one).