solgenomics / sgn

The code behind the Sol Genomics Network, Cassavabase and other Breedbase websites
https://solgenomics.net
MIT License
66 stars 35 forks source link

Multi-Trial Upload: Does not work if Breeding Program name has spaces #5082

Closed dwaring87 closed 2 months ago

dwaring87 commented 2 months ago

Expected Behavior

The multi-trial upload does not work if the breeding program name contains spaces.

The parameters to the upload_multiple_trial_design.pl script are not quoted, so only the first word is used.

https://github.com/solgenomics/sgn/blob/535f1a07165f2bd306d6e93063aa325969784c50/lib/SGN/Controller/AJAX/Trial.pm#L1315

For Bugs:

Environment

Steps to Reproduce