[develop2] Fix bug in override=True
trait propagation
#10624
Merged
override=True
trait propagation
#10624