Skip to content

Handle CTAT 1.1 instances  #119

@darrensiegel

Description

@darrensiegel

The Intro to Stats course contains CTAT activity instances that the digest tool does not handle correctly. While the digest tool will successfully convert the course and create a digest, the ingest in Torus fails during the Oli.Ingest.RewireLinks.rewire/3 step due to the missing CTAT resource.

The course SVN branch is: https://svn.oli.cmu.edu/svn/content/statistics/statistics/trunk.

I believe I've found the instances of these activities in the course content by running:

$ find . -type f -name "*.xml" -exec grep -H "cmu-ctat-tutor_1.1.dtd " {} \; | cut -d":" -f1

Which yields:

./content/ctat_stattutor/m4_cell_phones_1q/x-cmu-ctat-tutor2/ctat2_m4_1q_stattutor.xml
./content/ctat_stattutor/m2_body_image_2q/x-cmu-ctat-tutor2/ctat2_m2_2q_stattutor.xml
./content/ctat_stattutor/m3_depression/x-cmu-ctat-tutor2/ctat2_m3_stattutor.xml
./content/ctat_stattutor/m2_X_body_image/x-cmu-ctat-tutor/ctat_m2_X_stattutor.xml
./content/ctat_stattutor/m6_low_birth_weight/x-cmu-ctat-tutor2/ctat2_m6_stattutor.xml
./content/ctat_stattutor/m5_extra_credit/x-cmu-ctat-tutor2/ctat2_m5_stattutor.xml
./content/ctat_stattutor/m7_auto_premiums/x-cmu-ctat-tutor2/ctat2_m7_stattutor.xml
./content/ctat_stattutor/m2_body_image/x-cmu-ctat-tutor2/ctat2_m2_stattutor.xml
./content/ctat_stattutor/m4_cell_phones/x-cmu-ctat-tutor2/ctat2_m4_stattutor.xml
./content/ctat_stattutor/m1_survey_1q/x-cmu-ctat-tutor/ctat_m1_1q_stattutor.xml
./content/ctat_stattutor/m1_survey_1q/x-cmu-ctat-tutor2/ctat2_m1_1q_stattutor.xml
./content/ctat_stattutor/m5_extra_credit_2q/x-cmu-ctat-tutor2/ctat2_m5_2q_stattutor.xml
./content/ctat_stattutor/m1_survey/x-cmu-ctat-tutor/ctat_m1_stattutor.xml
./content/ctat_stattutor/m1_survey/x-cmu-ctat-tutor2/ctat2_m1_stattutor.xml

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions