View Issue Details

IDProjectCategoryView StatusLast Update
0001590OXID eShop (all versions)2. ----- eShop backend (admin) -----public2010-05-21 15:32
ReporterMoehlis Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.2.0 revision 23610 
Fixed in Version4.3.2 revision 27884 
Summary0001590: OXRATING and OXRATINGCNT not set to 0 when copying article
Descriptionwhen 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.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

Moehlis

2010-01-05 11:41

reporter   ~0002256

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 );

sarunas_valaskevicius

2010-05-19 14:30

reporter   ~0002937

fixed in Article_Main::copyArticle