convert type when validation happen
Merge pull request #5542 from ticoann/reqmgr2

convert type when validation happen