View Issue Details

IDProjectCategoryView StatusLast Update
0004902OXID eShop (all versions)2.4. Administer productspublic2013-06-11 10:50
Reporterleofonic Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.3 / 5.0.3 revision 54408 
Target Version4.7.5 / 5.0.5Fixed in Version4.7.6 / 5.0.6 
Summary0004902: updateUpcomingPrices sets wrong varmin prices
Descriptionoxarticle::_setVarMinMaxPrice was changed in 0004701. But periodically once a day oxarticlelist::updateUpcomingPrices is called, which calculates minmax prices wrong, not taking into account oxactive and prices inherited from parent.

A better way would be to fetch all articles that need updating, and update them with oxarticle object one by one, so onChange gets executed.

btw "once a day" means that a product can appear in the shop a whole day with the wrong price. "Once an hour" would be more appropriate.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

has duplicate 0004990 resolvedLinas Kukulskis updateUpcomingPrices calculates wrong varminprice values 

Activities

Linas Kukulskis

2013-05-08 14:58

reporter   ~0008689

added activity check etc

leofonic

2013-05-26 11:44

reporter   ~0008721

If this is supposed to be fixed in latest git dev repo, it is not fully resolved. If price of father is 5, first variant is 7, second variant is 0, price shown at parent is "from 5", which is correct. After oxmaintenance is executed, price shown at parent is "7".

Linas Kukulskis

2013-06-11 10:50

reporter   ~0008763

changed sql code to direct article call