GTG

Tag tree is not saved

Bug #582866 reported by Luca Invernizzi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
High
Luca Invernizzi

Bug Description

Now we have tags drag and drop, but the relationships between tags are not saved to the xml file.
Just try to do a drag and drop, and then restart gtg.

ps: this is not due to the last patch about correctly saving tags.xml

Tags: regression

Related branches

Revision history for this message
Luca Invernizzi (invernizzi) wrote :

Information gathered till now:
 tagstore.save() is correctly called, but tags attributes are always empty. set_attribute("parent", something) is never called, and there's a line that bugs me:

self._attributes['parent'] = "We don't care about that value"

Why is that?

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

The only explanation I have is that we were using the children information to build the relationship. Else, I don't know.

Changed in gtg:
assignee: nobody → Luca Invernizzi (invernizzi)
Changed in gtg:
status: Triaged → Fix Committed
Changed in gtg:
milestone: 0.3 → 0.2.9
Izidor Matušov (izidor)
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.