Comment 2 for bug 886581

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

Reviewed: https://reviews.mahara.org/831
Committed: http://gitorious.org/mahara/mahara/commit/ff849221e83de315685cc79f212c5488e45d3e45
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit ff849221e83de315685cc79f212c5488e45d3e45
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: I23138180fbd771755407c39a9669860e4ecef762
    Signed-off-by: I��aki Arenaza <email address hidden>