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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1486269

Title:
  Need to make sure pieform lib is present in comment build_html()

Status in Mahara:
  In Progress
Status in Mahara 15.04 series:
  In Progress

Bug description:
  Otherwise you can end up with:

  PHP Fatal error: Call to undefined function pieform()

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1486269/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to