Issue #2157035 by plopesc: Fixed Generation of numeric fields always return 0 and shows some Notices.