[ansel] Bug

Michael Rubinsky mrubinsk at horde.org
Wed Jul 23 05:22:55 UTC 2008


Quoting David Cummings <lupinsansei_st at yahoo.com>:

> Upon calling getGalleries in my code I get the following error:
> Fatal error:  Call to undefined method  
> MDB2_BufferedResult_mysql::getAll() in  
> /srv/vhost/sites/www.metal.com/apps/ansel/lib/Ansel.php on line 2916
> The line in Ansel:
> $ids = $result->getAll();
> I checked my version against the latest HEAD snapshot and there are  
> no changes for that segment; my calling code is:
> $l = $registry->call('images/getGalleries', array(array(),  
> $current_parent, array(Auth::getAuth())));
> where $current_parent = 'ansel', and the slug in question just  
> happens to equal the username(ie. getAuth()). I know the gallery  
> exits with that slug name since I make other successful calls  
> against those parameters.
>
> Is it the code or am I calling the function incorrectly?

Nope, your code is correct. There were some errors in the code. Fixed  
with this commit:

http://lists.horde.org/archives/cvs/Week-of-Mon-20080721/081387.html


Thanks for the testing and report!

Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/ansel/attachments/20080723/70f7353b/attachment.bin 


More information about the ansel mailing list