Cant massupdate user attributes

Infos:

  • Used Zammad version: 5.3.2
  • Used Zammad installation type: package
  • Operating system: Ubuntu
  • Browser + version: Chrome

Expected behavior:

User.where(organization_id: 31).update_all(image: "10f32074cf96a7865115e83f21290eb6")

updates attribiute like

User.find(899).update_attribute(:image,"10f32074cf96a7865115e83f21290eb6")

Actual behavior:

irb(main):001:0> User.where(organization_id: 31).update_all(image: "10f32074cf96a7865115e83f21290eb6")
irb(main):002:0* 
=> 13

No attributes are changed.

Solution: User.where(organization_id: 31).update(image: "10f32074cf96a7865115e83f21290eb6")

Apart from this being dangerous for copy cats, update_all should to the trick over update. Because update only updates one set. Normally™️

update_all didnt work like mention in my initial post just says => 13 whitch is the numbers of users in this orgarnisation but didnt change any attribute

I doubt that as long as you provide a full output of the command with an error message.
You heard of caching… ?

the complete console output is mention in the inital post, please read it…

Right and it shows no error.
So most likely outdated caches or browser caching.