BlogAPI test has an exception

webchick - May 19, 2008 - 01:03
Project:Drupal
Version:7.x-dev
Component:tests
Category:bug report
Priority:critical
Assigned:boombatower
Status:closed
Description

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

boombatower - May 19, 2008 - 06:03

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.patch could be applied, but to fix all possible cases I think drupal_http_request should be modified in a similar fashion.

#2

boombatower - May 21, 2008 - 05:01

Patch for this issue here: http://drupal.org/node/260778.

#3

boombatower - June 2, 2008 - 04:50
Status:active» postponed

Should be re-evaluated after patch is committed.

#4

boombatower - June 24, 2008 - 23:29

#5

webchick - June 25, 2008 - 00:14
Title:BlogAPI tests fail» BlogAPI test has an exception
Status:fixed» active

Not quite..

# Blog API functionality: 47 passes, 0 fails, 1 exception

caused by:

Undefined property: stdClass::$is_date Notice xmlrpc.inc 70

#6

boombatower - June 25, 2008 - 01:08
Status:active» fixed

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

webchick - June 25, 2008 - 01:20
Status:fixed» postponed

OK, let's set to postponed then, so this comes up in searches.

#8

boombatower - June 26, 2008 - 07:23

Patch for issue, waiting for review.

This test passes with NO EXCEPTIONS with the patch!

#9

boombatower - June 28, 2008 - 21:32
Assigned to:Anonymous» boombatower
Status:postponed» fixed

Patch went in!

Now passes with no exceptions.

#10

Anonymous (not verified) - July 12, 2008 - 21:34
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.