Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46796

undefined property error when adding a memcache(d) store

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.8
    • Caching
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE
    • MDL-46796-master
    • Hide
      1. Create a memcache store without clustering enabled.
      2. Edit the store and make sure the settings are still the same as entered.
      3. Create a memcached store without clustering enabled.
      4. Edit the store and make sure the settings are still the same as entered.
      5. Create a memcache store with clustering enabled and a set server value.
      6. Edit the store and make sure the settings are still the same as entered.
      7. Create a memcached store with clustering enabled and a set server value.
      8. Edit the store and make sure the settings are still the same as entered.

      If you are feeling really ambitious, the test instructions for MDL-42071 could be run.

      Show
      Create a memcache store without clustering enabled. Edit the store and make sure the settings are still the same as entered. Create a memcached store without clustering enabled. Edit the store and make sure the settings are still the same as entered. Create a memcache store with clustering enabled and a set server value. Edit the store and make sure the settings are still the same as entered. Create a memcached store with clustering enabled and a set server value. Edit the store and make sure the settings are still the same as entered. If you are feeling really ambitious, the test instructions for MDL-42071 could be run.

      This is a regression from MDL-42071.

      When creating a memcache store that does not use a cluster of servers - this warning is shown:

      Notice: Undefined property: stdClass::$setservers in /home/damyonw/Documents/Moodle/integration/master/moodle/cache/stores/memcache/lib.php on line 442
      Call Stack

      1. Time Memory Function Location
        1 0.0001 241608 {main}

        ( ) ../admin.php:0
        2 0.5059 14796408 cache_administration_helper::get_store_configuration_from_data( ) ../admin.php:74
        3 0.5059 14796808 cachestore_memcache::config_get_configuration_array( )

            emerrill Eric Merrill
            damyon Damyon Wiese
            Frédéric Massart Frédéric Massart
            Marina Glancy Marina Glancy
            Marina Glancy Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.