Re: Bug

Michael Rubinsky <[email protected]> Wed, 23 Jul 2008 01:22:55 -0400
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
Quoting David Cummings <[email protected]>:

> 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)
[email protected]

"Time just hates me. That's why it made me an adult." - Josh Joplin

-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBIhsAvTW0K6bINYV4RAl4AAJ93U40PuI8QqKUfGnYk+CToLPMn2wCfWVZ7
Wlwbw7CojyE7lqd6fN/JxjE=
=R48a
-----END PGP SIGNATURE-----