Picture of Stu Pod
Start controller not working
by Stu Pod - Saturday, 18 March 2017, 11:38 AM
 

I can't seem to get the start controller (wiki reference) to work.

With every combination of settings (force routing true/false, disable menu true/false) I can't get it to show a particular page when it loads instead of the menu page.

I thought it might be a bug but I've tried it with different releases and haven't seen any change. I've updated to the the latest authoring (0.3.0) and framework (2.0.17) but it hasn't helped.

I've uploaded a test course here:
http://sl.unaux.com/start-controller-test-0.3.0/
http://sl.unaux.com/start-controller-test-0.3.0/course/en/course.json

Has anybody else had any problems with this?

Picture of Stu Pod
Re: Start controller not working
by Stu Pod - Sunday, 19 March 2017, 3:56 AM
 

I just found that adding and then removing any extension got the start controller working. I did a diff on the before and after and there were a lot of differences, even though the extension I added was also immediately removed.

I'm guessing that it is a bug, but I'll use the add/remove extension trick to get around it for now.

Picture of Matt Leathes
Re: Start controller not working
by Matt Leathes - Monday, 20 March 2017, 10:12 AM
 

Hi Stu

The course at this URL is running Adapt v2.0.7 - 'start controller' was not added to Adapt until v2.0.8

I'm guessing that adding/removing an extension forced the AT to apply the updated Framework code to the course.