Forward port of issue #50629 to 4.1.x.
Activity
Merge branch '4.0.x'