View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003284 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2011-09-30 14:55 | 2012-12-10 14:37 |
Reporter | tjungcl | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.2 revision 38481 | ||||
Fixed in Version | 4.5.10 revision 44222 | ||||
Summary | 0003284: deleteArticleMasterPicture with blDeleteMasterPicture = false doesnt work | ||||
Description | according 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 Reproduce | put 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(); for($i=1;$i<=12;$i++){ $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. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||