Modify

Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#7440 closed defect (fixed)

Templated field resets to template values when using Preview ticket

Reported by: pbourret@… Owned by: Richard Liao
Priority: normal Component: TracTicketTemplatePlugin
Severity: major Keywords:
Cc: Freising Trac Release: 0.12

Description

By the way -- awesome job with #7404! Happy user base.

Steps to recreate:

  1. Install TracTicketTemplatePlugin in TRAC 0.12 (we just upgraded from 0.11.4 to 0.12).
  2. Set up templates for description field.
  3. Create a new ticket and Preview the ticket.

Expected Result:

  • Previewed content displayed with wiki formatting and the description field is available for further updates.

Actual Result:

  • The previewed content is displayed as expected.
  • The description field is reset back to the "empty" template values. I have tried copying the text from the field before pressing Preview to see if it was just the first time doing Preview. No, it happens every time and there is no warning. It caught me off guard.

Customers Impacted:

  • Anyone using TRAC 0.12
  • The functionality works correctly in 0.11.4. It appears to be something with how Preview works in 0.12, maybe?

Identified on Build: I found this on TracTicketTemplatePlugin rev 8291 (following fix to #7404) with TRAC 0.12

Attachments (0)

Change History (4)

comment:1 Changed 14 years ago by anonymous

Adding system information if it helps...

System Information

Trac	0.12
Genshi	0.6
psycopg2	2.0.13
Pygments	1.2.2
Python	2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3]
pytz	2010h
setuptools	0.6
Subversion	1.6.6 (r40053)
jQuery:	1.4.2

comment:2 Changed 14 years ago by Richard Liao

Resolution: fixed
Status: newclosed

(In [8326]) Fixed #7440

  • preserve content in preview mode

comment:3 Changed 14 years ago by Finding the best CNA School

Cc: Freising added; djohnsto@… removed

well written blog. Im glad that I could find more info on this. thanks

comment:4 Changed 10 years ago by Ryan J Ollos

In 13633:

0.8: Bump version to 0.8. Added SVN revision to egg. Refs #6589, #6809, #7311, #7404, #7440, #8555, #8609, #9238, #10858.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Richard Liao.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.