← Back to team overview

mahara-contributors team mailing list archive

[Bug 1815953] [NEW] Undefined index "versioning" in blogpost block rendering

 

Public bug reported:

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

** Affects: mahara
     Importance: High
         Status: In Progress

** Affects: mahara/18.10
     Importance: High
         Status: In Progress

** Affects: mahara/19.04
     Importance: High
         Status: In Progress

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
    Milestone: None => 19.04.0

** Also affects: mahara/19.04
   Importance: High
       Status: In Progress

** Also affects: mahara/18.10
   Importance: Undecided
       Status: New

** Changed in: mahara/18.10
    Milestone: None => 18.10.1

** Changed in: mahara/18.10
   Importance: Undecided => High

** Changed in: mahara/18.10
       Status: New => In Progress

-- 
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:
  In Progress
Status in Mahara 18.10 series:
  In Progress
Status in Mahara 19.04 series:
  In Progress

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


Follow ups