Skip to content

- Display error message if imsmanifest.xml can't be found - #164

Open
mojocakes wants to merge 1 commit into
instructure:masterfrom
cegd-dev:bugfix/#1
Open

- Display error message if imsmanifest.xml can't be found#164
mojocakes wants to merge 1 commit into
instructure:masterfrom
cegd-dev:bugfix/#1

Conversation

@mojocakes

Copy link
Copy Markdown

Context
I was getting a blank white screen whenever I dropped my .imscc file onto the page.

After some debugging I realised that I was building my export file incorrectly; file paths were being prepended with a / (so /imsmanifest.xml instead of imsmanifest.xml)

This was clearly an error on my side, but I think the app should still display an error message to tell the user that their file is not a valid Common Cartridge.

Changes
Display error message if the imsmanifest.xml file can't be extracted.

@CLAassistant

CLAassistant commented Jun 13, 2021

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Comment thread src/CommonCartridge.js
);

if (manifestEntry != null) {
if (manifestEntry) {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

value is undefined if not found

@mojocakes

Copy link
Copy Markdown
Author

Bump? ;)

@akozma89

akozma89 commented Jun 5, 2024

Copy link
Copy Markdown
Collaborator

@mojocakes Hi, can you provide an example imscc file somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants