当我试图访问管理选项卡中的自定义字段页(管理->自定义字段-> 500错误)时,出现了一个错误:
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
在production.log中,我有以下错误:
Started GET "/custom_fields" for ip at 2015-02-05 09:33:42 +0000
Processing by CustomFieldsController#index as HTML
Current user: user (id=1)
Completed 500 Internal Server Error in 8.0ms
ActiveRecord::SubclassNotFound (The single-table inheritance mechanism failed to locate the subclass: 'Impasse::ExecutionCustomField'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite CustomField.inheritance_column to use another column for that information.):
app/controllers/custom_fields_controller.rb:29:in `block (2 levels) in index'
app/controllers/custom_fields_controller.rb:27:in `index'
我还安装了几个插件:
RedmineCRM (轻型版本) Scrum和用于Redmine http://redminecrm.com RedmineCRM 1.3.5配置的敏捷项目管理插件
红矿山核对表插件(轻型版本)这是一个问题清单插件,红矿山http://redminecrm.com RedmineCRM 3.0.2配置
支持tags/ Aleksey V Zapparov "ixti“2.0.1dev配置的支持
Redmine调整Wiki和内容扩展tweaks AlphaNodes GmbH 0.4.9配置
红矿山Wiki扩展插件这是一个Wiki扩展插件,用于Redmine en Haruyuki Iida 0.6.4
红矿山工作时间插件--由每个用户TimeEntry查看和更新http://www.r-labs.org/projects/worktime的插件
我检查了所有这些插件的清洁红矿安装,这是正确的工作,没有任何冲突。红矿山版本- 2.6.0
我怎样才能解决这个问题?
发布于 2015-02-06 06:07:15
经过讨论,我们发现插件impasse
在DB中保留了自定义字段。删除插件后,Redmine就不能再加载这些自定义字段了。
解决方案:查找不正确的记录(自定义字段是记录!)手动销毁它们。
https://stackoverflow.com/questions/28340910
复制相似问题