← Back to team overview

zeitgeist team mailing list archive

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

 

Public bug reported:

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.

** Affects: zeitgeist
     Importance: Undecided
         Status: New

-- 
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: New

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.





Follow ups

References