← Back to team overview

mahara-contributors team mailing list archive

[Bug 643645] [NEW] Viewing a blog using view/artefact.php doesn't allow downloading of associated files

 

Public bug reported:

On fresh install on master using linux:

Viewing a blog as a view artefact doesn't get comment counts correctly.


Steps to reproduce:
* Create blog post with comments enabled.
* Add recent blog posts to profile view
* Create second user.
* View first user.
* View the blog as a whole - e.g. http://mahara.local/view/artefact.php?artefact=4&view=4

artefact/blog/lib.php::ArtefactTypeBlogPost->get_posts()  should get
comment counts but doesn't because $viewoptions['countcomments'] is
empty even though the individual blog post has comments enabled.

Error message pasted to gisthub http://gist.github.com/588081

** Affects: mahara
     Importance: Medium
         Status: New


** Tags: artefact blog view

-- 
Viewing a blog using view/artefact.php doesn't allow downloading of associated files
https://bugs.launchpad.net/bugs/643645
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: New

Bug description:
On fresh install on master using linux:

Viewing a blog as a view artefact doesn't get comment counts correctly.


Steps to reproduce:
* Create blog post with comments enabled.
* Add recent blog posts to profile view
* Create second user.
* View first user.
* View the blog as a whole - e.g. http://mahara.local/view/artefact.php?artefact=4&view=4

artefact/blog/lib.php::ArtefactTypeBlogPost->get_posts()  should get comment counts but doesn't because $viewoptions['countcomments'] is empty even though the individual blog post has comments enabled.

Error message pasted to gisthub http://gist.github.com/588081





Follow ups

References