View Issue Details

IDProjectCategoryView StatusLast Update
0002159OXID eShop (all versions)4.07. Source code, Testpublic2012-12-10 13:45
Reporter[email protected] Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.0 revision 28699 
Fixed in Version4.4.4 revision 30554 
Summary0002159: oxpicturehandler::deleteArticleMasterPicture wrong base name
Descriptioncreating object oxarticles when doing assing some parameters, when calling deleteArticleMasterPicture for delleting all imigis for object.
in this line $sMasterImage = $oObject->{"oxarticles__oxpic".$iIndex}->value; getting 1/image_name.jpg, should be image_name.jpg

mine fix:

$sMasterImage = $oObject->{"oxarticles__oxpic".$iIndex}->value;
$sMasterImage = $this->_getBaseMasterImageFileName( $sMasterImage );

TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

rimvydas_paskevicius

2010-10-19 15:29

reporter   ~0003610

Added getting only basename of article master picture in oxpicturehandler::deleteArticleMasterPicture()