[Tickets #6564] Re: "Photos not found" error in lib/Ansel.php

bugs at horde.org bugs at horde.org
Sat Apr 12 13:36:15 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6564
-----------------------------------------------------------------------
 Ticket             | 6564
 Updated By         | tinu at humbapa.ch
 Summary            | "Photos not found" error in lib/Ansel.php
 Queue              | Ansel
 Type               | Bug
 State              | Feedback
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             | Michael Rubinsky
-----------------------------------------------------------------------


tinu at humbapa.ch (2008-04-12 09:36) wrote:

> Are you sure you are using the latest CVS code?

yes

> If you are running latest CVS, please give a detailed
> description of how to reproduce (what gallery style you are using,
> what exact page the error is thrown on etc...)

I'm using the default settings when I add a gallery. the error
occurs when I view the main gallery. e.g.:
http://www.humbapa.ch/horde/ansel/view.php?view=Gallery&gallery=2
(the PEAR-error should popup in a new window)

> The image tiles in the gallery views are actually obtained via
> Ansel_Gallery::getChildren() - which (should) take into account any
> subgalleries before it calls getImages().

getChildren() only calls getImages() if there is room for some more
images. so, if there is room (e.g. only 1 subgallery) getImages() returns
"Photos not found" if there aren't any more photos. this error message is
correct, but from my view it doesn't make much sense to raise an error if
there are subgalleries with photos. maybe one could log that with
PEAR_NOTICE...




More information about the bugs mailing list