Comment 0 for bug 1514299

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

See also https://github.com/MaharaProject/moodle-assignsubmission_mahara/issues/15

When a student is picking a collection in the Mahara assignment submission plugin for Moodle, the URLs for collections (both the preview URL and the navigation URL) are incorrect. This is because the get_views_for_user() method on the Mahara side returns an absolute URL for the collection['url'] field, while it returns a relative-to-wwwroot URL for the view['url'] field.

I'm tackling this by putting workaround code in the submission plugin, and by patching Mahara to return the same ['url'] values for views & collections.