GTG

hamster plugin fails if there is no tags

Bug #407291 reported by Lionel Dricot
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
High
Kevin Mehall

Bug Description

Plugin could check if there are any tags on task. Otherwise it fails when grabbing the first one:

Traceback (most recent call last):
  File "/home/toms/cvs/gtg/GTG/plugins/hamster/hamster.py", line 98, in browser_cb
    self.sendTask(plugin_api.get_selected_task())
  File "/home/toms/cvs/gtg/GTG/plugins/hamster/hamster.py", line 44, in sendTask
    activity=tags[0]
IndexError: list index out of range

Tags: plugins

Related branches

Changed in gtg:
assignee: nobody → Kevin Mehall (kevin-mehall)
importance: Undecided → High
milestone: none → 0.2
status: New → Confirmed
Revision history for this message
Kevin Mehall (kevin-mehall) wrote :

Fixed in my hamster-plugin branch - I set the activity name to "Other" when there are no tags to use

Changed in gtg:
status: Confirmed → Fix Committed
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.