<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #345: TRAC time 'add hours' not working</title>
    <link>http://localhost:8080/trac/ticket/345</link>
    <description>&lt;p&gt;
When you put something in "Add Hours to Ticket", it overwrites the "Total hours" with that value, rather than adding...
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/345</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 21 Sep 2011 17:09:26 GMT</pubDate>
      <title>status changed</title>
      <link>http://localhost:8080/trac/ticket/345#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;accepted&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have confirmed this, will look into it tomorrow
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 09:25:31 GMT</pubDate>
      <title>estimatedhours changed</title>
      <link>http://localhost:8080/trac/ticket/345#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;estimatedhours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.2&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have upgraded to the latest version of this plugin, see &lt;a class="wiki" href="http://localhost:8080/trac/wiki/TimingAndEstimationPlugin"&gt;wiki:TimingAndEstimationPlugin&lt;/a&gt; for install notes
&lt;/p&gt;
&lt;pre class="wiki"&gt; cd ~/timingandestimationplugin/trac0.11
 svn up
 python setup.py bdist_egg
 sudo cp dist/timingandestimationplugin-0.9.8-py2.6.egg /web/tech.transitionnetwork.org/trac/plugins/
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 09:46:54 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/345#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Testing adding time...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 10:09:40 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/345#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.4&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.1&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have opened a ticket about this here &lt;a class="ext-link" href="https://trac-hacks.org/ticket/9196"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://trac-hacks.org/ticket/9196&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 10:12:35 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/345#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.03&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.5&lt;/em&gt; to &lt;em&gt;0.53&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Testing
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 10:14:25 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/345#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.53&lt;/em&gt; to &lt;em&gt;0.63&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Hmm it all seems to be working now :-)
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 10:17:37 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/345#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:7</guid>
      <description>
        &lt;p&gt;
What is somewhat confusing is that the position of the timer has moved.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 10:51:02 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/345#comment:8</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:8</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;accepted&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.63&lt;/em&gt; to &lt;em&gt;0.73&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
So this is working OK now, closing ticket.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 11:40:53 GMT</pubDate>
      <title>hours, status, totalhours changed; cc set; resolution deleted</title>
      <link>http://localhost:8080/trac/ticket/345#comment:9</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:9</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;cc&lt;/strong&gt;
              &lt;em&gt;ed&lt;/em&gt; added
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.3&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;closed&lt;/em&gt; to &lt;em&gt;reopened&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                &lt;em&gt;fixed&lt;/em&gt; deleted
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.73&lt;/em&gt; to &lt;em&gt;1.03&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
OK, so there is a problem here after all.
&lt;/p&gt;
&lt;p&gt;
It looks like the totalhours field didn't exist before and the total time was kept in the hours field and now when time is added to an existing ticket it does wipe out previous hours, so these need adding back, but adding them back will change when they were done and also in the case of several people booking hours to a ticket the hours will need adding back by each person.
&lt;/p&gt;
&lt;p&gt;
There shouldn't be a problem for new tickets or for times after the first new comment to a ticket.
&lt;/p&gt;
&lt;p&gt;
I'm looking at things at a database level and at the tickets for this plugin: &lt;a class="ext-link" href="https://trac-hacks.org/query?status=closed&amp;amp;component=TimingAndEstimationPlugin&amp;amp;order=priority"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://trac-hacks.org/query?status=closed&amp;amp;component=TimingAndEstimationPlugin&amp;amp;order=priority&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 12:26:58 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/345#comment:10</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:10</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.41&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.03&lt;/em&gt; to &lt;em&gt;1.44&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I don't think my comments above are right, something odd was happening but it seems OK now - I couldn't find any references to this problem and it seems to be working OK now...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 12:28:19 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/345#comment:11</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:11</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;reopened&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;worksforme&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 14:23:01 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/345#comment:12</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/345#comment:12</guid>
      <description>
        &lt;p&gt;
Perhaps the problems only occurred between the upgrade to squeeze and the upgrade of the timing plugin?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>