System Information
All operation systems.
Blender Version
Broken: Blender 2.8 branch, rBbe3392e0f90
Worked: master
Short description of error
Driving bone translation from bone scale is broken in 2.8, especially with copy-on-write enabled.
Exact steps for others to reproduce the error
Open deg_driver_bone_loc_from_scale.blend from our regression tests SVN and tweak scale X.
The issue here is that copy-on-write will copy pose over, which rolls old values for every bone->pose_mat. In master it worked, but mostly with some lag.
Attached file solves non-CoW case, but CoW case is still broken.
Still need some work to make it to work, but will not consider this a stopper for CoW, since it's really a corner case..