Ticket #7440 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Templated field resets to template values when using Preview ticket

Reported by: pbourret@meteostar.com Assigned to: richard
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

Change History

07/30/10 23:16:23 changed 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

08/02/10 03:11:20 changed by richard

  • status changed from new to closed.
  • resolution set to fixed.

(In [8326]) Fixed #7440

  • preserve content in preview mode

08/05/10 03:14:31 changed by Finding the best CNA School

  • cc changed from djohnsto@meteostar.com to Freising.

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


Add/Change #7440 (Templated field resets to template values when using Preview ticket)




Change Properties
Action