Skip to content

XLSX file protected view cannot read #2376

@Giulo77

Description

@Giulo77

if i try to read an excel file in protected view i get this error:
`var workbook = XLSX.read(data, {type: 'binary'});

Uncaught Error: Unknown Namespace:
at Kd (xlsx.full.min.js:18)
at op (xlsx.full.min.js:19)
at ig (xlsx.full.min.js:22)
at cg (xlsx.full.min.js:22)
at Object.gg [as read] (xlsx.full.min.js:22)
at ProcessExcel (ImportFatture.php:97)
at FileReader.Upload.reader.onload (ImportFatture.php:60)`

The file is called test.xlsx and if I open it and enable the modification and save the file everything works correctly.
The problem is that I wanted to automate the import by skipping this manual step and since the library I need to read the content I'm not editing anything so I shouldn't have such an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions