[Tickets #10645] Re: picture leftover after delete

bugs at horde.org bugs at horde.org
Sat Oct 15 15:23:57 UTC 2011


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/10645
------------------------------------------------------------------------------
  Ticket           | 10645
  Aktualisiert Von | michael at bigmichi1.de
  Zusammenfassung  | picture leftover after delete
  Warteschlange    | Ansel
  Version          | 2.0-ALPHA1
  Typ              | Bug
  Status           | Assigned
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       | Michael Rubinsky
------------------------------------------------------------------------------


michael at bigmichi1.de (2011-10-15 15:23) hat geschrieben:

i did a little bit of basic  debugging and added some  
Horde::debug("LOG") to both methods that read and write ansel_hashes.  
i added a picture and nothing were logged. so i looked where the  
methods are called and found a place in Gallery.php -> getKeyImage()  
and here it never goes into the second if where ensureHash is called.  
so i played around with both style settings for that gallery were i  
upload my test pictures to. but no change. i only noticed that i can't  
set another preview style, after choosing another than "simple  
preview" and save and reopen properties it's still "simple preview",  
perhaps that is the problem in my case that i need to choose another  
preview style to get hashes working and than also pictures were all  
deleted.
but if this is the case that the pictures in the hash directory are  
only needed for some styles other than simple preview, than the  
question is why are they generated and saved so that they are not  
deleted when deleting a picture





More information about the bugs mailing list