← Back to team overview

mahara-contributors team mailing list archive

[Bug 1703676] Re: Spelling mistake in xmlrpc config form

 

This reproducible error occurs, after 'Parent authority' or 'We import
content' in the XML-RPC configuration has been changed. Then, the plugin
state switches from 'Active' Yes to No and the plugin can not be re-
activated again.

The provided patch has not been tested yet.

It should be mention, that Mahara runs on PHP 7.1 here.

The missing lines:

[10-Jul-2017 17:08:09 Europe/Berlin] [WAR] cc (auth/xmlrpc/lib.php:952) Undefined index: active
[10-Jul-2017 17:08:09 Europe/Berlin] Call stack (most recent first):
[10-Jul-2017 17:08:09 Europe/Berlin]   * log_message(string(size 23), integer, true, true, string(size 45), integer) at /usr/share/webapps/mahara/lib/errors.php:521
[10-Jul-2017 17:08:09 Europe/Berlin]   * error(integer, string(size 23), string(size 45), integer, array(size 5)) at /usr/share/webapps/mahara/auth/xmlrpc/lib.php:952
[10-Jul-2017 17:08:09 Europe/Berlin]   * PluginAuthXmlrpc::save_instance_config_options(array(size 23), object(Pieform)) at /usr/share/webapps/mahara/lib/mahara.php:1771
[10-Jul-2017 17:08:09 Europe/Berlin]   * call_static_method(string(size 16), string(size 28), array(size 22), object(Pieform)) at /usr/share/webapps/mahara/admin/users/addauthority.php:110
[10-Jul-2017 17:08:09 Europe/Berlin]   * auth_config_submit(object(Pieform), array(size 22)) at /usr/share/webapps/mahara/lib/pieforms/pieform.php:543
[10-Jul-2017 17:08:09 Europe/Berlin]   * Pieform->__construct(array(size 5)) at /usr/share/webapps/mahara/lib/pieforms/pieform.php:164
[10-Jul-2017 17:08:09 Europe/Berlin]   * Pieform::process(array(size 5)) at /usr/share/webapps/mahara/lib/mahara.php:4838
[10-Jul-2017 17:08:09 Europe/Berlin]   * pieform(array(size 5)) at /usr/share/webapps/mahara/admin/users/addauthority.php:81

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

Title:
  Spelling mistake in xmlrpc config form

Status in Mahara:
  In Progress
Status in Mahara 17.04 series:
  Confirmed
Status in Mahara 17.10 series:
  In Progress

Bug description:
  A forum user reported:

  "I experience an annoying failure with the XML-RPC authentication
  plugin:

  [10-Jul-2017 17:08:09 Europe/Berlin] [WAR] cc
  (auth/xmlrpc/lib.php:952) Undefined index: active"

  This is due to a spelling mistake in the field name - it is 'actve'
  instead of 'active'

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


References