Images not displayed for others in wall post

Bug #1631795 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Cecilia Vela Gurovic

Bug Description

Reported at https://mahara.org/interaction/forum/topic.php?id=7729 :

I am using Mahara1604 and see a bug at Users profile page Wall posting. All artefacts organized at an user's profile page is accessible by all other registered users without any permission issue. But when profile owner attach a file/image in his own wall post, then other users not able to view that image which explains access denied error.

I verified this on Mahara 16.10. Another user viewing the wall post does not see the image, but just the alt text.

Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/7119

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7119
Committed: https://git.mahara.org/mahara/mahara/commit/d598dc1b23e9e5143ba5ee28b02f1573a50c2899
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit d598dc1b23e9e5143ba5ee28b02f1573a50c2899
Author: Cecilia Vela Gurovic <email address hidden>
Date: Fri Oct 14 11:42:41 2016 +1300

Bug 1631795: Made image in a wallpost public

When an image is added in a wall post it will be also added
in the artefact_file_embedded so it can be seen by other users
Includes an upgrade to update old posts with embedded images.

behatnotneeded

Change-Id: I42d35e035f8fe8c846ef345709793f4c0f66ca7b

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "16.10_STABLE" branch: https://reviews.mahara.org/7183

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7183
Committed: https://git.mahara.org/mahara/mahara/commit/c548067bfb076b07c580faa80cbd33df800d7597
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE

commit c548067bfb076b07c580faa80cbd33df800d7597
Author: Cecilia Vela Gurovic <email address hidden>
Date: Fri Oct 14 11:42:41 2016 +1300

Bug 1631795: Made image in a wallpost public

When an image is added in a wall post it will be also added
in the artefact_file_embedded so it can be seen by other users
Includes an upgrade to update old posts with embedded images.

behatnotneeded

Change-Id: I42d35e035f8fe8c846ef345709793f4c0f66ca7b
(cherry picked from commit d598dc1b23e9e5143ba5ee28b02f1573a50c2899)

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
milestone: 17.04.0 → 16.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/7195

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7195
Committed: https://git.mahara.org/mahara/mahara/commit/405c8602990f643b44ef20347c95c04fe09e3e21
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 405c8602990f643b44ef20347c95c04fe09e3e21
Author: Robert Lyon <email address hidden>
Date: Fri Oct 21 11:21:32 2016 +1300

Bug 1631795: Only loop thru wallposts if some found

In the upgrade script for wallposts

behatnotneeded

Change-Id: I4624e827c921f09610df2487001e2ff230870436
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "16.10_STABLE" branch: https://reviews.mahara.org/7196

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7196
Committed: https://git.mahara.org/mahara/mahara/commit/2d4d44cc137bd48d3bb719e32de623ff3a4ff93a
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE

commit 2d4d44cc137bd48d3bb719e32de623ff3a4ff93a
Author: Robert Lyon <email address hidden>
Date: Fri Oct 21 11:21:32 2016 +1300

Bug 1631795: Only loop thru wallposts if some found

In the upgrade script for wallposts

behatnotneeded

Change-Id: I4624e827c921f09610df2487001e2ff230870436
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 405c8602990f643b44ef20347c95c04fe09e3e21)

Robert Lyon (robertl-9)
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.