H5P.org View state doesn't appear

Hello! I seem to have run into an issue with this module:

https://h5p.org/node/996007

From my user page, https://h5p.org/user, I can see the module entitled "Six commonly held myths about online coursework." However, when I click on it, I'm taken to a page that has "View" and "Edit" options. The edit state looks fine and allows me to make modifications, etc, but for whatever reason the view state doesn't appear / allow me to preview it (and I therefore can't access the ability to download it to transfer to h5p.com). I've attached a screenshot.

Here's what I see in the console:

- Unable to find constructor for: H5P.CoursePresentation 1.22 h5p.js:87:101

- jQuery.Deferred exception: instance is undefined H5P.getCopyrights@https://h5p.org/sites/all/modules/h5p/library/js/h5p.js?qfmgt5:99:402 H5P.init/<@https://h5p.org/sites/all/modules/h5p/library/js/h5p.js?qfmgt5:18:139 each@https://h5p.org/sites/all/modules/h5p/library/js/jquery.js?qfmgt5:1:3056 each@https://h5p.org/sites/all/modules/h5p/library/js/jquery.js?qfmgt5:1:1534 H5P.init@https://h5p.org/sites/all/modules/h5p/library/js/h5p.js?qfmgt5:8:1 @https://h5p.org/sites/all/modules/h5p/library/js/h5p.js?qfmgt5:221:22 e@https://h5p.org/sites/all/modules/h5p/library/js/jquery.js?qfmgt5:1:30085 l/</t<@https://h5p.org/sites/all/modules/h5p/library/js/jquery.js?qfmgt5:1:30389 undefined jquery.js:1:31632  

- TypeError: instance is undefined

 

Any suggestions for me? I've tried creating a separate module which displays properly, so there must be something wrong with this particular module. I could try rebuilding it from scratch, but I'd rather not if at all possible!

Additional information:

Right now I'm using the desktop version of Firefox, 60.5.2esr (64-bit) on a Mac, but I've also had the same issue in Windows and using firefox and chrome.

Summary: 
Missing view state
BV52's picture

Hi Maderk,

Please make sure that there are no blank contents within the Course Presentation. Also to try and isolate the issue I suggest that you remove one content a time. So that you do not have to create it from scratch you can copy the content and paste as a new one.

-BV

Thanks for the help BV!

It looks like the only way I can get the content to appear is to remove all of the True/False questions. Once I do that, the view state shows up. However, I can't seem to put back any True/False questions without it disappearing again. Thoughts for me?

BV52's picture

Hi Maderk,

Would you mind removing the T/F questions and download the content then upload it in this thread.

-BV

Sure. I uploaded a copy that I made without the T/F components.

I'm also including it here to see if that works:

BV52's picture

Hi Maderk,

I'm still looking into this. For some reason I can reprodue the issue using the content that you provided but cannot do so if I create my own.

-BV

Thanks, kind sir.

I actually experienced a similar situation - I started from scratch and find that I'm am able to get past this issue, so while there was something bizarre with that original module, I'm personally able to continue with my work!

Thanks for the help!