View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001590 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2010-01-05 11:36 | 2010-05-21 15:32 |
Reporter | Moehlis | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.2.0 revision 23610 | ||||
Fixed in Version | 4.3.2 revision 27884 | ||||
Summary | 0001590: OXRATING and OXRATINGCNT not set to 0 when copying article | ||||
Description | when using the copy function in the admin, the fields oxarticles.OXRATING and oxarticles.OXRATINGCNT must be set to 0. Currently for new product (copy) it gives the same values as original product has, what is incorrect. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
fix: article_main.php:259, copyArticle() $oArticle->oxarticles__oxinsert = new oxField( $iNow ); $oArticle->oxarticles__oxtimestamp = new oxField( $iNow ); => $oArticle->oxarticles__oxinsert = new oxField( $iNow ); $oArticle->oxarticles__oxtimestamp = new oxField( $iNow ); $oArticle->oxarticles__oxrating = new oxField( 0 ); $oArticle->oxarticles__oxratingcnt = new oxField( 0 ); |
|
fixed in Article_Main::copyArticle |