View Issue Details

IDProjectCategoryView StatusLast Update
0002156OXID eShop (all versions)4.07. Source code, Testpublic2015-05-04 15:13
Reporterd3 Assigned To 
Status resolvedResolutionfixed 
Product Version4.4.3 revision 30016 
Fixed in Version4.4.5 revision 31315 
Summary0002156: Zoompicture - records will deleted from oxarticles
DescriptionIf you upload 2 or more pictures, the oxarticles__oxzoom1 - n become the filename of the zoompictures.
oxpicsgenerated = 4; oxzoom1 = logo1_z1.jpg; oxzoom2 = logo1_z2.jpg; oxzoom3 = logo1_z3.jpg; oxzoom4 = logo1_z4.jpg;

If you delete one Masterpic (at example the fourth picture), the entries of oxzoom1 - n are set to ''(empty).

The zoom images are still accessible on the frontend, but the filenames are missing in the database.
Steps To Reproduce1. Upload 2 or more pictures to an article.
=> oxzoom1 + 2 - n have records
2. delete one master - picture.
=> oxzoom1 + 2 - n have no records
Additional InformationI could not localize the problem exactly, but if the line 92 commented out on oxpicturehandler, the records persist.
91: $sType = "Z" . $iNr . "@oxarticles__oxzoom" . $iNr;
92: //$oObject->{"oxarticles__oxzoom" . $iNr} = new oxField();
93: $aFiles['myfile']['name'][$sType] = $sNewName;
94: $aFiles['myfile']['tmp_name'][$sType] = $sMasterPictureSource ;
TagsImage Conversion
PHP Versionany
Database Versionany


Linas Kukulskis

2010-11-24 16:44

reporter   ~0003733

on picture delete, delete zoom pictures from file system.