There are a few places in the Services module where checking for variables being set/existing before checking values are causing the log files to fill up with warnings.
Notice: Undefined property: stdClass::$sid in services_session_load() line 872 services.module
Notice: Undefined index: optional in services_method_call() line 397 services.module
Notice: Undefined index: signed in services_get_hash() line 116 services_keyauth.module
Notice: Undefined index: optional in services_admin_browse_test() line 128 services_admin_browse.inc
etc...
This patch simply adds the proper "isset()" calls before checking the values of these variables.
This patch also includes the patch from http://drupal.org/node/823992
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | services-931184.patch | 3.28 KB | kylebrowning |
| #1 | services_931184.patch | 2.79 KB | minoroffense |
Comments
Comment #1
minoroffense commentedComment #3
kylebrowning commented#1: services_931184.patch queued for re-testing.
Comment #5
kylebrowning commentedRe-rolling of patch. Hopefully this one passes :)
Comment #7
kylebrowning commentedI think to get this test to pass we need t be on 6.x-2.x so, gonna try that
Comment #8
kylebrowning commented#5: services-931184.patch queued for re-testing.
Comment #9
kylebrowning commentedCommitted to dev head