Form.js file picker not working after 1.8 to 2.0 upgrade

We recently upgraded from 1.8 to 2.0 and the file picker js app is not working in any of our interactive apps. It appears to think the file path includes the URL and gives the following error about parsing:

image

Hi, thanks for the ticket, it’s not following redirects properly. We have this bug open for the file picker.

Sorry I missed that open issue! Thanks for the update.

I just moved it! :laughing: It was initially opened on the ondemand repo, so it wasn’t there.

Solution posted by @mario here:

Thanks!

1 Like

Does it work for you @maflister? We just got a bug report in that topic that it doesn’t work for that user.

@jeff.ohrstrom yes its working for us. We’re using latest OOD 2.10.
Flags we’re using:
data-filepicker: true
data-target-file-type: dirs
readonly: false