Fix setDescriptorTemplate bug
Cherry-pick of MR !388 (merged).
(cherry picked from commit b27d2904)
8b4bcaff Fix setDescriptorTemplate bug. d2ef9df7 Update test relatd to setDescriptorTemplate bug.
Cherry-pick of MR !388 (merged).
(cherry picked from commit b27d2904)
8b4bcaff Fix setDescriptorTemplate bug. d2ef9df7 Update test relatd to setDescriptorTemplate bug.