Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorcanis85
    • CommentTimeDec 7th 2009
     permalink
    I'm using the latest version of ari's ClockingIT fork. (just ran git pull today).

    Whenever a task is opened, the due date is incremented by one day. Unless this is changed back to the actual due date, the due date is incremented any time anyone updates the task. Is this normal?
    • CommentAuthoradmin
    • CommentTimeDec 7th 2009
     permalink
    Not supposed to be that way, no. What timezone/language are you using?

    -- Erlend
    • CommentAuthorcanis85
    • CommentTimeDec 7th 2009
     permalink
    I'm using English with US - Eastern
    • CommentAuthorari
    • CommentTimeDec 8th 2009
     permalink
    That seems odd. You might want to check (with admin rights) the URL in your application at https://yourinstallation.com.au/triggers

    That is a work-in-progress trigger system that allows you to you set the due date automatically based on certain rules. We are experimenting with this idea as a way to automatically set due dates for newly created tasks (eg. which come in via email). It is fairly primitive so far, but the idea is coming along.

    Maybe you enabled it at some point?


    Ari Maniatis
    • CommentAuthorcanis85
    • CommentTimeDec 8th 2009
     permalink
    This is a fairly new install, only a week or so old. I'm the only person that's been using it so far (still testing to make sure it's what we want to use). It's done this ever since I installed it, as far as I can tell.

    The triggers page is empty (I double checked); I never even knew it existed before.
    • CommentAuthorari
    • CommentTimeDec 11th 2009
     permalink
    If you want commercial (paid-for) support, then email me (ari@ish.com.au) and I'll see what we can do to support your installation and see what is going on. However I can't imagine what is causing the problem you are describing. The trigger feature hasn't been linked into the menu yet since it is a bit rough around the edges.

    Are you 100% sure this isn't something in the browser itself (some sort of autocomplete feature)? Seems really strange.

    Ari
    • CommentAuthorcanis85
    • CommentTimeDec 15th 2009
     permalink
    I just installed Chrome, and it does the same thing. I've tried Firefox and Chrome on Linux, and my coworker has tried Firefox on Windows 7 and they all have the same issue.
    • CommentAuthorcanis85
    • CommentTimeDec 15th 2009
     permalink
    Some software versions on our server:

    Ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
    Linux clockingit 2.6.31-15-generic-pae #50-Ubuntu SMP Tue Nov 10 16:12:10 UTC 2009 i686 GNU/Linux
    Apache/2.2.12 (Ubuntu)
    • CommentAuthorari
    • CommentTimeDec 16th 2009
     permalink
    I recommend Ruby 1.9 since it is much faster. But as for your problem I can only suggest that you look through the logs and see if you can identify what is happening. Is the field being updated when you open the task? At what point is the new value saved?

    Ari
    • CommentAuthorcanis85
    • CommentTimeDec 16th 2009 edited
     permalink
    I'll see if I can upgrade to Ruby 1.9, and take a closer look at the logs if I'm still having the issue. But I can tell you that the due date doesn't get changed until I save the task. It's as though when it loads the due date to show it, it increments it by one before it displays it. If I change it back to the correct due date before I save any notes or other changes, there is no indication that the due date ever changed.
    • CommentAuthorari
    • CommentTimeDec 17th 2009
     permalink
    Try using firebug or a similar tool and see if the html which loads has the right value in it to begin with, before any javascript runs. If the value is wrong already, then it is Ruby/Rails which is adjusting the date (perhaps in response to a timezone issue). Does the problem happen equally early in the morning and late in the evening?
    • CommentAuthorcanis85
    • CommentTimeDec 18th 2009 edited
     permalink
    Here is the HTML code for the due date, when it is displaying incorrectly (it should be 12/18/2009):

    <label for="task[due_at]">Due Date</label>
    <input class="tooltip" id="due_at" name="task[due_at]" size="12" title="Enter task due date.&lt;br/&gt;For recurring tasks, try:&lt;br/&gt;every day&lt;br/&gt;every thursday&lt;br/&gt;every last friday&lt;br/&gt;every 14 days&lt;br/&gt;every 3rd monday &lt;em&gt;(of a month)&lt;/em&gt;" type="text" value="12/19/2009" /><script type="text/javascript">


    I noticed something more to it. When I load a task for the first time (clicking on it right after logging in), the due date shows correctly. However, after I do something, such as add a note, the displayed due date increments by one day. If I go back to the overview, however, the date still shows as the correct day. Clicking on the task again, it still displays the incorrect due date in the due date field. If I then log out, then log back in, and click on the task, it shows the correct due date again (until I make another change).

    I still have yet to try it with ruby 1.9 and to check the clockingit logs (not really sure which log to check or what to look for...). I have tried it with the default date formatting (d/m/y instead of m/d/y) and it still has the same issue.

    Thanks for continuing to help with this. It's so strange that I'm the only person having this issue... I don't think I've done anything differently or changed anything. I'll let you know as soon as I try it with 1.9 (maybe it's a problem with using ruby 1.8)
    • CommentAuthorari
    • CommentTimeDec 20th 2009
     permalink
    I don't think that 1.9 will help with your problem. But my hunch is that this is something to do with timezones.

    When looking at the html make sure you turn off all javascript to make sure it isn't being altered client side. The task list is a bit broken in Chrome (there is no scroll bar), but I'll look at that over the holidays if I have any spare time.

    Ari
    • CommentAuthoratsakala
    • CommentTimeFeb 19th 2010
     permalink
    I am having this problem as well. When I save the task, it increments by one day.
    • CommentAuthoratsakala
    • CommentTimeFeb 19th 2010
     permalink
    Due date keeps incrementing after i save the task
    • CommentAuthoratsakala
    • CommentTimeFeb 19th 2010
     permalink
    Only increments the task that is currently being saved.
    • CommentAuthorari
    • CommentTimeFeb 20th 2010
     permalink
    If anyone is following this, all further discussion will be here:

    http://github.com/ari/clockingit/issues/#issue/7