View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002168 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2010-10-20 16:07 | 2012-12-07 14:27 |
Reporter | webtools | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.4.3 revision 30016 | ||||
Fixed in Version | 4.4.4 revision 30554 | ||||
Summary | 0002168: Picture Handling with copied articles | ||||
Description | After copying 1 article, change 1 of 2 pictures (upload 1 new). Now the ZOOM-picture which is changed and definetly on the server, is shown in the admin-panel. At the front-end, the zoom-picture isn`t shown anymore. So only 1 of 2 pictures is shown. But the article HAS 2 pictures. - the unchanged picture is shown - the new one isn`t shown One of my customers uses the zoom-pictures directly on his detail-sites instead of the oxpic1-x-Pictures. Now he doesn`t get the right pictures out any more. | ||||
Tags | Products | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
has duplicate | 0002169 | closed | birute_meilutyte | Zoom pictures of a master article will be deleted on upload new pictures on the copied article instance |
|
Some Hack: in function copyArticle in admin/article_main.php you can add these code before $oArticle->save() to avoid coping article picture data. Also the oxsoldamount will be set 0 to avoid wrong oxarticlelist::loadTop5Articles handling. Use this of your own rsik!!! Also nice will be to have oxobject2seodata filled data, e.g. description and keywords. But you have to use the seoencoder and a new seourl(how to generate a new unique one?) or direct sql statments to handle this. // reset pictures $oArticle->oxarticles__oxicon = new oxField(); $oArticle->oxarticles__oxthumb = new oxField(); $oArticle->oxarticles__oxpicsgenerated = new oxField( 0 ); $oArticle->oxarticles__oxpic1 = new oxField(); $oArticle->oxarticles__oxpic2 = new oxField(); $oArticle->oxarticles__oxpic3 = new oxField(); $oArticle->oxarticles__oxpic4 = new oxField(); $oArticle->oxarticles__oxpic5 = new oxField(); $oArticle->oxarticles__oxpic6 = new oxField(); $oArticle->oxarticles__oxpic7 = new oxField(); $oArticle->oxarticles__oxpic8 = new oxField(); $oArticle->oxarticles__oxpic9 = new oxField(); $oArticle->oxarticles__oxpic10 = new oxField(); $oArticle->oxarticles__oxpic11 = new oxField(); $oArticle->oxarticles__oxpic12 = new oxField(); $oArticle->oxarticles__oxzoom1 = new oxField(); $oArticle->oxarticles__oxzoom2 = new oxField(); $oArticle->oxarticles__oxzoom3 = new oxField(); $oArticle->oxarticles__oxzoom4 = new oxField(); // clear oxsoldamount to bugfix top5 handling $oArticle->oxarticles__oxsoldamount = new oxField( 0 ); |