Edgewall Software

Changes between Initial Version and Version 1 of Ticket #13040, comment 3


Ignore:
Timestamp:
Jun 15, 2018, 1:34:45 AM (6 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13040, comment 3

    initial v1  
    11Yeah, I think that makes sense. [browser:tags/trac-1.3.2/trac/util/presentation.py@:471-472#L467 TracJSONEncoder] currently converts the `datetime` value to a timestamp, but it looks like the `old_values` should be strings because they are used as form values in the clone POST request: [browser:tags/trac-1.3.2/tracopt/ticket/htdocs/ticketclone.js@:26#L20].
    22
    3 Do the `old_values` have another use outside of the clone action? If not, I might expect them to be added by [browser:tags/trac-1.3.2/tracopt/ticket/clone.py clone.py]. I suppose even if they don't have another use in Trac it could be useful to have the values available for use by plugins.
     3Do the `old_values` have another use outside of the clone action? If not, I might expect them to be added by [browser:tags/trac-1.3.2/tracopt/ticket/clone.py clone.py]. I suppose even if they don't have another use in Trac it is good for the values to always be available for use by plugins.