V8-archive: File interface is broken

Created on 24 Jun 2020  路  5Comments  路  Source: directus/v8-archive

Directus Cloud 8.8.0

Adding a new file with the file interface does not work anymore.

Reproduce steps
Click on button Add new, then Select from device and pick a file.

Expected behavior
The uploaded file should get selected

Actual result
An exception occurs and the uploaded file is not selected, see the blank row behind the modal mask. When pressing save, no files will be selected on the collection item.

vue.runtime.esm.js:1888 TypeError: Cannot read property 'startsWith' of undefined
    at a (get-icon.js:6)
    at a.icon (display.vue:30)
    at nr.get (vue.runtime.esm.js:4479)
    at nr.evaluate (vue.runtime.esm.js:4584)
    at a.icon (vue.runtime.esm.js:4836)
    at a (display.vue?20d2:1)
    at vue-composition-api.module.js:604
    at te (vue-composition-api.module.js:565)
    at a.t.render (vue-composition-api.module.js:604)
    at a.e._render (vue.runtime.esm.js:3548)

file-upload

app

Most helpful comment

@Rawlings What browser does this occur on?

I am facing this issue on both Safari & Chrome.

All 5 comments

@Rawlings What browser does this occur on?

@Rawlings What browser does this occur on?

I am facing this issue on both Safari & Chrome.

Got the same bug since update on v8.8.
The upload on background works fine: I can find the file in File Library but its not linked to the item in collection

Same problem here :(

Same problem here on latest FireFox 78.0.2.

Error also happens with the multiple file interface.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andgar2010 picture andgar2010  路  3Comments

magikstm picture magikstm  路  3Comments

Nitwel picture Nitwel  路  3Comments

vuhrmeister picture vuhrmeister  路  3Comments

binary-koan picture binary-koan  路  3Comments