Ticket #722 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

0.9 branch version of plugin is broken for database upgrade during install process

Reported by: moses@moseshohman.com Assigned to: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

When you backported updates for 0.10 into the 0.9 version of the plugin, you also inadvertently introduced code that doesn't exist in Trac 0.9, namely the DatabaseManager? class. So, files db/db1.py and db/db2.py need to be rolled back. Also, what version of sqlite do you assume? I am having trouble even getting the old updates to work.

Attachments

Change History

09/18/06 11:36:37 changed by Blackhex

  • status changed from new to closed.
  • resolution set to fixed.

I don't know how this could happen :-). Fixed in changeset 1276. Sqlite shoud be version 3 which supports ALTER TABLE ADD COLUMN statement. If you are experiencing problems make sure your pysqlite is using sqlite version 3. If there will be still problems, I could make plugin not use this statement.

09/19/06 05:00:47 changed by moses@mseshohman.com

Hey, updating to pysqlite version 3 fixed my other problems, thanks for the fix and the help.

09/19/06 05:02:31 changed by moses@moseshohman.com

One more thing: it doesn't look like changeset:1276 has rollbacks for db1.py and db2.py

09/19/06 10:54:18 changed by Blackhex

I made two consecutive changesets 1275 and 1276 because I forgot to delete that trac.util.html include.


Add/Change #722 (0.9 branch version of plugin is broken for database upgrade during install process)




Change Properties
Action