Edgewall Software
Modify

Ticket #8433 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

press enter key in changed field -> ticket turns into DRAFT and not saved in database.

Reported by: w.pasman@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11b1
Severity: normal Keywords: enter key, change properties, DRAFT, not saved
Cc:
Release Notes:
API 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.

Attachments

Change History

comment:1 Changed 3 years ago by cboos

  • Resolution set to worksforme
  • Status changed from new to closed

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).

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from (none). Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.