mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #10297
[Bug 1045138] Re: Image disappears from Page Description when page shared by Secret URL
Hello Teresa,
Thank you very much for your detailed bug report and also testing it on
demo.mahara.org where we have access to as well. That was excellent work
and helps us in general to get to the root of the problem being able to
rule out an issue on your particular instance.
This is a permissions issue if I am not mistaken (a developer can
correct me if necessary). The images in the blocks appear for users
viewing the page via the Secret URL because they were inserted into the
page as true artefacts via blocks.
External images are also displayed because they are freely accessible
via the URL.
However, the Mahara permissions system cannot read the internal URL of
the image you put into the descriptions text box as it just sees it as
any URLs and thus cannot see it as an internal artefact. Internal
artefacts are correctly put into pages via blocks, which aren't
available for the description.
You can see the image in the description because it is your page. If you
share the page with logged-in users, they can also see the image in the
description, but anyone who doesn't have a login cannot see it. I can't
say right now if that was intended that way or not as I can't read
program code.
Hope that helps until a developer can provide more insight.
Cheers
Kristina
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1045138
Title:
Image disappears from Page Description when page shared by Secret URL
Status in Mahara ePortfolio:
New
Bug description:
- exact version of Mahara: 1.4.2 & 1.5 (demo.mahara.org)
- operating system: Windows for the 1.4.2 version (I think)
- database: MySQL (I think)
- Chrome 20, IE8 & 9, FireFox 13, Safari 5
If an image is inserted into a Page Description (for example, as a
decorative heading or title) and then that page is shared by Secret
URL, the image disappears.
Any other images, such as those inserted as an image block and those
inserted inline within a text box, appear without issue.
I have tested this in our installation of Mahara (1.4.2) and the
demo.mahara.org version. The screen capture is taken from when I
tested the demo.mahara.org version. In our version we get identical
results, where the Page Description image disappears.
Addendum: if the images are hosted externally, e.g. at Flickr, they
actually do appear in the Page Description area! It might take a few
seconds for the image to load, though.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1045138/+subscriptions
References