Changes between Initial Version and Version 1 of Ticket #13436, comment 2


Ignore:
Timestamp:
Jun 7, 2018, 3:10:05 PM (7 years ago)
Author:
Jon Ashley
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13436, comment 2

    initial v1  
    11In [17197], I have tried a slightly different solution for getting 'owner' as I found that passing in the result of `ticket.get_value_or_default('owner')` gives the wrong owner when viewing a preview when the pending change to the ticket will change the owner: it resolves to the current owner rather than the new owner. Also, this keeps it a little more integrated; you could always control the visibility of the 'owner' field with the kis plugin, just not read its value until now.
    22
     3`status` presumably suffers from the same issue; I'll look at that later.
     4
    35This works on Trac 1.0.9; I haven't tried it on Trac 1.2 or later yet.