Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 Feb 2008 at 16:33 UTC
Updated:
4 Apr 2008 at 22:23 UTC
Jump to comment: Most recent file
This patch removes this notice:
Undefined property: stdClass::$last_open in includes/xmlrpc.inc on line 259.
Reported by Zlender in irc. To test, run something like the following after bootstrap:
xmlrpc('http://path/to/xmlrpc.php', 'blogger.getUsersBlogs', 'foo', $username, $password);
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 226555jv.patch | 845 bytes | jvandyk |
| #5 | 226555.test_.txt | 496 bytes | vladimir.dolgopolov |
| #3 | xmlrpcnoticefix.patch | 838 bytes | Rok Žlender |
| #2 | xmlrpcnoticefix.patch | 1.22 KB | Rok Žlender |
| noxmlrpcnoticejv.patch | 842 bytes | jvandyk |
Comments
Comment #1
webchickSubscribe. I saw this with a module I was trying to port recently.
Comment #2
Rok Žlender commentedI changed your patch a bit and it now removes all notices. Please check first change in my patch if it is ok not sure if we are checking if is_date is set or if its true.
Comment #3
Rok Žlender commentedRemoved is_date problem. So now this patch only tackles what is described in description. It works well for me and it removes silly exceptions in simpletest.
Comment #4
jvandyk commentedPatch in #3 removes the notice.
Comment #5
vladimir.dolgopolov commentedI have written the test for it for Simpletest module.
Unfortunately, one hasn't assertError() method, so there will be:
Before patch: 0 passes, 0 fails and 1 exceptions.
After patch: 0 passes, 0 fails and 0 exceptions.
Comment #6
gábor hojtsyI'd add parenthesis to make sure what is the priorities. Otherwise looks good. Thanks Vladimir for the tests!
Comment #7
jvandyk commentedI think this is what you meant by adding parentheses.
Comment #8
dries commentedI've committed this to CVS HEAD. Thanks all. I'm moving this down to Drupal 6 for Gabor to review.
Comment #9
gábor hojtsyThanks, committed to Drupal 6 as well.
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.