Picture of Chuck Lorenz
Missing required 'schema.subSchema' option for Object editor
by Chuck Lorenz - Saturday, 26 January 2019, 11:56 PM
 

Hi folks,

Just upgraded my AT version to latest (v0.6.2). When I click into "Project settings" or "Configuration settings" or try to edit any component, I get the popup with error:
Missing required 'schema.subSchema' option for Object editor

Any suggestions about how I can overcome this?

- Error encountered even when creating a new course using core Vanilla (latest version for AT) and core Boxmenu (latest version for AT) and with only one Text component (latest version for AT). 

- There are custom plug-ins installed, but I've tested with all of them disabled, and the error persists.

- The course Preview loads successfully.

----
Further research: I see that it is arising from here:
https://github.com/adaptlearning/adapt_authoring/blob/e5d7b702695585021f406d54c979e393a163846c/frontend/src/libraries/backbone-forms.js#L2079

Picture of Chuck Lorenz
Re: Missing required 'schema.subSchema' option for Object editor
by Chuck Lorenz - Sunday, 27 January 2019, 12:16 PM
 

The error resolved itself.
In an effort to display information about the schema object that was missing the subSchema, I made a change to the backbone-forms.js and ran grunt build from the root of my installation. I no longer get the error, even after removing the trivial change I introduced. Apparently, it just needed a rebuild, even though the upgrade reported as successful.