TheRoddyWMS / Roddy

The Roddy workflow development and management system.
http://roddy-documentation.readthedocs.io
MIT License
8 stars 3 forks source link

If a String parameter is empty in a Java based job call, Roddy will fail: Not able to convert entry #80

Open dankwart-de opened 7 years ago

dankwart-de commented 7 years ago

This is a bug in the GenericMethod class

if (split.length != 2)
                    throw new RuntimeException("Not able to convert entry ${entry.toString()} to parameter.")
vinjana commented 7 years ago

It makes sense to unset an environment variable or set it to an empty value. Therefore, this should not fail but result in the setting of an empty value (VARNAME=).

Possible solutions: