Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.5

Bug #14872 Notice: Trying to get property of non-object
Submitted: 2008-10-25 09:23 UTC
From: doconnor Assigned: makoto
Status: Closed Package: Services_Hatena (version CVS)
PHP Version: 5.2.4 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 40 - 25 = ?

 
 [2008-10-25 09:23 UTC] doconnor (Daniel O'Connor)
Description: ------------ Tests are broken in CVS Test script: --------------- pear run-tests Expected result: ---------------- Test passes Actual result: -------------- 308) /home/clockwerx/pear/Services_Hatena/tests/Bookmarknum.phpt expected string <586> difference <xxx???????????????????????????????????????????????????????????????????????????????????????????????????????????????????> got string <Notice: Trying to get property of non-object in /home/clockwerx/pear/Services_Hatena/Hatena/Bookmarknum.php on line 61>

Comments

 [2008-10-25 09:23 UTC] doconnor (Daniel O'Connor)
Other broken tests: 303) /home/clockwerx/pear/Services_Hatena/tests/Exist.phpt --- Expected +++ Actual @@ -1 +1,2 @@ -190 \ No newline at end of file +Notice: Undefined offset: 2 in /home/clockwerx/pear/Services_Hatena/Hatena/Exist.php on line 94 +352 \ No newline at end of file 304) /home/clockwerx/pear/Services_Hatena/tests/Autolink.phpt expected string <This <a class="keyword" target="_blank" href="http://d.hatena.ne.jp/keyword/is">is</a> a <a class="keyword" target="_blank" href="http://d.hatena.ne.jp/keyword/test">test</a>.> difference < xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx???????????????????????????????????????????????????????????????????????????????> got string <This is a <a class="keyword" target="_blank" href="http://d.hatena.ne.jp/keyword/test">test</a>.> 305) /home/clockwerx/pear/Services_Hatena/tests/Asin.phpt expected string <84> difference <xx?????????????????????????????????????????????????????????????????????????????????????????????????????????????> got string <Notice: Trying to get property of non-object in /home/clockwerx/pear/Services_Hatena/Hatena/Asin.php on line 60> 306) /home/clockwerx/pear/Services_Hatena/tests/Search.phpt expected string <12> difference < x> got string <16> 307) /home/clockwerx/pear/Services_Hatena/tests/Similar.phpt --- Expected +++ Actual @@ -1 +1,4 @@ -11 \ No newline at end of file +Notice: Trying to get property of non-object in /home/clockwerx/pear/Services_Hatena/Hatena/Similar.php on line 63 + +Warning: Invalid argument supplied for foreach() in /home/clockwerx/pear/Services_Hatena/Hatena/Similar.php on line 66 +0 \ No newline at end of file
 [2008-11-06 10:53 UTC] doconnor (Daniel O'Connor)
Request #14963 is a way to fix these tests permanently.
 [2008-11-11 15:06 UTC] makoto (Makoto Tanaka)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Services_Hatena Thank you for reporting. I fixed this bug on 0.1.4.