Project

General

Profile

Query deletion failed : Internal error (PGError: ERROR: relation "issues_queries" does not exist)

Added by herbert koelman almost 14 years ago

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

Has anybody solved this issue ?

I'm using Redmine 0.8.4.stable (PostgreSQL)


Replies (1)

RE: Query deletion failed : Internal error (PGError: ERROR: relation "issues_queries" does not exist) - Added by Felix Schäfer almost 14 years ago

Please do not double-post, the forums are a place for the community, especially for installation and usage help, bugs and errors should be reported on the tracker. Closing here in favor of #5738.

    (1-1/1)