BlogAPI test has an exception
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | tests |
| Category: | bug report |
| Priority: | critical |
| Assigned: | boombatower |
| Status: | closed |
Jump to:
35 passes, 10 fails and 5 exceptions.
Failures:
Request for user's blogs returned correctly. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 44] [Other] Fail
Post created. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 55] [Other] Fail
Recent post list retreived. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 61] [Other] Fail
Post found. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 67] [Other] Fail
Post successfully modified. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 72] [Other] Fail
File successfully uploaded. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 82] [Other] Fail
Uploaded contents verified. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 88] [Other] Fail
Post categories set. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 93] [Other] Fail
Category list successfully retreived. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 97] [Other] Fail
Post successfully deleted. at [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 105] [Other] Fail
Exceptions:
Unexpected PHP error [Undefined variable: blog_id] severity [E_NOTICE] in [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 54] [PHP] Exception
Unexpected PHP error [Undefined variable: blog_id] severity [E_NOTICE] in [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 60] [PHP] Exception
Unexpected PHP error [Undefined variable: blog_id] severity [E_NOTICE] in [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 81] [PHP] Exception
Unexpected PHP error [Undefined property: stdClass::$is_date] severity [E_NOTICE] in [/Applications/MAMP/htdocs/head/includes/xmlrpc.inc line 70] [PHP] Exception
Unexpected PHP error [array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object] severity [E_WARNING] in [/Applications/MAMP/htdocs/head/modules/blogapi/blogapi.test line 84] [PHP] Exception

#1
This was one of the several issues that I brought up at the sprint that was ignored during and after.
http://drupal.org/node/245955
Which is part of a list of other issues that were never dealt with.
http://groups.drupal.org/node/10099
The patch
simpletest_review_blogapi_xmlrpc.patchcould be applied, but to fix all possible cases I thinkdrupal_http_requestshould be modified in a similar fashion.#2
Patch for this issue here: http://drupal.org/node/260778.
#3
Should be re-evaluated after patch is committed.
#4
#260778: Add SimpleTest user agent information to drupal_http_request fixed this.
#5
Not quite..
# Blog API functionality: 47 passes, 0 fails, 1 exception
caused by:
Undefined property: stdClass::$is_date Notice xmlrpc.inc 70#6
There is already an issue for it since not related to test. #245961: XMLRPC value_calculate_type throws exception been there for some time.
#7
OK, let's set to postponed then, so this comes up in searches.
#8
Patch for issue, waiting for review.
This test passes with NO EXCEPTIONS with the patch!
#9
Patch went in!
Now passes with no exceptions.
#10
Automatically closed -- issue fixed for two weeks with no activity.