zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #01061
[Bug 587545] Re: core_0_1 upgrade script's table columns are reversed
** Changed in: zeitgeist
Assignee: (unassigned) => Mikkel Kamstrup Erlandsen (kamstrup)
** Changed in: zeitgeist
Importance: Undecided => Critical
** Changed in: zeitgeist
Status: New => Triaged
** Changed in: zeitgeist
Milestone: None => 0.3.4
--
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: Triaged
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