Comment 3 for bug 886581

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

Reviewed: https://reviews.mahara.org/830
Committed: http://gitorious.org/mahara/mahara/commit/8154cf5c3a250a1cd600bda5bb4a82e3e089fe3a
Submitter: Richard Mansfield (<email address hidden>)
Branch: 1.4_STABLE

commit 8154cf5c3a250a1cd600bda5bb4a82e3e089fe3a
Author: I��aki Arenaza <email address hidden>
Date: Sat Oct 29 20:29:03 2011 +0200

    Blog block pagination bug prevents images from being displayed

    Bug #886581

    As the viewid is not added to the URL for the images, images are
    considered not published and we don't have permission to see them.
    In fact, if we right click on the image place holder and click
    on 'Display image' (or equivalent browser option), we are presented
    with a login screen, even if we are logged in.

    Just make sure the viewid is passed to ArtefactTypeBlogpost::get_posts()
    too as part of the configdata, to include it in the image access URL.

    Change-Id: Id89be470f4fbb927984624d8a2b7a55629b50016
    Signed-off-by: I��aki Arenaza <email address hidden>