Alec Thomas kirjoitti:
> On 11/28/07, Jani Tiainen <[EMAIL PROTECTED]> wrote:
>> I'm using Mylyn Trac connector with TimingAndEstimation plugin.
>>
>> Everything works well, except if I add time from Mylyn, total hours
>> don't change which is very, very inconvenient.
>>
>> I think that it's problem with XML-RPC that don't fire ticket change
>> notification when ticket gets changed... Anyone observed same problem?
>
> This shouldn't be the case. The XML-RPC plugin uses the standard ticket
> model code, which triggers change listeners internally.
Well, let's see what happened:
First time change is done through XML-RPC by using Mylyn Trac connector.
Next three ones are just test of my collegue who added 1 hour, then he
added 10 hours (totals 11 and then reduced one hour to make it back to ten).
Only first "hours set to 10h" change happened from Mylyn, rest are made
through Trac web ui. I've also another ticket handled same way and it
has same problem.
Excerpt from Trac ticket in question:
11/27/07 09:39:21 changed by jtiai ¶
* owner changed from Everyone to jtiai.
* status changed from new to assigned.
11/28/07 13:58:05 changed by jtiai ¶
* status changed from assigned to closed.
* resolution set to fixed.
(In [1861]) Initial version of profile model and manager. Closes #448
11/28/07 13:59:16 changed by jtiai ¶
* hours set to 10h.
Actually this was generic profile model.
11/28/07 14:03:12 changed by alexeev ¶
* hours set to 10h.
* totalhours changed from 1h to 11h.
11/28/07 14:03:17 changed by alexeev ¶
* hours set to -1h.
* totalhours changed from 11h to 10h.
What is more interesting is e-mail response I got (look carefully hours
and totalhours in header and hours and totalhours change...) Something
doesn't match.:
--------------------------+-------------------------------------------------
Reporter: jniva | Owner: jtiai
Type: enhancement | Status: closed
Priority: normal | Milestone: Sprint 1
Component: Unspecified | Version:
Severity: normal | Resolution: fixed
Keywords: | Estimatedhours: 7.5
Hours: 10 | Billable: 0
Totalhours: 0 |
--------------------------+-------------------------------------------------Changes
(by jtiai):
* hours: 0 => 10
* totalhours: 0.0 => 10.0
Comment:
Actually this was generic profile model.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---