Actions
Defect #5738
closedQuery deletion fails : PGError: ERROR: relation "issues_queries" does not exist
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2010-06-23
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
When deleting a self made query, an error page displays saying an "Internal error" occured.
The query is not suppressed.
The log file indicates that a relation is missing:
Processing QueriesController#destroy (for 174.100.84.116 at 2010-06-23 09:15:09) [POST] Session ID: 3ef77f761ee08fd7471431c4c7ba95d8 Parameters: {"action"=>"destroy", "id"=>"8", "controller"=>"queries"} ActiveRecord::StatementInvalid (PGError: ERROR: relation "issues_queries" does not exist : SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = 'issues_queries'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum ...
I'm using Redmine 0.8.4.stable (PostgreSQL) on Fedora 11 (32bits).
Postgres:- postgresql-server-8.3.10-1.fc11.i586
- ruby-postgres-0.7.1-11.fc11.i586
- postgresql-libs-8.3.10-1.fc11.i586
- postgresql-8.3.10-1.fc11.i586
- rubygem-fastthread-1.0.7-1.fc11.i586
- ruby-rdoc-1.8.6.383-4.fc11.i586
- ruby-devel-1.8.6.383-4.fc11.i586
- ruby-postgres-0.7.1-11.fc11.i586
- ruby-irb-1.8.6.383-4.fc11.i586
- ruby-1.8.6.383-4.fc11.i586
- ruby-RMagick-2.12.2-1.fc11.i586
- rubygems-1.3.1-2.fc11.noarch
- ruby-libs-1.8.6.383-4.fc11.i586
Files
Actions