← Back to team overview

mahara-contributors team mailing list archive

[Bug 1703787] Re: Site pages admin pagination ajax [Error]: Call to undefined method View::get_template_views()

 

This was caused by commit b73b5e70b94a1afee19a1245a651a5bd020d58c2 where
we changed the function name to call from View::get_template_views() to
View::get_site_template_views() but forgot to update the
json/viewlist.php to use the same function.


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

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

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

** Changed in: mahara/16.04
    Milestone: None => 16.04.8

** Changed in: mahara/16.10
    Milestone: None => 16.10.5

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

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

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

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

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

Title:
  Site pages admin pagination ajax [Error]: Call to undefined method
  View::get_template_views()

Status in Mahara:
  Confirmed
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  In Progress

Bug description:
  Mahara 16.10.2 (present in .4 too)

  Ajax call to /json/viewlist.php when using pagination or results per
  page dropdown on /admin/site/views.php results in:

  error:true
  error_class:"SystemException"
  error_message:"[Error]: Call to undefined method View::get_template_views()"
  error_name:"SystemException"
  error_number:0
  error_rendered:"A nonrecoverable error occurred. This probably means you have encountered a bug in the system"

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


References