Menu

Bug with persistant Project ID

Help
2009-06-03
2013-04-23
  • James Hardy

    James Hardy - 2009-06-03

    Hi, First off, I want to thank you for creating this tool, it seems like a really useful way to log time against redmine projects without needing to keep a separate stopwatch and convert from sexagesimal fractions of an hour to decimal fractions of an hour. Having said that there does seem to be a bug which for me is a bit of a show stopper.

    We have multiple projects on our Redmine server. When I use Redmine Client, it successfully connects to the server and retrieves the list of projects. The first alphabetically (which has the ID 6) is selected by default. When I change project the list updates with the correct list of tasks. I can perform all the stages to log a task and when I hit commit the "Ready to commit?" dialogue box appears. Unfortunately, no matter which project I pick, it always shows "Project: 6". The rest of the variables are updated correctly. I have checked with the server logs and it appears that it sends the incorrect project ID too (see the instances of 6 below - these should have been 1)

    Processing TimelogController#edit (for 192.168.201.108 at 2009-06-03 18:03:06) [POST]
      Session ID: 2c363739c85442aa7c03a752ea939485
      Parameters: {"time_entry"=>{"comments"=>"test", "issue_id"=>"3", "activity_id"=>"8", "spent_on"=>"2009-06-02", "hours"=>"0.13"}, "back_url"=>"https://devserver/projects/{0}/timelog/edit", "commit"=>"Save", "project_id"=>"6", "action"=>"edit", "controller"=>"timelog"}
    Rendering template within layouts/base
    Rendering timelog/edit
    Completed in 0.06011 (16 reqs/sec) | Rendering: 0.04103 (68%) | DB: 0.00829 (13%) | 200 OK [https://devserver/projects/6/timelog/edit]

    The unfortunate consequence of this is that attempting to log time against any project other than the first alphabetically fails silently (the message box states that it was logged successfully, but it doesn't show when viewing time spent for that task).

    Could a solution be found for this?

    Regards,

    James Hardy

     
    • Nohal

      Nohal - 2009-06-03

      Hi James,
      excellent report, I would be more than happy if everyone reported bugs like you do. This one should be easy to fix and as the features I want for the next release are almost complete as well I will released it pretty soon.

      Cheers

      Pavel

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.