BUG: refs #1009. Fixing the upload link controller.
BUG: refs #1009. Fixing the upload link controller.

The changes made in this patch uncovered a bug there.

jcfr/Midas,jcfr/Midas,jcfr/Midas,jcfr/Midas,jcfr/Midas,jcfr/Midas