kenandervisevic / redmine_issue_view_columns

Redmine plugin to customize shown columns in subtasks and related issues on issue page
GNU General Public License v2.0
12 stars 7 forks source link

redmine 5.0 #13

Open ashrafalzyoud opened 2 years ago

ashrafalzyoud commented 2 years ago

can u update it to redmine 5.0

san199332 commented 2 years ago

can u update it to redmine 5.0

Hello. Try my patched version of the plugin: https://github.com/san199332/redmine_issue_view_columns

Works in redmine 5.0.X

cathychien commented 1 year ago

@san199332 Thank you! It's very helpful

ashrafalzyoud commented 10 months ago

can u check it in redmine 5.1.1

[4859389e-ef9f-4067-b13a-6024649f13db] NoMethodError (undefined method `ident=' for #<IssueViewColumns id: nil, project_id: 1, name: nil, position: nil>):
[4859389e-ef9f-4067-b13a-6024649f13db]   
[4859389e-ef9f-4067-b13a-6024649f13db] plugins/redmine_issue_view_columns/app/controllers/issue_view_columns_controller.rb:22:in `block in update'
[4859389e-ef9f-4067-b13a-6024649f13db] plugins/redmine_issue_view_columns/app/controllers/issue_view_columns_controller.rb:16:in `each'
[4859389e-ef9f-4067-b13a-6024649f13db] plugins/redmine_issue_view_columns/app/controllers/issue_view_columns_controller.rb:16:in `update'
[4859389e-ef9f-4067-b13a-6024649f13db] lib/redmine/sudo_mode.rb:61:in `sudo_mode
ashrafalzyoud commented 10 months ago

mr @san199332

ashrafalzyoud commented 10 months ago

In redmine 5.1 It's working in one level If task-subtask But if there 3 level Task-subtask -subtask Not working @san199332

ashrafalzyoud commented 9 months ago

Any update @san199332

san199332 commented 9 months ago

In redmine 5.1 It's working in one level If task-subtask But if there 3 level Task-subtask -subtask Not working @san199332

Thanks, I'll check it later and make a correction.

san199332 commented 9 months ago

In redmine 5.1 It's working in one level If task-subtask But if there 3 level Task-subtask -subtask Not working @san199332

I can't reproduce the error, please send me a video. image

ashrafalzyoud commented 9 months ago

This pic in redmine 5.1?!

san199332 commented 9 months ago

This pic in redmine 5.1?!

Environment:
  Redmine version                5.1.1.stable
  Ruby version                   3.1.2-p20 (2022-04-12) [x86_64-linux]
  Rails version                  6.1.7.6
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
ashrafalzyoud commented 9 months ago

uninitialized constant IssueViewColumns::ProjectHelperPatch (NameError) /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/helpers.rb:135:inconst_get' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/helpers.rb:135:in cget' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/eager_load.rb:175:inblock in actual_eager_load_dir' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/helpers.rb:40:in block in ls' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/helpers.rb:25:ineach' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/helpers.rb:25:in ls' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/eager_load.rb:170:inactual_eager_load_dir' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/eager_load.rb:17:in block (2 levels) in eager_load' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/eager_load.rb:16:ineach' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/eager_load.rb:16:in block in eager_load' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/eager_load.rb:10:insynchronize' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader/eager_load.rb:10:in eager_load' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader.rb:379:inblock in eager_load_all' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader.rb:377:in each' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/loader.rb:377:ineager_load_all' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/application/finisher.rb:80:in block in <module:Finisher>' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/initializable.rb:32:ininstance_exec' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/initializable.rb:32:in run' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/initializable.rb:61:inblock in run_initializers' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/3.2.0/tsort.rb:228:in block in tsort_each' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/3.2.0/tsort.rb:350:inblock (2 levels) in each_strongly_connected_component' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/3.2.0/tsort.rb:431:in each_strongly_connected_component_from' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/3.2.0/tsort.rb:349:inblock in each_strongly_connected_component' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/3.2.0/tsort.rb:347:in each' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/3.2.0/tsort.rb:347:incall' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/3.2.0/tsort.rb:347:in each_strongly_connected_component' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/3.2.0/tsort.rb:226:intsort_each' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/3.2.0/tsort.rb:205:in tsort_each' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/initializable.rb:60:inrun_initializers' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/application.rb:423:in initialize!' /home/redmine/redmine/config/environment.rb:16:in<top (required)>' config.ru:3:in require_relative' config.ru:3:inblock in

' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/rack-3.0.8/lib/rack/builder.rb:118:in instance_eval' /home/redmine/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/rack-3.0.8/lib/rack/builder.rb:118:ininitialize' config.ru:1:in new' config.ru:1:in
' /usr/share/passenger/helper-scripts/rack-preloader.rb:101:in eval' /usr/share/passenger/helper-scripts/rack-preloader.rb:101:inpreload_app' /usr/share/passenger/helper-scripts/rack-preloader.rb:189:in block in <module:App>' /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:397:inrun_block_and_record_step_progress' /usr/share/passenger/helper-scripts/rack-preloader.rb:188:in <module:App>' /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in' /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in <main>'

ashrafalzyoud commented 9 months ago

@san199332 plz check this error

ashrafalzyoud commented 9 months ago

https://github.com/sk-ys/redmine_subtask_list_accordion/tree/master can u try this plugin