Links to Mahara views in HTML export

Bug #533848 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Undecided
Richard Mansfield

Bug Description

working with Firefox 3.5.8 and Safari 4.0.4 on Mac 10.6 with Mahara 1.2

When links to a Mahara view are created in another Mahara view, the link is broken in the HTML export. The view can be launched by clicking on it, but not via the link. The link is, e.g. file:///view/view.php?id=4237, but the browser can't find it because the path leading up to "view/view.php..." is not included.

If students use one view as navigational view to reach their different portfolio views easily, they can't do so anymore offline at the moment.

Evan Goldenberg (naveg)
Changed in mahara:
status: New → Triaged
Revision history for this message
Evan Goldenberg (naveg) wrote :

This seems to work if the URL is just given as text, and the html filters are relied upon to "linkify" it. In that case, the URL is properly rewritten to point to the appropriate html file for the linked view.

If the Link feature of the tinymce editor is used however, this bug applies.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Thanks for finding the bug, Evan. I hope this bug can be fixed because as our students don't dabble in HTML, they all use the WYSIWYG editor (I assume many others as well).

Revision history for this message
Richard Mansfield (richard-mansfield) wrote :

There was a tinymce setting that was stripping the wwwroot from all links. I've turned this off (in master), but I'd like to test it some more before applying the fix to 1.2.

While fixing this I also found and fixed another export bug (links to views that weren't even included in the export were being rewritten to point to non-existent pages in the export).

Changed in mahara:
assignee: nobody → Richard Mansfield (richard-mansfield)
status: Triaged → Fix Committed
Changed in mahara:
milestone: none → 1.3.0
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.