Project

General

Profile

Actions

Bug #426

open

No Issues found in Ticket Logger

Added by Carsten Stanusch over 2 years ago. Updated about 2 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
Start date:
04/02/2022
Due date:
% Done:

100%

Estimated time:

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

no issue.png (9.21 KB) no issue.png Carsten Stanusch, 04/02/2022 12:19 PM
Actions #1

Updated by Carsten Stanusch over 2 years 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'

Actions #2

Updated by Dhanasingh Krishnapandian over 2 years ago

  • Assignee set to Arun T
  • Target version set to 4.6
Actions #3

Updated by dhanalakshmi c over 2 years 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

Actions #4

Updated by Arun T over 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

completed.

Actions #5

Updated by dhanalakshmi c over 2 years ago

This issue is fixed in 4.6. 4.6 is released, Please take a look.

Actions #6

Updated by Carsten Stanusch over 2 years 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)

Actions #7

Updated by Dhanasingh Krishnapandian over 2 years ago

  • Status changed from Closed to Feedback
  • Target version changed from 4.6 to 4.7
Actions #8

Updated by dhanalakshmi c about 2 years ago

  • Target version changed from 4.7 to 4.8
Actions

Also available in: Atom PDF