cassproject / cass-editor

View, create, edit, modify frameworks using an easy to use, embeddable iframe.
https://cassproject.github.io/cass-editor/
Apache License 2.0
3 stars 11 forks source link

On import of framework in the sandbox I get: TypeError: Cannot read properties of undefined (reading 'toLowerCase') #1293

Closed mparsons-ce closed 1 year ago

mparsons-ce commented 1 year ago

I exported a framework from production, https://apps.credentialengine.org/publisher/competencies/?frameworkctid=ce-c3285140-3cf8-11ec-aa33-0242ac160003 Changed of the registry URLs to have a sandbox prefix. Logged in the sandbox and tried to import the latter file.

The import fails without a message (progress indicator just loops endlessly). I checked the console and see: TypeError: Cannot read properties of undefined (reading 'toLowerCase') image

Attached is the input file used: BSC Cyber Program Outcomes.csv

gloverkari commented 1 year ago

It looks like there is an extra line at the end of the file that's causing it to fail. I'll fix the import to ignore the extra line and check into why the export might be adding it.