Comment 3 for bug 1486269

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

To replicate:

0. Clean install of Mahara with two users, User 1 & User 2
1. User1 creates a journal, "Blog B"
2. Put two journal entries in Blog B
3. Create a page, "Page P"
4. Put a "Journal" block on Page P. Select Blog B for the block. Set "number of journal entries per page" to "1".
5. Share Page P with User 2.
6. Log in as User 2
7. Navigate to Page P.
8. You'll see the journal block for Blog B, with a paginator at the bottom. Click the "Next ->" link in the paginator.

Expected result: You should see the second page of blog entries
Actual result: Nothing happens. The error logs show this error stack:

Fatal error: Call to undefined function pieform() in /var/www/mahara/htdocs/artefact/comment/lib.php on line 614
Stack trace:
  1. {main}() /var/www/mahara/htdocs/artefact/blog/posts.json.php:0
  2. ArtefactTypeBlogPost::get_posts() /var/www/mahara/htdocs/artefact/blog/posts.json.php:32
  3. ArtefactTypeComment::get_artefact_comments_for_view() /var/www/mahara/htdocs/artefact/blog/lib.php:840
  4. ArtefactTypeComment::get_comments() /var/www/mahara/htdocs/artefact/comment/lib.php:537
  5. ArtefactTypeComment::build_html() /var/www/mahara/htdocs/artefact/comment/lib.php:470