core_0_1 upgrade script's table columns are reversed

Bug #587545 reported by Randal Barlow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Critical
Mikkel Kamstrup Erlandsen

Bug Description

The table which the core_0_1 update script uses seems to be setting the values backwards. For example it calls:
cursor.execute("UPDATE interpretation SET value=? WHERE value=?", r)

where r is equal to:
("http://www.semanticdesktop.org/ontologies/nfo/#FileDataObject", "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject")

The first value in the tuple was what 0.3.3.1 uses, the second is what the new ontology uses. So it is converting the new ontology to the old ontology, which I imagine is not the desired effect.

Related branches

Changed in zeitgeist:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Critical
status: New → Triaged
milestone: none → 0.3.4
Changed in zeitgeist:
status: Triaged → Fix Committed
Changed in zeitgeist:
status: Fix Committed → Fix Released
Changed in zeitgeist:
milestone: 0.3.4 → 0.4.0
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.