Comment 7 for bug 1303491

Revision history for this message
Aaron Wells (u-aaronw) wrote :

Test instructions:

Okay, the tricky thing here is that there are multiple versions of the Moodle-Mahara assignment submission plugin, and this patch should be backwards compatible with all of them. I've run tests to make sure it works in these combinations:

1. Moodle 2.6 + Portland U plugin: https://github.com/fellowapeman/moodle-assign_mahara
1a. To run the Portland U plugin you must also install a local plugin: https://github.com/fellowapeman/moodle-local_mahara

2. Moodle 2.3 + the Moodle 2.3 version of our fork of the plugin: https://github.com/catalyst/moodle-assignsubmission-mahara/tree/moodle23

3. Moodle 2.6 + the Moodle 2.6 version of our fork of the plugin: https://github.com/catalyst/moodle-assignsubmission-mahara/tree/moodle26

How to test:

1. Install the Moodle site & the Mahara site.

2. Set up Mnet between them (see instructions here: https://wiki.mahara.org/index.php/User:Aaronw/Quick_Mnet_setup )

2. Set up a course in Moodle with an "assignment" activity using the Mahara submission method. Also put a "Network Servers" block in that course.

3. Log in as a student enrolled in that course. Go to the course and click on the link to Mahara via the "Network Servers" block.

4. Create some pages and collections in Mahara.

5. Go back to Moodle (still as the student) and create your submission for the assignment activity.

Expected result: If you're using the Portland U plugin or the Moodle 2.3 version of the Catalyst plugin, you should see a list of the student's views available. If you're using the Moodle 2.6 version of the Catalyst plugin, you should also see collections.

6. Add a view or collection to your assignment. Submit the assignment.

Expected result: The submitted view or assignment should now be locked in Mahara. (Unless you're using the Portland U plugin, and have disabled page locking)

7. Log out of the student, and log back into Moodle as a teacher. Go back to the course and look at the gradebook for the assignment.

Expected result: You should see a link to the selected view/collection, and you should be able to click it and see the view/collection in Mahara