Bug #426
openNo Issues found in Ticket Logger
Description
In my new setup I don't get any results from the ticket logger, when I click on the button "No Issues" appears immediately
I've already compared the settings to my old system and can't find any differences...
Old system uses wktime 4.3 on Redmine 4.2.1
New system is wktime 4.5 with Redmine 4.2.5
Files
Updated by Carsten Stanusch over 1 year ago
Here i got the error description:
Started GET "/wktime/get_issue_loggers?autocomplete=true&q=99" for 127.0.0.1 at 2022-04-02 17:50:37 +0000
Processing by WktimeController#get_issue_loggers as */*
Parameters: {"autocomplete"=>"true", "q"=>"99"}
Current user: CaSt (id=5)
Completed 500 Internal Server Error in 30ms (ActiveRecord: 10.5ms)
NoMethodError (undefined method `where' for []:Array
Did you mean? when):
plugins/redmine_wktime/app/controllers/wktime_controller.rb:575:in `block (2 levels) in getissues'
plugins/redmine_wktime/app/controllers/wktime_controller.rb:558:in `getissues'
plugins/redmine_wktime/app/controllers/wktime_controller.rb:631:in `get_issue_loggers'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
Updated by Dhanasingh Krishnapandian over 1 year ago
- Assignee set to Arun T
- Target version set to 4.6
Updated by dhanalakshmi c over 1 year ago
ok, we will take a look.
you can also start and stop the task using the mobile app, have you seen that ?
google play link https://play.google.com and app store link https://play.google.com/store/apps/details?id=com.erpmine
Updated by Arun T over 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
completed.
Updated by dhanalakshmi c over 1 year ago
This issue is fixed in 4.6. 4.6 is released, Please take a look.
Updated by Carsten Stanusch over 1 year ago
Hi, i still get no issues back...but also no error, only this at info:
I, [2022-06-13T12:37:25.320063 #358] INFO -- : [ee2924a3-6183-442e-88da-5f551fb4a6ff] Started GET "/wktime/get_issue_loggers?autocomplete=true&q=&project_id=1&type=start&offSet=-120" for 172.17.0.1 at
2022-06-13 12:37:25 +0000
I, [2022-06-13T12:37:25.322035 #358] INFO -- : [ee2924a3-6183-442e-88da-5f551fb4a6ff] Processing by WktimeController#get_issue_loggers as */*
I, [2022-06-13T12:37:25.322324 #358] INFO -- : [ee2924a3-6183-442e-88da-5f551fb4a6ff] Parameters: {"autocomplete"=>"true", "q"=>"", "project_id"=>"1", "type"=>"start", "offSet"=>"-120"}
I, [2022-06-13T12:37:25.337453 #358] INFO -- : [ee2924a3-6183-442e-88da-5f551fb4a6ff] Current user: CaSt (id=5)
I, [2022-06-13T12:37:25.351984 #358] INFO -- : [ee2924a3-6183-442e-88da-5f551fb4a6ff] Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 11.4ms | Allocations: 2424)
I, [2022-06-13T12:37:28.123737 #358] INFO -- : [f8cb931e-4b8a-4bad-b512-469d7f40feee] Started GET "/wktime/get_issue_loggers?autocomplete=true&q=9" for 172.17.0.1 at 2022-06-13 12:37:28 +0000
I, [2022-06-13T12:37:28.125372 #358] INFO -- : [f8cb931e-4b8a-4bad-b512-469d7f40feee] Processing by WktimeController#get_issue_loggers as /*
I, [2022-06-13T12:37:28.125627 #358] INFO -- : [f8cb931e-4b8a-4bad-b512-469d7f40feee] Parameters: {"autocomplete"=>"true", "q"=>"9"}
I, [2022-06-13T12:37:28.135074 #358] INFO -- : [f8cb931e-4b8a-4bad-b512-469d7f40feee] Current user: CaSt (id=5)
I, [2022-06-13T12:37:28.149108 #358] INFO -- : [f8cb931e-4b8a-4bad-b512-469d7f40feee] Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 7.0ms | Allocations: 2328)
I, [2022-06-13T12:37:28.967944 #358] INFO -- : [6561dbbd-e0e2-4808-9317-b61360119a97] Started GET "/wktime/get_issue_loggers?autocomplete=true&q=99" for 172.17.0.1 at 2022-06-13 12:37:28 +0000
I, [2022-06-13T12:37:28.969606 #358] INFO -- : [6561dbbd-e0e2-4808-9317-b61360119a97] Processing by WktimeController#get_issue_loggers as */
I, [2022-06-13T12:37:28.969924 #358] INFO -- : [6561dbbd-e0e2-4808-9317-b61360119a97] Parameters: {"autocomplete"=>"true", "q"=>"99"}
I, [2022-06-13T12:37:28.979176 #358] INFO -- : [6561dbbd-e0e2-4808-9317-b61360119a97] Current user: CaSt (id=5)
I, [2022-06-13T12:37:28.992886 #358] INFO -- : [6561dbbd-e0e2-4808-9317-b61360119a97] Completed 200 OK in 23ms (Views: 0.4ms | ActiveRecord: 6.9ms | Allocations: 2328)
Updated by Dhanasingh Krishnapandian over 1 year ago
- Status changed from Closed to Feedback
- Target version changed from 4.6 to 4.7
Updated by dhanalakshmi c about 1 year ago
- Target version changed from 4.7 to 4.8