Opened 9 years ago
Last modified 9 years ago
#11891 closed defect
Entry is stored in ticket change table when whitespace change in text field — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | low | Milestone: | 1.0.3 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
To reproduce:
- Change the value of any field, e.g. change milestone field from
milestone1
tomilestone2
. - Add whitespace to the value of a text field, e.g. change keyword field from
kw1
→kw1
.
sqlite> SELECT oldvalue, newvalue FROM ticket_change WHERE time=1419227103370485; kw1|kw1 milestone1|milestone2 9|
The value is not displayed in the ticket changelog because old == new
is filtered out: tags/trac-1.0.2/trac/ticket/web_ui.py@:1829#L1783. The change is not saved in the changelog unless another field is also changed because the changes are discarded if all props are unchanged: tags/trac-1.0.2/trac/ticket/model.py@:277-280#L260.
Note:
See TracTickets
for help on using tickets.