These are chat archives for adaptlearning/adapt_authoring

16th
Dec 2015
John Niezen
@johnniezen
Dec 16 2015 07:25
When we have an Adapt package uploaded in an LMS (let's say Moodle) and people are busy following this course. During the period people are following this course, we receive some feedback which makes me to add a article or block or component to this course. When we re-upload this adapt package and people continue with this training package their earlier given answers to questions in the course are all mixed up or even opened again while the question had only 1 attempt.
When we look in Moodle we do see that al the previous given answers are still there.
Any suggestions to avoid this? Should we do something different when we wish to update a currently published course? We checked the tracking ID's for the blocks, and started to look at the json files. And what happened is that the new block was inserted in the beginning with tracking ID 1, all other ID increased 1. in the Article.json the new article is appended (added at the end) and in the Componenents.json the new component is inserted in the beginning, just like the Block.json.
I think this will also play a role in the Import/Export capability if you think a little deeper. If one would import a course and edit it by adding ABC parts, you need to be sure that the tracking ID's stay the same. Could not find it that quick in the files where that's being handled.
Brian Quinn
@brian-learningpool
Dec 16 2015 08:45
hi @johnniezen
currently the build process in the authoring tool generates the trackingId values at publish
as such this means that they are prone to change, unless your updates to published courses were added to the end of previous content
which is unlikely
as a temporary solution you could manually edit the course by hand
John Niezen
@johnniezen
Dec 16 2015 08:49
Correct, that is what we analyzed from builds and returns from Moodle
And that is what we did
Brian Quinn
@brian-learningpool
Dec 16 2015 08:50
it's an interesting problem
John Niezen
@johnniezen
Dec 16 2015 08:51
When I changed the blocks.json with the previous values, and gave the new block the highest, it worked.
Brian Quinn
@brian-learningpool
Dec 16 2015 08:51
and would probably tie up well with some versioning work which has been mentioned
John Niezen
@johnniezen
Dec 16 2015 08:51
We were lucky that it started counting from 1 till ,.... so that was easy
and it was also a very small course
Brian Quinn
@brian-learningpool
Dec 16 2015 08:52
i'll add a github issue for this
John Niezen
@johnniezen
Dec 16 2015 08:53
Thanks, Matt suggested to put it here first see https://community.adaptlearning.org/mod/forum/discuss.php?d=1101
That's why I copied some of the thread in here and see what needs to be done
As I was also not sure if it would be against the AT or Spoor
Brian Quinn
@brian-learningpool
Dec 16 2015 08:55
it's AT
John Niezen
@johnniezen
Dec 16 2015 08:55
@brian-learningpool Great, thanks, learned something new again. Oh what a wonderful day.
Brian Quinn
@brian-learningpool
Dec 16 2015 09:14
thanks for reporting, @johnniezen, we should have a fix early in the new year
adaptlearning/adapt_authoring#971
Brian Quinn
@brian-learningpool
Dec 16 2015 10:47