← Back to team overview

zeitgeist team mailing list archive

[Bug 587545] Re: core_0_1 upgrade script's table columns are reversed

 

** Changed in: zeitgeist
    Milestone: 0.3.4 => 0.4.0

-- 
core_0_1 upgrade script's table columns are reversed
https://bugs.launchpad.net/bugs/587545
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Fix Released

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.





References