install page runs queries on table that doesn't exist yet

Bug #1010254 reported by Melissa Draper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Invalid
Low
Unassigned
1.6
Invalid
Undecided
Unassigned

Bug Description

After dropping the database and loading the install page, the following appears many times in postgres logs:

2012-06-08 11:52:33 NZST ERROR: relation "blocktype_installed" does not exist at character 15
2012-06-08 11:52:33 NZST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name

Running queries before the db is built does not seem efficient to me.

Master, postgres

Melissa Draper (melissa)
Changed in mahara:
milestone: none → 1.6.0
importance: Undecided → Low
status: New → Triaged
Changed in mahara:
milestone: 1.6.0 → 1.7.0
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.7.0 → 1.8.0
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.8rc1 → 1.8.0
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Couldn't replicate in 1.6.7, 1.7.3, or 1.8rc2

Changed in mahara:
status: Triaged → Incomplete
milestone: 1.8.0 → 1.6.8
milestone: 1.6.8 → none
Revision history for this message
Robert Lyon (robertl-9) wrote :

Unable to replicate so will close this bug

Changed in mahara:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.