Hello, I'm running the last version of Redmine. The last version of the plugin, and the last version of connector.
Getting project works fine. But I've got these errors when i'm trying to load tasks :
Started GET "/microsoft_project_connector/settings?project_id=6&set_filter=1&f%5B%5D=status_id&op%5Bstatus_id%5D=*&limit=100&sort%5B0%5D%5B%5D=id&sort%5B0%5D%5B%5D=desc" for xxxxxxxxxxx at 2023-11-28 09:48:38 +0000 I, [2023-11-28T09:48:38.894776 #1] INFO -- : Processing by MicrosoftProjectConnectorController#settings as TEXT I, [2023-11-28T09:48:38.894878 #1] INFO -- : Parameters: {"project_id"=>"6", "set_filter"=>"1", "f"=>["status_id"], "op"=>{"status_id"=>"*"}, "limit"=>"100", "sort"=>{"0"=>["id", "desc"]}} I, [2023-11-28T09:48:38.901624 #1] INFO -- : Current user: xxxxxxxx (id=12) I, [2023-11-28T09:48:38.973024 #1] INFO -- : Completed 500 Internal Server Error in 78ms (ActiveRecord: 22.1ms | Allocations: 19923) F, [2023-11-28T09:48:38.975307 #1] FATAL -- : NoMethodError (undefined methodinclude?' for nil:NilClass
plugins/microsoft_project_connector/app/controllers/microsoft_project_connector_controller.rb:112:in block in settings' plugins/microsoft_project_connector/app/controllers/microsoft_project_connector_controller.rb:112:inselect'
plugins/microsoft_project_connector/app/controllers/microsoft_project_connector_controller.rb:112:in settings' lib/redmine/sudo_mode.rb:61:insudo_mode'
I, [2023-11-28T09:49:25.711280 #1] INFO -- : Started GET "/microsoft_project_connector?client_version=1.0.22.0&project_id=35" for xxxxxxxxxx at 2023-11-28 09:49:25 +0000
I, [2023-11-28T09:49:25.712677 #1] INFO -- : Processing by MicrosoftProjectConnectorController#index as HTML
I, [2023-11-28T09:49:25.712771 #1] INFO -- : Parameters: {"client_version"=>"1.0.22.0", "project_id"=>"35"}
I, [2023-11-28T09:49:25.719085 #1] INFO -- : Current user: xxxxxxx (id=12)
I, [2023-11-28T09:49:25.801070 #1] INFO -- : Rendered plugins/microsoft_project_connector/app/views/microsoft_project_connector/index.html.erb within layouts/msc_base (Duration: 68.2ms | Allocations: 27205)
I, [2023-11-28T09:49:25.801173 #1] INFO -- : Rendered layout plugins/microsoft_project_connector/app/views/layouts/msc_base.html.erb (Duration: 68.4ms | Allocations: 27232)
I, [2023-11-28T09:49:25.801408 #1] INFO -- : Completed 500 Internal Server Error in 89ms (ActiveRecord: 26.5ms | Allocations: 30542)
F, [2023-11-28T09:49:25.802912 #1] FATAL -- :
ActionView::Template::Error (comparison of NilClass with 0 failed):
80:
<%=l(:field_column_names)%>
81:
82:
83: <% available_mapped_columns(@query).each do |c| %>
84:
Hello, I'm running the last version of Redmine. The last version of the plugin, and the last version of connector.
Getting project works fine. But I've got these errors when i'm trying to load tasks :
Started GET "/microsoft_project_connector/settings?project_id=6&set_filter=1&f%5B%5D=status_id&op%5Bstatus_id%5D=*&limit=100&sort%5B0%5D%5B%5D=id&sort%5B0%5D%5B%5D=desc" for xxxxxxxxxxx at 2023-11-28 09:48:38 +0000 I, [2023-11-28T09:48:38.894776 #1] INFO -- : Processing by MicrosoftProjectConnectorController#settings as TEXT I, [2023-11-28T09:48:38.894878 #1] INFO -- : Parameters: {"project_id"=>"6", "set_filter"=>"1", "f"=>["status_id"], "op"=>{"status_id"=>"*"}, "limit"=>"100", "sort"=>{"0"=>["id", "desc"]}} I, [2023-11-28T09:48:38.901624 #1] INFO -- : Current user: xxxxxxxx (id=12) I, [2023-11-28T09:48:38.973024 #1] INFO -- : Completed 500 Internal Server Error in 78ms (ActiveRecord: 22.1ms | Allocations: 19923) F, [2023-11-28T09:48:38.975307 #1] FATAL -- : NoMethodError (undefined method
include?' for nil:NilClassplugins/microsoft_project_connector/app/controllers/microsoft_project_connector_controller.rb:112:in
block in settings' plugins/microsoft_project_connector/app/controllers/microsoft_project_connector_controller.rb:112:in
select' plugins/microsoft_project_connector/app/controllers/microsoft_project_connector_controller.rb:112:insettings' lib/redmine/sudo_mode.rb:61:in
sudo_mode' I, [2023-11-28T09:49:25.711280 #1] INFO -- : Started GET "/microsoft_project_connector?client_version=1.0.22.0&project_id=35" for xxxxxxxxxx at 2023-11-28 09:49:25 +0000 I, [2023-11-28T09:49:25.712677 #1] INFO -- : Processing by MicrosoftProjectConnectorController#index as HTML I, [2023-11-28T09:49:25.712771 #1] INFO -- : Parameters: {"client_version"=>"1.0.22.0", "project_id"=>"35"} I, [2023-11-28T09:49:25.719085 #1] INFO -- : Current user: xxxxxxx (id=12) I, [2023-11-28T09:49:25.801070 #1] INFO -- : Rendered plugins/microsoft_project_connector/app/views/microsoft_project_connector/index.html.erb within layouts/msc_base (Duration: 68.2ms | Allocations: 27205) I, [2023-11-28T09:49:25.801173 #1] INFO -- : Rendered layout plugins/microsoft_project_connector/app/views/layouts/msc_base.html.erb (Duration: 68.4ms | Allocations: 27232) I, [2023-11-28T09:49:25.801408 #1] INFO -- : Completed 500 Internal Server Error in 89ms (ActiveRecord: 26.5ms | Allocations: 30542) F, [2023-11-28T09:49:25.802912 #1] FATAL -- :ActionView::Template::Error (comparison of NilClass with 0 failed): 80:
<%=l(:field_column_names)%>
81:plugins/microsoft_project_connector/app/helpers/microsoft_project_connector_helper.rb:365:in
sort_by' plugins/microsoft_project_connector/app/helpers/microsoft_project_connector_helper.rb:365:in
sort_by!' plugins/microsoft_project_connector/app/helpers/microsoft_project_connector_helper.rb:365:inavailable_mapped_columns' plugins/microsoft_project_connector/app/views/microsoft_project_connector/index.html.erb:83:in
_e4bb1ec1dd61c47d3a2266ccc837853f' lib/redmine/sudo_mode.rb:61:insudo_mode'
Thanks for the work on this plugin