项目

一般

简介

插件 » Redmineup Tags 标签插件

Redmineup Tags

标签是简短的描述性关键字,可帮助您对问题进行组织和分类。

发布于: https://www.redmineup.com/pages/plugins/tags
兼容于: Redmine 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.6.*

最新版本: 2.0.14 更新日期: 2024-02-15 22:55

评论

添加评论

lin alex5 个月 之前添加

想詢問,在查詢issues時,可以加入tags來作為篩選條件,但是突然消失在filter,遇到這種情況要如何解決呢,謝謝~

guo hongxing5 个月 之前添加

@lin alex 可能的原因是tags插件安装异常,例如没有完成插件数据库迁移? 或者插件版本的bug,考虑升级该插件的版本

lin alex5 个月 之前添加

@lin alex 補充一點,使用之前已經設定好的客製化查詢,會顯示找不到issue_tags欄位

XIAO Sam大约 3 年 之前添加

redmineup_tags只支持issue不支持WIKI,
addiotnal_tags支持WIKI和issue

redmineplugins.cn Admin超过 3 年 之前添加

windows的环境变量设置有些不同,参考:

cd D:\Bitnami\redmine\apps\redmine\htdocs\
set RAILS_ENV=production
bundle exec rake redmine:plugins:migrate NAME=redmine_tags

Shangguan Bin超过 3 年 之前添加

不好意思上一条评论加错了,不知道如何删除,我在装这个执行第二条命令不成功,不知道什么原因,提示如下

D:\Bitnami\redmine\apps\redmine\htdocs\plugins>RAILS=production bundle exec rake redmine:plugins:migrate NAME=redmine_tags
'RAILS’ 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\Bitnami\redmine\apps\redmine\htdocs\plugins>bundle exec rake redmine:plugins:migrate NAME=redmine_tags
(in D:/Bitnami/redmine/apps/redmine/htdocs)
rake aborted!
Mysql2::Error::ConnectionError: Access denied for user 'root’@'localhost’ (using password: NO)
D:/Bitnami/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.2-x64-mingw32/lib/mysql2/client.rb:90:in `connect’
D:/Bitnami/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.2-x64-mingw32/lib/mysql2/client.rb:90:in `initialize’
D:/Bitnami/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new’
D:/Bitnami/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection’
D:/Bitnami/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:830:in `new_connection’
D:/Bitnami/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:874:in `checkout_new_connection’

Chen Snowman超过 3 年 之前添加

@xu feng :如果是bitnami环境,在执行操作前先使用use_redmine,然后再执行bundle install操作。 或手动指定libxml2库在bitnami相关目录中的位置,例如:

gem install nokogiri  -- --with-xml2-dir=/opt/redmine-4.1.1-4/common --with-xml2-include=/opt/redmine-4.1.1-4/common/include/libxml2

xu feng超过 3 年 之前添加

执行:bundle install --without development test --no-deployment 失败,提示消息如下:
-----------------------------------------------------------------------------------
Installing nokogiri 1.10.9 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/opt/redmine-4.1.1-4/ruby/lib/ruby/gems/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri
/opt/redmine-4.1.1-4/ruby/bin/ruby -r ./siteconf20200921-12328-18eq3zl.rb extconf.rb
--with-xml2-dir=/opt/redmine-4.1.1-4/common --with-xslt-dir=/opt/redmine-4.1.1-4/common
--with-xml2-include=/opt/redmine-4.1.1-4/common/include/libxml2
--with-xslt-include=/opt/redmine-4.1.1-4/common/include
--with-xml2-lib=/opt/redmine-4.1.1-4/common/lib --with-xslt-lib=/opt/redmine-4.1.1-4/common/lib
checking if the C compiler accepts -I/opt/redmine-4.1.1-4/common/include/ImageMagick
-I/opt/redmine-4.1.1-4/common/include -I/opt/redmine-4.1.1-4/common/include/ImageMagick
-I/opt/redmine-4.1.1-4/common/include ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.4.0
checking for gzdopen() in -lz... yes
checking for iconv... yes ****************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.10
with the following patches applied:
- 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
- 0002-Remove-script-macro-support.patch
- 0003-Update-entities-to-remove-handling-of-ssi.patch
- 0004-libxml2.la-is-in-top_builddir.patch
- 0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch

Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:

gem install nokogiri -- --use-system-libraries
[--with-xml2-config=/path/to/xml2-config]
[--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

bundle config build.nokogiri --use-system-libraries
bundle install
Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors. ****************************************************************
Extracting libxml2-2.9.10.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.10... OK
  • extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers. Check the mkmf.log file for more details. You may
    need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/opt/redmine-4.1.1-4/ruby/bin/$(RUBY_BASE_NAME)
--help
--clean
--use-system-libraries
--enable-static
--disable-static
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--enable-cross-build
--disable-cross-build
/opt/redmine-4.1.1-4/ruby/lib/ruby/gems/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:84:in
`apply_patch': Failed to complete patch task; patch(1) or git(1) is required. (RuntimeError)
from
/opt/redmine-4.1.1-4/ruby/lib/ruby/gems/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:92:in
`block in patch'
from
/opt/redmine-4.1.1-4/ruby/lib/ruby/gems/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:90:in
`each'
from
/opt/redmine-4.1.1-4/ruby/lib/ruby/gems/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:90:in
`patch'
from
/opt/redmine-4.1.1-4/ruby/lib/ruby/gems/2.5.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:152:in
`cook'
from extconf.rb:365:in `block (2 levels) in process_recipe'
from extconf.rb:257:in `block in chdir_for_build'
from extconf.rb:256:in `chdir'
from extconf.rb:256:in `chdir_for_build'
from extconf.rb:364:in `block in process_recipe'
from extconf.rb:262:in `tap'
from extconf.rb:262:in `process_recipe'
from extconf.rb:557:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

/opt/redmine-4.1.1-4/ruby/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0-static/nokogiri-1.10.9/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in
/opt/redmine-4.1.1-4/ruby/lib/ruby/gems/2.5.0/gems/nokogiri-1.10.9 for inspection.
Results logged to
/opt/redmine-4.1.1-4/ruby/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0-static/nokogiri-1.10.9/gem_make.out

An error occurred while installing nokogiri (1.10.9), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.10.9' --source 'https://rubygems.org/'` succeeds before
bundling.

In Gemfile:
rails was resolved to 5.2.4.2, which depends on
actioncable was resolved to 5.2.4.2, which depends on
actionpack was resolved to 5.2.4.2, which depends on
actionview was resolved to 5.2.4.2, which depends on
rails-dom-testing was resolved to 2.0.3, which depends on
nokogiri
bash-4.2#

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

@程 时森 ,select_to_select2插件冲突的问题已经解决了,方案见问题跟踪 #41

程 时森将近 4 年 之前添加

请问和select_to_select2插件冲突的问题,有解决办法吗

He Hao将近 4 年 之前添加

按照您的方法问题解决了,非常感谢!

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

我看了下的确是与redmine_issues_tree插件冲突,我把解决方案放到这里了 https://redmineplugins.cn/issues/33

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

不是redmine_issues_tree 冲突的问题,是redmineup_tags插件与redmine4.* 不兼容的问题。我已经修复好了,去下载2.0.8_兼容版, 下载地址 https://redmineplugins.cn/projects/1/plugin_blocks/7?tab=changelog

He Hao将近 4 年 之前添加

又发现一个新的问题,和redmine_issues_tree这个插件有冲突,redmine_issues_tree的树状视图功能不能用,log错误如下:

Started GET "/projects/test/issues_trees/tree_index?c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=subject&c%5B%5D=assigned_to&c%5B%5D=updated_on&c%5B%5D=start_date&c%5B%5D=due_date&c%5B%5D=estimated_hours&c%5B%5D=total_spent_hours&c%5B%5D=closed_on&f%5B%5D=status_id&f%5B%5D=tracker_id&f%5B%5D=&group_by=&op%5Bstatus_id%5D=o&op%5Btracker_id%5D=%3D&project_id=test&set_filter=1&sort=id%3Adesc&t%5B%5D=&v%5Btracker_id%5D%5B%5D=1” for 192.168.246.1 at 2020-04-24 11:42:02 +0800
Processing by IssuesTreesController#tree_index as HTML
Parameters: {“c"⇒[“tracker”, “status”, “subject”, “assigned_to”, “updated_on”, “start_date”, “due_date”, “estimated_hours”, “total_spent_hours”, “closed_on”], “f"⇒[“status_id”, “tracker_id”, “”], “group_by"⇒“”, “op"⇒{“status_id"⇒“o”, “tracker_id"⇒“=“}, “project_id"⇒“test”, “set_filter"⇒“1”, “sort"⇒“id:desc”, “t"⇒[“”], “v"⇒{“tracker_id"⇒[“1”]}}
Current user: admin (id=1)
Rendering plugins/redmine_issues_tree/app/views/issues_trees/tree_index.html.erb within layouts/base
Rendered plugins/redmine_issues_tree/app/views/issues_trees/_link_to_plain_view.html.haml (0.7ms)
Rendered queries/_filters.html.erb (7.2ms)
Rendered queries/_columns.html.erb (1.5ms)
Rendered plugins/redmine_issues_tree/app/views/issues_trees/_query_form.html.erb (10.3ms)
Rendered plugins/redmine_issues_tree/app/views/issues_trees/_tree_node.html.erb (6.9ms)
Rendered plugins/redmine_issues_tree/app/views/issues_trees/_tree_node.html.erb (2.3ms)
Rendered plugins/redmine_issues_tree/app/views/issues_trees/_tree_list.html.erb (19.1ms)
Rendered plugins/redmine_issue_templates/app/views/issue_templates/_issue_template_link.html.erb (0.8ms)
Rendered plugins/redmineup_tags/app/views/issues/_tags_sidebar.html.erb (119.6ms)
Rendered issues/_sidebar.html.erb (121.3ms)
Rendered plugins/redmine_issues_tree/app/views/issues_trees/tree_index.html.erb within layouts/base (158.7ms)
Completed 500 Internal Server Error in 202ms (ActiveRecord: 11.4ms)

ActionView::Template::Error (undefined local variable or method `sidebar_tags’ for #<#<Class:0x0000000008ac23c8>:0x00007f98e1834a88>
Did you mean? sidebar_queries):
1: <% unless sidebar_tags.empty? -%>
2: <div class=“sidebar-tags">
3: <h3><%= l(:tags) %></h3>
4: <%= render_sidebar_tags %>

plugins/redmineup_tags/app/views/issues/_tags_sidebar.html.erb:1:in `_59e8265fab4a397e8d71f3e2d1f6e585’
lib/redmine/hook/view_listener.rb:59:in `block (2 levels) in render_on’
lib/redmine/hook/view_listener.rb:57:in `map’
lib/redmine/hook/view_listener.rb:57:in `block in render_on’
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook’
lib/redmine/hook.rb:61:in `each’
lib/redmine/hook.rb:61:in `block in call_hook’
lib/redmine/hook.rb:58:in `tap’
lib/redmine/hook.rb:58:in `call_hook’
lib/redmine/hook.rb:96:in `call_hook’
app/views/issues/_sidebar.html.erb:15:in `_7ab9350bb7ef4209021109e48bd4f411’
plugins/redmine_issues_tree/app/views/issues_trees/tree_index.html.erb:48:in `block in _2720a029560febe03e46393b43296150’
plugins/redmine_issues_tree/app/views/issues_trees/tree_index.html.erb:47:in `_2720a029560febe03e46393b43296150’
lib/redmine/sudo_mode.rb:63:in `sudo_mode’

He Hao将近 4 年 之前添加

找到原因了,和select_to_select2插件冲突了,卸载这个插件就可以用了

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

看不到具体的现象,估计是插件安装不完整,请尝试再执行下 bundle install ,确保当前redmine安装了 redmine_crm.gem

He Hao将近 4 年 之前添加

我的4.0.7安装这个插件有点问题,不能增加标签。这里有个独立运行版好像又不能安装