MantisBT - Piwigo
View Issue Details
0002917Piwigoweb APIpublic2013.06.05 11:582013.06.05 12:03
plg 
plg 
normalcrashalways
closedfixed 
2.5.1 
2.5.22.5.2 
any
Apache 1.3.x
0002917: [pwg.images.delete] if the photo is album thumbnail, blocking error on gallery
If you delete a photo that is set as album thumbnail, no problem for deletion and on gallery side you get:

Notice: Undefined index: 65 in .../include/category_cats.inc.php on line 315

...

Catchable fatal error: Argument 2 passed to DerivativeImage::__construct() must be an instance of SrcImage, null given, called in .../include/template.class.php on line 937 and defined in .../include/derivative.inc.php on line 153
No tags attached.
Issue History
2013.06.05 11:58plgNew Issue
2013.06.05 11:58plgStatusnew => assigned
2013.06.05 11:58plgAssigned To => plg
2013.06.05 11:58plgbrowser => any
2013.06.05 11:58plgWeb server => Apache 1.3.x
2013.06.05 12:01svnCheckin
2013.06.05 12:01svnNote Added: 0007020
2013.06.05 12:01svnCheckin
2013.06.05 12:01svnNote Added: 0007021
2013.06.05 12:03plgStatusassigned => closed
2013.06.05 12:03plgResolutionopen => fixed
2013.06.05 12:03plgFixed in Version => 2.5.2

Notes
(0007020)
svn   
2013.06.05 12:01   
[Subversion] r23059 by plg on branch 2.5

-----[Subversion commit log]----------------------------------------------------
bug 2917 fixed: invalidate user cache each time pwg.images.delete is called,
to avoid blocking errors on gallery side if deleted photo is set as album
thumbnail.
(0007021)
svn   
2013.06.05 12:01   
[Subversion] r23060 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r23059 from branch 2.5 to trunk

bug 2917 fixed: invalidate user cache each time pwg.images.delete is called,
to avoid blocking errors on gallery side if deleted photo is set as album
thumbnail.