Closed pkoevesdi closed 1 year ago
Hi @pkoevesdi,
make sure you use latest version of additional_tags AND additionals, if you use the main branch. This should fix your problem. Or use stable branches of both plugins.
Both plugins are on branch stable, up-to-date (git pull
ed) and show version 3.0.9. Server is restarted.
Btw, already when clicking into the tags field of an issue, I see this in /var/log/redmine/default/production.log
:
I, [2023-11-22T16:38:54.190728 #46834] INFO -- : [76902714-a6e2-4659-ae90-4c86765d46f1] Started GET "/auto_completes/issue_tags?q=" for 10.172.11.80 at 2023-11-22 16:38:54 +0100
I, [2023-11-22T16:38:54.192707 #46834] INFO -- : [76902714-a6e2-4659-ae90-4c86765d46f1] Processing by AutoCompletesController#issue_tags as JSON
I, [2023-11-22T16:38:54.192875 #46834] INFO -- : [76902714-a6e2-4659-ae90-4c86765d46f1] Parameters: {"q"=>""}
I, [2023-11-22T16:38:54.200087 #46834] INFO -- : [76902714-a6e2-4659-ae90-4c86765d46f1] Current user: p.koevesdi (id=5)
I, [2023-11-22T16:38:54.203201 #46834] INFO -- : [76902714-a6e2-4659-ae90-4c86765d46f1] Completed 500 Internal Server Error in 10ms (ActiveRecord: 2.5ms | Allocations: 1633)
F, [2023-11-22T16:38:54.204461 #46834] FATAL -- : [76902714-a6e2-4659-ae90-4c86765d46f1]
[76902714-a6e2-4659-ae90-4c86765d46f1] Array::ArrayRowIsNotAHash (Array::ArrayRowIsNotAHash):
[76902714-a6e2-4659-ae90-4c86765d46f1]
[76902714-a6e2-4659-ae90-4c86765d46f1] plugins/additional_tags/lib/additional_tags/tags.rb:149:in `table_columns'
[76902714-a6e2-4659-ae90-4c86765d46f1] plugins/additional_tags/lib/additional_tags/tags.rb:35:in `available_tags'
[76902714-a6e2-4659-ae90-4c86765d46f1] plugins/additional_tags/lib/additional_tags/patches/issue_patch.rb:49:in `available_tags'
[76902714-a6e2-4659-ae90-4c86765d46f1] plugins/additional_tags/lib/additional_tags/patches/auto_completes_controller_patch.rb:15:in `issue_tags'
[76902714-a6e2-4659-ae90-4c86765d46f1] lib/redmine/sudo_mode.rb:61:in `sudo_mode'
Hey, nice, switched both additionals
and additional_tags
to branch main
, now it works.
After installing this plugin (seemingly successful) I get an internal server error as soon as I try to view the sidebar with "show tags in sidebar" enabled. If I switch that off, I can at least view the redmine pages again, but still I cannot add any new tags (permissons on the groups and roles page are set). It says "The results cannot be loaded". In the database the
additional_taggings
andadditional_tags
tables are there and empty. This is the content of the log when having the mentioned internal server error: