Picture of gerard ryder
Empty _ids when updating course
by gerard ryder - Friday, 4 September 2015, 3:33 PM
 

Hi I hope you can help, 

 

I am a new user and I am having trouble updating a course.

I am following the instructions on the following page

https://github.com/adaptlearning/adapt_framework/wiki/Creating-your-first-course

however when I build the course I get a number of empty _ids error

does anyone know why this is happening?

 

Thank you

 

Gerry

Picture of Chuck Lorenz
Re: Empty _ids when updating course
by Chuck Lorenz - Friday, 4 September 2015, 6:03 PM
 

Hi Gerry,

Glad you're trying it out.

Perhaps you have some "id"s and "parentId"s that are not matched or are orphaned. Adapt doesn't want an incomplete structure.

Your "id" in course.json needs to be used as a "parentId" in contentObjects.json.
Any "id"s in contentObject.json must be used as a "parentId" in articles.json
Any "id"s in articles.json must be used as a "parentId" in blocks.json.
Any "id"s in blocks.json must be used as a "parentId" in components.json.

Chuck

Picture of Matt Leathes
Re: Empty _ids when updating course
by Matt Leathes - Friday, 4 September 2015, 6:48 PM
 

or possible it's tracking ids missing? If you could post the exact error you're getting it would be easier for us to help

Picture of gerard ryder
Re: Empty _ids when updating course
by gerard ryder - Saturday, 5 September 2015, 9:13 AM
 

Thanks Chuck, that really helps, was missing one of those steps

 

Gerry