3.0 fill error array only if From actually has errors

to avoid the empty validation error array to be display in  the variable panel.

Sorry I shouldn't omit that in my previous PR.