← Back to team overview

mahara-contributors team mailing list archive

[Bug 1815953] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9565
Committed: https://git.mahara.org/mahara/mahara/commit/9f0316712f66da702df4507d6fa3d8492e1380b1
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 9f0316712f66da702df4507d6fa3d8492e1380b1
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Feb 15 08:15:04 2019 +1300

Bug 1815953: Need to pass versioning as false when countcomments is true

and we got to 2nd page of pagination in a blog block

behatnotneeded

Change-Id: Ia6b3401ca63b7f2a25cc415726d51bb0400ef8d8
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
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/1815953

Title:
  Undefined index "versioning" in blogpost block rendering

Status in Mahara:
  Fix Committed
Status in Mahara 18.10 series:
  In Progress
Status in Mahara 19.04 series:
  Fix Committed

Bug description:
  Undefined index: versioning

  Call stack (most recent first):
  * log_message(string(size 27), integer, true, true, string(size 85), integer) at ***/lib/errors.php:520
  * error(integer, string(size 27), string(size 85), integer, array(size 20)) at ***/artefact/blog/lib.php:1087
  * ArtefactTypeBlogPost::get_posts(string(size 7), integer, integer, array(size 4)) at ***/artefact/blog/lib.php:342
  * ArtefactTypeBlog->render_self(array(size 4)) at ***/artefact/artefact.php

  When we enable the option 'countcomments' we also check the
  'versioning' so we need to pass the $versioning value in as part of
  the options

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


References