首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >(Redmine)如何用自定义字段修复错误?

(Redmine)如何用自定义字段修复错误?
EN

Stack Overflow用户
提问于 2015-02-05 09:55:22
回答 1查看 1.5K关注 0票数 0

当我试图访问管理选项卡中的自定义字段页(管理->自定义字段-> 500错误)时,出现了一个错误:

代码语言:javascript
运行
复制
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中,我有以下错误:

代码语言:javascript
运行
复制
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

我怎样才能解决这个问题?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-02-06 06:07:15

经过讨论,我们发现插件impasse在DB中保留了自定义字段。删除插件后,Redmine就不能再加载这些自定义字段了。

解决方案:查找不正确的记录(自定义字段是记录!)手动销毁它们。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28340910

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档