Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro/Bulk action: Cannot transfer more than one ticket to agent #1107

Closed
Tmkrth opened this issue May 17, 2017 · 3 comments
Closed

Macro/Bulk action: Cannot transfer more than one ticket to agent #1107

Tmkrth opened this issue May 17, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@Tmkrth
Copy link

Tmkrth commented May 17, 2017

Hello!

Infos:

  • Used Zammad version: 1.5.x
  • Used Zammad installation source: Repo for Ubuntu
  • Operating system: Ubuntu 16.04 LTS
  • Browser + version: Chromium 58 on Windows 10, Firefox 53 on Windows 10

Expected behavior:

  • Select a few new tickets and drag them down to release the mouse button above an agent. All these tickets should be owned by this agent now.

Actual behavior:

  • Only the topmost ticket gets assigned to the agent.

Is this intended or an error? I can bulk assign new statuses, for example new to open status changes to a ticket selection or tag a ticket selection but not bulk assign. Cheers!

@martini martini self-assigned this May 29, 2017
@martini martini added the bug label May 29, 2017
@martini
Copy link
Collaborator

martini commented May 29, 2017

Hi @Tmkrth

this sounds like an bug which I can't reproduce. Can you share the browsers console log, there should be an error message.

Thanks,

-Martin

@sthag
Copy link

sthag commented Jun 8, 2017

I can reproduce this issue under Windows 10 in Chrome and Firefox latest versions.
There is no output on the browser console.

  • I select two tickets with the checkbox. I click and hold onto one of the selected tickets and drag the mouse to the bottom.
  • I release the mouse over another user.
  • Only the topmost ticket gets assigned/is changed.

The zammad log gives the following output:

I, [2017-06-08T13:21:08.976460 #2180]  INFO -- : Started PUT "/api/v1/tickets/340" for 127.0.0.1 at 2017-06-08 13:21:08 +0200
I, [2017-06-08T13:21:08.978439 #2180]  INFO -- : Processing by TicketsController#update as JSON
I, [2017-06-08T13:21:08.978588 #2180]  INFO -- :   Parameters: {"number"=>"420342", "title"=>"Test Bulk Actions 2", "group_id"=>4, "owner_id"=>"4", "customer_id"=>3, "state_id"=>2, "priority_id"=>1, "updated_at"=>"2017-06-08T11:20:48.444Z", "pending_time"=>nil, "id"=>"340", "ticket"=>{"id"=>"340", "group_id"=>4, "priority_id"=>1, "state_id"=>2, "number"=>"420342", "title"=>"Test Bulk Actions 2", "owner_id"=>"4", "customer_id"=>3, "pending_time"=>nil, "updated_at"=>"2017-06-08T11:20:48.444Z"}}
I, [2017-06-08T13:21:09.117556 #2180]  INFO -- : Completed 200 OK in 139ms (Views: 1.1ms | ActiveRecord: 18.3ms)
I, [2017-06-08T13:21:09.543535 #2180]  INFO -- : Started GET "/api/v1/ticket_customer?customer_id=3&_=1496919121958" for 127.0.0.1 at 2017-06-08 13:21:09 +0200
I, [2017-06-08T13:21:09.545164 #2180]  INFO -- : Processing by TicketsController#ticket_customer as JSON
I, [2017-06-08T13:21:09.545278 #2180]  INFO -- :   Parameters: {"customer_id"=>"3", "_"=>"1496919121958", "ticket"=>{}}
I, [2017-06-08T13:21:09.588586 #2194]  INFO -- : Scheduler running...
I, [2017-06-08T13:21:09.598591 #2180]  INFO -- : Completed 200 OK in 53ms (Views: 7.5ms | ActiveRecord: 2.6ms)
I, [2017-06-08T13:21:09.602587 #2180]  INFO -- : Started GET "/api/v1/ticket_customer?customer_id=3&_=1496919121959" for 127.0.0.1 at 2017-06-08 13:21:09 +0200
I, [2017-06-08T13:21:09.604176 #2180]  INFO -- : Processing by TicketsController#ticket_customer as JSON
I, [2017-06-08T13:21:09.604253 #2180]  INFO -- :   Parameters: {"customer_id"=>"3", "_"=>"1496919121959", "ticket"=>{}}
I, [2017-06-08T13:21:09.631263 #2180]  INFO -- : Completed 200 OK in 27ms (Views: 6.8ms | ActiveRecord: 2.3ms)
I, [2017-06-08T13:21:09.763115 #2180]  INFO -- : Started GET "/api/v1/tickets/340?full=true&_=1496918513863" for 127.0.0.1 at 2017-06-08 13:21:09 +0200
I, [2017-06-08T13:21:09.763854 #2180]  INFO -- : Started GET "/api/v1/users/3?full=true&_=1496918513864" for 127.0.0.1 at 2017-06-08 13:21:09 +0200
I, [2017-06-08T13:21:09.764414 #2180]  INFO -- : Started GET "/api/v1/organizations/2?full=true&_=1496918513865" for 127.0.0.1 at 2017-06-08 13:21:09 +0200
I, [2017-06-08T13:21:09.769554 #2180]  INFO -- : Processing by OrganizationsController#show as JSON
I, [2017-06-08T13:21:09.769629 #2180]  INFO -- :   Parameters: {"full"=>"true", "_"=>"1496918513865", "id"=>"2", "organization"=>{}}
I, [2017-06-08T13:21:09.768142 #2180]  INFO -- : Processing by UsersController#show as JSON
I, [2017-06-08T13:21:09.770229 #2180]  INFO -- :   Parameters: {"full"=>"true", "_"=>"1496918513864", "id"=>"3", "user"=>{}}
I, [2017-06-08T13:21:09.766569 #2180]  INFO -- : Processing by TicketsController#show as JSON
I, [2017-06-08T13:21:09.770774 #2180]  INFO -- :   Parameters: {"full"=>"true", "_"=>"1496918513863", "id"=>"340", "ticket"=>{}}
I, [2017-06-08T13:21:09.805123 #2180]  INFO -- : Completed 200 OK in 35ms (Views: 5.5ms | ActiveRecord: 9.2ms)
I, [2017-06-08T13:21:09.904260 #2180]  INFO -- : Completed 200 OK in 133ms (Views: 4.8ms | ActiveRecord: 76.8ms)
I, [2017-06-08T13:21:09.917808 #2180]  INFO -- : Completed 200 OK in 147ms (Views: 5.6ms | ActiveRecord: 19.5ms)
I, [2017-06-08T13:21:10.170821 #2180]  INFO -- : Started GET "/api/v1/tickets/340?all=true&_=1496919121960" for 127.0.0.1 at 2017-06-08 13:21:10 +0200
I, [2017-06-08T13:21:10.172798 #2180]  INFO -- : Processing by TicketsController#show as JSON
I, [2017-06-08T13:21:10.172931 #2180]  INFO -- :   Parameters: {"all"=>"true", "_"=>"1496919121960", "id"=>"340", "ticket"=>{}}
I, [2017-06-08T13:21:10.244742 #2180]  INFO -- : Completed 200 OK in 72ms (Views: 5.9ms | ActiveRecord: 7.9ms)
I, [2017-06-08T13:21:10.472469 #2180]  INFO -- : Started GET "/api/v1/organizations/2?full=true&_=1496918793337" for 127.0.0.1 at 2017-06-08 13:21:10 +0200
I, [2017-06-08T13:21:10.473037 #2180]  INFO -- : Started GET "/api/v1/users/3?full=true&_=1496918793336" for 127.0.0.1 at 2017-06-08 13:21:10 +0200
I, [2017-06-08T13:21:10.474742 #2180]  INFO -- : Processing by OrganizationsController#show as JSON
I, [2017-06-08T13:21:10.476328 #2180]  INFO -- :   Parameters: {"full"=>"true", "_"=>"1496918793337", "id"=>"2", "organization"=>{}}
I, [2017-06-08T13:21:10.476229 #2180]  INFO -- : Processing by UsersController#show as JSON
I, [2017-06-08T13:21:10.476999 #2180]  INFO -- :   Parameters: {"full"=>"true", "_"=>"1496918793336", "id"=>"3", "user"=>{}}
I, [2017-06-08T13:21:10.537867 #2180]  INFO -- : Completed 200 OK in 61ms (Views: 4.6ms | ActiveRecord: 12.5ms)
I, [2017-06-08T13:21:10.539294 #2180]  INFO -- : Completed 200 OK in 63ms (Views: 4.6ms | ActiveRecord: 29.4ms)
I, [2017-06-08T13:21:11.157787 #2180]  INFO -- : Started PUT "/api/v1/taskbar/1121" for 127.0.0.1 at 2017-06-08 13:21:11 +0200
I, [2017-06-08T13:21:11.159879 #2180]  INFO -- : Processing by TaskbarController#update as JSON
I, [2017-06-08T13:21:11.160012 #2180]  INFO -- :   Parameters: {"key"=>"Ticket-340", "client_id"=>"123", "callback"=>"TicketZoom", "state"=>{"ticket"=>{}, "article"=>{}}, "params"=>{"ticket_id"=>"340", "init"=>true}, "prio"=>3, "notify"=>false, "active"=>false, "updated_at"=>"2017-06-08T10:47:49.042Z", "id"=>"1121", "taskbar"=>{"id"=>"1121", "client_id"=>"123", "key"=>"Ticket-340", "callback"=>"TicketZoom", "state"=>{"ticket"=>{}, "article"=>{}}, "params"=>{"ticket_id"=>"340", "init"=>true}, "prio"=>3, "notify"=>false, "active"=>false, "updated_at"=>"2017-06-08T10:47:49.042Z"}}
I, [2017-06-08T13:21:11.176426 #2180]  INFO -- : Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 1.7ms)
I, [2017-06-08T13:21:15.260182 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job BackgroundJobSearchIndex (id=20244) RUNNING
I, [2017-06-08T13:21:15.300968 #2194]  INFO -- : # curl -X POST "http://127.0.0.1:9200/zammad_production/Ticket/340" \
I, [2017-06-08T13:21:15.409600 #2194]  INFO -- : # 200
I, [2017-06-08T13:21:15.411231 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job BackgroundJobSearchIndex (id=20244) COMPLETED after 0.1509
I, [2017-06-08T13:21:15.413173 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job Observer::Ticket::UserTicketCounter::BackgroundJob (id=20245) RUNNING
I, [2017-06-08T13:21:15.418725 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job Observer::Ticket::UserTicketCounter::BackgroundJob (id=20245) COMPLETED after 0.0054
I, [2017-06-08T13:21:15.421022 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job BackgroundJobSearchIndex (id=20246) RUNNING
I, [2017-06-08T13:21:15.423855 #2194]  INFO -- : # curl -X POST "http://127.0.0.1:9200/zammad_production/User/3" \
I, [2017-06-08T13:21:15.440729 #2194]  INFO -- : # 200
I, [2017-06-08T13:21:15.442515 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job BackgroundJobSearchIndex (id=20246) COMPLETED after 0.0214
I, [2017-06-08T13:21:15.444512 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job BackgroundJobSearchIndex (id=20247) RUNNING
I, [2017-06-08T13:21:15.454931 #2194]  INFO -- : # curl -X POST "http://127.0.0.1:9200/zammad_production/Organization/2" \
I, [2017-06-08T13:21:15.476048 #2194]  INFO -- : # 200
I, [2017-06-08T13:21:15.477671 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job BackgroundJobSearchIndex (id=20247) COMPLETED after 0.0330
I, [2017-06-08T13:21:15.479939 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job Transaction::BackgroundJob (id=20248) RUNNING
I, [2017-06-08T13:21:15.525447 #2194]  INFO -- : Send notification to: user1@name.tld (from Notification Master <noreply@name.tld>)
I, [2017-06-08T13:21:15.579304 #2194]  INFO -- : 2017-06-08T13:21:15+0200: [Worker(host:HOSTNAME pid:2194)] Job Transaction::BackgroundJob (id=20248) COMPLETED after 0.0992
I, [2017-06-08T13:21:17.849025 #2180]  INFO -- : Started GET "/api/v1/online_notifications/?full=true&_=1496918513866" for 127.0.0.1 at 2017-06-08 13:21:17 +0200
I, [2017-06-08T13:21:17.851110 #2180]  INFO -- : Processing by OnlineNotificationsController#index as JSON
I, [2017-06-08T13:21:17.910166 #2180]  INFO -- :   Parameters: {"full"=>"true", "_"=>"1496918513866", "online_notification"=>{}}
I, [2017-06-08T13:21:17.941108 #2180]  INFO -- : Completed 200 OK in 31ms (Views: 5.3ms | ActiveRecord: 2.3ms)

@jepf jepf added this to the 1.5.1 milestone Sep 6, 2017
@jepf jepf assigned jepf and unassigned martini Sep 6, 2017
zammad-sync pushed a commit that referenced this issue Sep 6, 2017
zammad-sync pushed a commit that referenced this issue Sep 6, 2017
@jepf
Copy link
Contributor

jepf commented Sep 6, 2017

This has been fixed for the stable version. Please update your package in Ubuntu.

@jepf jepf closed this as completed Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants