AICC Publishes of Same Course Assign Different Values To PageInChapter

Both publishes were made from the same computer, on the same course.


Publish 1 - page1084142.html:


AICC_Student_Name = new Variable( 'AICC_Student_Name', '', 0, 0, 'aicc', null, 'page1' )

AICC_Lesson_Location = new Variable( 'AICC_Lesson_Location', '', 0, 0, 'aicc', null, 'page1' )

AICC_Lesson_Status = new Variable( 'AICC_Lesson_Status', '', 0, 0, 'aicc', null, 'page1' )

VarPageInChapter = new Variable( 'VarPageInChapter', null, 0, 0, null, null, 'page1' )

VarPageInChapter.set( '593' )

VarPagesInChapter = new Variable( 'VarPagesInChapter', null, 0, 0, null, null, 'page1' )

VarPagesInChapter.set( '63' )

VarPageInTitle = new Variable( 'VarPageInTitle', null, 0, 0, null, null, 'page1' )

VarPageInTitle.set( '593' )


Publish 2 - page1084142.html:


AICC_Student_Name = new Variable( 'AICC_Student_Name', '', 0, 0, 'aicc', null, 'page1' )

AICC_Lesson_Location = new Variable( 'AICC_Lesson_Location', '', 0, 0, 'aicc', null, 'page1' )

AICC_Lesson_Status = new Variable( 'AICC_Lesson_Status', '', 0, 0, 'aicc', null, 'page1' )

VarPageInChapter = new Variable( 'VarPageInChapter', null, 0, 0, null, null, 'page1' )

VarPageInChapter.set( '10' )

VarPagesInChapter = new Variable( 'VarPagesInChapter', null, 0, 0, null, null, 'page1' )

VarPagesInChapter.set( '63' )

VarPageInTitle = new Variable( 'VarPageInTitle', null, 0, 0, null, null, 'page1' )

VarPageInTitle.set( '593' )


How can this be, and how can I trust any publish if this can occur?

Discussion (6)

definitely something for support@trivantis.com to look at then

Have you or anyone else touched the title between publishes? Was the page moved? If it had been moved, it'd retain its html name but the PageInChapter would change. It seems that in Publish 1 the page was on the title level, and therefore it was 593rd in Title and 593rd in Chapter (=Title). And in Publish 2 the page was moved into a chapter, and therefore it was 593rd in Title and 10th in Chapter.

@ssneg 62457 wrote:

Have you or anyone else touched the title between publishes? Was the page moved? If it had been moved, it'd retain its html name but the PageInChapter would change. It seems that in Publish 1 the page was on the title level, and therefore it was 593rd in Title and 593rd in Chapter (=Title). And in Publish 2 the page was moved into a chapter, and therefore it was 593rd in Title and 10th in Chapter.


No. In fact, I published the course twice, one after the other, and got the results noted above. It's interesting to note that the page before this one, (page 9 of the chapter), set PageInChapter correctly to "9" in both cases. It is quite bizarre, and seemingly reproducible at random.

@Kgun5 62461 wrote:

We always use the short id-based names. Why would this produce the issue?


It's also important to note, that while the PageInChapter value changes, the PagesInChapter value always stays constant at "63."


I can't think of a circumstance where a publish should generate a PageInChapter value larger than the PagesInChapter value.

Could it be there is a checkmark in the "Covert page names to short ID-based names"? If so take it out and recompile.


-kelly

@kellykungfu 62460 wrote:

Could it be there is a checkmark in the "Covert page names to short ID-based names"? If so take it out and recompile.


-kelly



We always use the short id-based names. Why would this produce the issue?

Discussions have been disabled for this post