Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#5 closed defect (fixed)

Detect wrong database schema

Reported by: Dominic Hargreaves Owned by: Dominic Hargreaves
Priority: major Milestone:
Component: wiki-toolkit-plugin-categoriser Version:
Keywords: Cc:

Description

If I try to access an old-style database with Wiki::Toolkit in OpenGuides? I get:

DBD::mysql::db selectrow_array failed: Unknown column 'content.moderated' in 'field list' at /usr/share/perl5/Wiki/Toolkit/Store/Database.pm line 269.

Wiki::Toolkit should detect an old database and give us a friendly error message.

Change History (5)

comment:1 Changed 14 years ago by nick

Would you want a check when you new the Wiki::Toolkit database instance? It's a database hit we currently don't do, but hopefully not too big a performance hit.

We could easily check the schema version at this point, and bail out if it's not ours.

comment:2 Changed 14 years ago by Dominic Hargreaves

Milestone: 0.70

comment:3 Changed 14 years ago by Dominic Hargreaves

Resolution: fixed
Status: newclosed

(In [304]) Check for the schema version before trying to use the database (closes #5)

comment:4 Changed 13 years ago by anonymous

Component: wiki-toolkitwiki-toolkit-plugin-diff
Milestone: 0.70
Priority: majortrivial
Type: defectenhancement
Version: svn2.0

computer desk help iv iv iv iv job strong broadband internet australia auto cad architectural block pussy squirting cunt ejaculation female big tit round ass .com dc youth shoes agency asian marriage 8 bon jovi live bc auto wrecker los angeles nanny job circle of love ornament die form akuma iii blank jones mr sam vs tim coltrane pres the tribute one more day mr sam vs fred baker rmx granny mature very indie rock n roll 2.4 baby monitor love me better im gonna stick with you forever lyrics car audio and electronics magazine illinois auto accident attorney top 10 online poker roomsmarriage registry new york nebraska lottery bank cyprus group offshore offshore university of kentucky dance team windows 2003 security event logging fiction lyric pulp soundtrack man wooden jewelry box design estate real software web dvorak keyboard layout page site home design program online wedding shop glasgow 14 inch lcd monitor cub scout bird house kit магазин галерея мебели anne klein new watch york serie spyware cleaner destination dominican republic wedding creedence clearwater revival its just a thought picture of nude black man free pink floyd mp3 asian dating lady dating francisco gay san soundtracks movies sunny day real estate 8 auto accident attorney ny how to start my own gift basket business barn wedding venue finance accounting recruiter slamdunk manga download bisexual love quiz teenager 19 lcd widescreen monitor

comment:5 Changed 13 years ago by anonymous

Component: wiki-toolkit-plugin-diffwiki-toolkit-plugin-categoriser
Priority: trivialmajor
Type: enhancementdefect
Version: 2.0

computer desk help iv iv iv iv job strong broadband internet australia auto cad architectural block pussy squirting cunt ejaculation female big tit round ass .com dc youth shoes agency asian marriage 8 bon jovi live bc auto wrecker los angeles nanny job circle of love ornament die form akuma iii blank jones mr sam vs tim coltrane pres the tribute one more day mr sam vs fred baker rmx granny mature very indie rock n roll 2.4 baby monitor love me better im gonna stick with you forever lyrics car audio and electronics magazine illinois auto accident attorney top 10 online poker roomsmarriage registry new york nebraska lottery bank cyprus group offshore offshore university of kentucky dance team windows 2003 security event logging fiction lyric pulp soundtrack man wooden jewelry box design estate real software web dvorak keyboard layout page site home design program online wedding shop glasgow 14 inch lcd monitor cub scout bird house kit магазин галерея мебели anne klein new watch york serie spyware cleaner destination dominican republic wedding creedence clearwater revival its just a thought picture of nude black man free pink floyd mp3 asian dating lady dating francisco gay san soundtracks movies sunny day real estate 8 auto accident attorney ny how to start my own gift basket business barn wedding venue finance accounting recruiter slamdunk manga download bisexual love quiz teenager 19 lcd widescreen monitor

Note: See TracTickets for help on using tickets.