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.
See also https:/ /github. com/MaharaProje ct/moodle- assignsubmissio n_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.