View Issue Details

IDProjectCategoryView StatusLast Update
0003284OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:37
Status resolvedResolutionfixed 
Product Version4.5.2 revision 38481 
Target VersionFixed in Version4.5.10 revision 44222 
Summary0003284: deleteArticleMasterPicture with blDeleteMasterPicture = false doesnt work
Descriptionaccording to doc, the delteArticleMasterPicture function in oxpicturehandler should delete all generated pictures and leave the master picture intact when called with third param = false.

That doesnt work, though. I doesnt delete the master, but then tries to delete not existing pictures in out/pictures/1-12
It also doesnt delete generated icon/thumb pictures.
Steps To Reproduceput a bunch of pictures to an article and visit it in frontend to make sure, the other sizes are generated.
now call

$oPicHandler = oxPictureHandler::getInstance();
$oPicHandler->deleteArticleMasterPicture( $this, $i, false );

from somewhere, for example the save function of class oxarticle.
Save the article in admin and check the generated directories: all generated pictures of this article are still there.
TagsNo tags attached.
PHP Versionany
Database Versionany


There are no notes attached to this issue.