← Back to team overview

mahara-contributors team mailing list archive

[Bug 1416935] [NEW] Incorrect debug message

 

Public bug reported:

The debug info in the following section appears to be incorrect

/mahara/auth/lib.php:
 2604      public static function save_instance_config_options($values, Pieform $form) {
 2605          throw new SystemException('This plugin claims to have instance config but does not define a '
 2606:            . 'submit_instance_config_options() method. Most likely it is still using the get_config_options() '
 2607             . 'method for this purpose. Please ask the developer to upgrade the plugin.');
 2608      }

I believe that
submit_instance_config_options()
should be changed to
save_instance_config_options()

and
get_config_options()
should be changed to
save_config_options()

This was encountered when attempting to install the (oldish) Shibboleth
plugin on Mahara 1.10.

Please ask if you require more information.

** Affects: mahara
     Importance: Undecided
         Status: New

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

Title:
  Incorrect debug message

Status in Mahara ePortfolio:
  New

Bug description:
  The debug info in the following section appears to be incorrect

  /mahara/auth/lib.php:
   2604      public static function save_instance_config_options($values, Pieform $form) {
   2605          throw new SystemException('This plugin claims to have instance config but does not define a '
   2606:            . 'submit_instance_config_options() method. Most likely it is still using the get_config_options() '
   2607             . 'method for this purpose. Please ask the developer to upgrade the plugin.');
   2608      }

  I believe that
  submit_instance_config_options()
  should be changed to
  save_instance_config_options()

  and
  get_config_options()
  should be changed to
  save_config_options()

  This was encountered when attempting to install the (oldish)
  Shibboleth plugin on Mahara 1.10.

  Please ask if you require more information.

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


Follow ups

References