Issue #2251145 by manuelbg | John_B: Fatal error on devel_generate.