Closed hello2jack closed 8 years ago
Looks like one of the plugin redefine a default template issues/index
. Similar problem appear in #16. So, you must look on all your plugin, find all redefinition of this template, select last of them (according with order of plugin loading) and add a hooks into it. List of hooks you can find in ReadMe of plugin and/or in source code.
And sorry, but there is no good or universal way of solution of this problem. This is Redmine.
Hi @Loriowar , thanks for your suggest, but i don't know how to fix it. :(
Strange... Absence of links can happen only in two cases: broken mechanism of the Redmine hooks or multiple redefinition of the template. On pure Redmine 3.0.7 plugin works perfect. So, need more information about your installation or any other help in investigation. Anyway, I'll be glad to fix it and make a plugin better.
If you use a custom sequence of loading plugin, please, show me this sequence.
Hi @Loriowar , i find out the problem, is plugin compatibility issue, after remove http://rmplus.pro/ "extra_queries 2.0.3", the Issue Tree will be work fine.
Yea, I see. Extra_queries redefine a template issue/index
. This template located in extra_query/app/views/extra_queries/issues/index.html.erb
. So, you must add two hooks from redmine_issues_tree/app/views/issues/index.html.erb
. Look at rows inside my plugin which commented as follows
<%# issues_tree patch %>
...
<%# end patch %>
And add them into extra_queries
template into proper places. This will solve problem with "tree view" icon. But remember, what you can't see extended variant of issue queries on tree view page. There appear default variant of queries.
So, if you want use advantages of both plugins, you need to find someone who will write new plugin, based on "extra_queries" and "redmine_issues_tree". Redmine is absolutely nonflexible system in case of extensions especially in plugins compatibility.
After update to Redmine version 3.0.7, can't not show Tree View icon in the issue tab.
Environment:
SCM:
Redmine plugins: