Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While fixing the simpletest.module I have encountered a strange behaviour of the xmlrpc system (breaking the validator1 compability).
In the function xmlrpc_date() there has recently [1][2][3] been added a iso8601 member variable (in a blogapi patch). However setting this does not consider the possibility of $time beeing a PHP timestamp.
Attached is a patch that makes the behaviour of ->iso8601 consistent (for HEAD).
[1] http://cvs.drupal.org/viewcvs/drupal/drupal/includes/xmlrpc.inc?r1=1.27&...
[2] http://drupal.org/files/issues/blogapi_HEAD.patch
[3] http://drupal.org/node/36079
Comment | File | Size | Author |
---|---|---|---|
xmlrpc.iso8601.patch | 937 bytes | Thomas Ilsche | |
Comments
Comment #1
drewish CreditAttribution: drewish commentedhttp://drupal.org/node/36079 is now marked as fixed...
Comment #2
Thomas Ilsche CreditAttribution: Thomas Ilsche commentedThis problem is not with blogapi but with changes introduced to the xmlrpc libary while patching the blogapi.
Maybe I should have posted this as reply to this issue but I didn't want to complicate matters there.
Comment #3
chx CreditAttribution: chx commentedComment #4
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thank god we have some tests. ;-)
Comment #5
(not verified) CreditAttribution: commented