项目

一般

简介

插件 » 基于Redmine问题数据的轻量级报表插件 Issue Charts

Issue Charts

该插件通过Chartkick工具,基于issues问题数据创建简单的图形报表。

发布于: https://github.com/masweetman/issue_charts
兼容于: Redmine 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*

最新版本: 1.3.0_4 更新日期: 2024-06-03 16:06

评论

添加评论

huang zequan8 个月 之前添加

我装的是最开始的2.0.0版本,在安装这个插件迁移数据库时,发现了这个报错,查看了信息,我把对应/issue_charts/db/migrate/这个路径下的7个文件中的对应的版本改成了[5.2],最终是能顺利迁移。
我现在是在测试环境测试,但这个如果上线到正式环境后,是否会影响到我其他插件的使用???我看到其他插件中的db/migrate这个路径文件夹的文件中,很多都是指向[4.2]或者为空。
提示报错如下:
执行:rake redmine:plugins:migrate RAILS_ENV=production
报错提示:
<in /usr/src/redmine>
rake aborted
standardError:An error has occurred,all later migrations canceled:
directlu inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class CreateCharts < ActiveRecord::Migration[4.2]
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:528:in `inherited’
/usr/src/redmine/plugins/issue_charts/db/migrate/006_add_issue_status_to_charts.rb:1:in `<top (required)>'
/usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `block in require’
/usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in `load_dependency’
/usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:986:in `load_migration’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:982:in `migration’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:977:in `disable_ddl_transaction’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1350:in `use_transaction?'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1342:in `ddl_transaction’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1263:in `block in migrate_without_lock’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `each’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `migrate_without_lock’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `block in migrate’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1363:in `with_advisory_lock’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `migrate’
/usr/src/redmine/lib/redmine/plugin.rb:542:in `up’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1011:in `migrate’
/usr/src/redmine/lib/redmine/plugin.rb:574:in `migrate_plugin’
/usr/src/redmine/lib/redmine/plugin.rb:515:in `migrate’
/usr/src/redmine/lib/redmine/plugin.rb:529:in `block in migrate’
/usr/src/redmine/lib/redmine/plugin.rb:528:in `each’
/usr/src/redmine/lib/redmine/plugin.rb:528:in `migrate’
/usr/src/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'

Caused by:
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:

class AddIssueStatusToCharts < ActiveRecord::Migration[4.2]
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:528:in `inherited'
/usr/src/redmine/plugins/issue_charts/db/migrate/006_add_issue_status_to_charts.rb:1:in `&lt;top (required)&gt;'
/usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `block in require'
/usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in `load_dependency'
/usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:986:in `load_migration'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:982:in `migration'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:977:in `disable_ddl_transaction'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1350:in `use_transaction?'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1342:in `ddl_transaction'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1263:in `block in migrate_without_lock'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `each'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `migrate_without_lock'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `block in migrate'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1363:in `with_advisory_lock'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `migrate'
/usr/src/redmine/lib/redmine/plugin.rb:542:in `up'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1011:in `migrate'
/usr/src/redmine/lib/redmine/plugin.rb:574:in `migrate_plugin'
/usr/src/redmine/lib/redmine/plugin.rb:515:in `migrate'
/usr/src/redmine/lib/redmine/plugin.rb:529:in `block in migrate'
/usr/src/redmine/lib/redmine/plugin.rb:528:in `each'
/usr/src/redmine/lib/redmine/plugin.rb:528:in `migrate'
/usr/src/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in &lt;top (required)&gt;'
/usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `&lt;top (required)&gt;'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)

guo hongxing8 个月 之前添加

huang zequan 2.0.0 没有适配过 redmine4以上版本

lee Vtophya8 个月 之前添加

【1.3.0_3 】
安装提示这个错误,寻找了各种方法,都不行~
F:\Bitnami\redmine-5.0.3-0\apps\redmine\htdocs>bundle install
Your Gemfile lists the gem redmine_crm (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it’s not a problem now, it could cause errors if you change the version of one of them later.

guo hongxing8 个月 之前添加

While it’s not a problem now, it could cause errors if you change the version of one of them later.

@lee Vtophya 你好,这个提示信息仅是警告,并不是错误信息。它不是issue_charts插件引起的,而且并不影响使用,你可以忽略。如果这些信息下面还包含其它含有'error’字样的信息,可以再贴上来。

wu eddie10 个月 之前添加

redmine在项目页面如何可以隐藏概述中所有成员(即使是分组内成员相互都看不到对方)。

guo hongxing10 个月 之前添加

@wu eddie 可以试下这个方法 https://www.redmineplugins.cn/boards/1/topics/460?r=462#message-462

angel yohhen10 个月 之前添加

可以有偿订制吗?可以的话,回复我一下,留个邮箱给我吧

redmineplugins.cn Admin10 个月 之前添加

@angel yohhen 你好,定制需求可联系邮件至

忍者 火影10 个月 之前添加

表达清楚一点,就是保存的时候就会出现500错误

guo hongxing10 个月 之前添加

@忍者 火影 1.3.0_3 更新修复了

由 匿名用户 在 大约一年 之前添加

提个bug,就是有权限的问题,有些权限不够不应该看到某些图标显示的,但还是能看到

redmineplugins.cn Admin大约一年 之前添加

Issue Charts插件版本和redmine版本分别是多少

redmineplugins.cn Admin大约一年 之前添加

issue_charts插件安装后新增了“查看图表”权限,需要给项目角色赋予正确的权限。另外,评论里不方便上传附件和截图,更详细的现象可以提交到 https://redmineplugins.cn/projects/redmineplugins/issues/new

由 匿名用户 在 大约一年 之前添加

1.3.0_2和redmine的5.0.2

jiang wei大约一年 之前添加

此插件支持定制么?定制费用是多少?

guo hongxing大约一年 之前添加

@jiang wei 你好,可以将具体的定制需求发邮件至

Frank Su大约一年 之前添加

安装后,报错:D:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.8/lib/zeitwerk/loader/helpers.rb:135:in `const_get’: uninitialized constant IssueCharts (NameError)

redmineplugins.cn Admin大约一年 之前添加

@Frank Su 谢谢反馈。这个问题已经修复,新修订的版本已发邮件过去,方便请查收。

guo hongxing大约一年 之前添加

@Frank Su 你好,是redmine5吗? 提交这里方便跟踪 https://redmineplugins.cn/projects/redmineplugins/issues/new

莫 凡大约一年 之前添加

终于兼顾5了

guo hongxing将近 2 年 之前添加

@代 代刚 有些插件下载是需要需要积分的,下载时扫码就可以了

代 代刚将近 2 年 之前添加

感谢。第一次来找插件。不知道积分怎么挣

redmineplugins.cn Admin将近 2 年 之前添加

@tt677666 tt677666 你好,1.3.0_2可以兼容redmine5

tt677666 tt677666将近 2 年 之前添加

辛苦帮忙更新下5.0版本的支持