Images in Folder block only show when Files(s)to download block present

Bug #1235071 reported by Dirk Meyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Critical
Robert Lyon

Bug Description

1.8RC, Debian, mysql

When a Folder block is displayed in a page, clicking the names of images will produce a 'Not Found' error. The images will display however, when they are additionally displayed using the 'File(s) to download block as a second block. An added bug here is that the name of the pictures will be changed to the title of the 'File(s) to download block.

The same pictures display as expected when using the 'File(s) to download block on its own.

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

Thanks for the bug report, Dirk!

Changed in mahara:
milestone: none → 1.8.0
status: New → Triaged
importance: Undecided → High
importance: High → Critical
tags: added: regression
Changed in mahara:
assignee: nobody → Robert Lyon (robertl-9)
Revision history for this message
Robert Lyon (robertl-9) wrote :

Added a patch for this problem:
https://reviews.mahara.org/#/c/2577/

The issue is that the files in a folder block do not have block instance information themselves so trying to assign the blockinstance title was always going to fail.

Changed in mahara:
status: Triaged → In Progress
Aaron Wells (u-aaronw)
Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
tags: removed: regression
Aaron Wells (u-aaronw)
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.