Ticket #10423 (new defect)

Opened 8 months ago

Last modified 8 months ago

Uses schema versions instead of ugly db table existence test

Reported by: hasienda Assigned to: martin_s
Priority: normal Component: WatchlistPlugin
Severity: major Keywords: AttributeError upgrade db
Cc: rjollos Trac Release: 1.0

Description

Plugin's schema version check relies on a depreciated way of plugin db schema version checking. It risks exceptions on execution of the SELECT SQL statement in absence of the corresponding db table in tracwatchlist.db.settings_table_exists.

The issue has been discussed for Trac in t:#10451, after raised for TagsPlugin in #9521.

A working solutions was implemented in [10800:12077], but this is still WiP (see https://groups.google.com/d/topic/trac-dev/jL0LbLvEl-M/discussion as well).

Fixing this will be critical for Trac-1.0 compatibility.

Attachments

Change History

10/03/12 23:33:19 changed by hasienda

  • cc set to rjollos.

I'll have a closer look when working on AnnouncerPlugin again. Feel free to contact me earlier for discussion as needed.


Add/Change #10423 (Uses schema versions instead of ugly db table existence test)




Change Properties
Action