View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0002156 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2010-10-13 09:22 | 2015-05-04 15:13 | 
| Reporter | d3 | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.4.3 revision 30016 | ||||
| Fixed in Version | 4.4.5 revision 31315 | ||||
| Summary | 0002156: Zoompicture - records will deleted from oxarticles | ||||
| Description | If you upload 2 or more pictures, the oxarticles__oxzoom1 - n become the filename of the zoompictures.  Like: 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 Reproduce | 1. 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 Information | I 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 ;  | ||||
| Tags | Image Conversion | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||