View Issue Details

IDProjectCategoryView StatusLast Update
0001100OXID eShop (all versions)2. ----- eShop backend (admin) -----public2012-12-10 14:22
Reporterphilipp_grashoff Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.3 revision 19918 
Fixed in Version4.1.4 revision 21266 
Summary0001100: calculation of amount of exported products is wrong if price filter is applied
DescriptionIn Service -> Product Export, you can filter by Min. Gross Price. When doing this, the amount of exported products isnt calculated correctly: It always shows the amount of all products (e. g. "Export running. Export 0 of overall 5"), the price filter isnt applied for the amount calculation.

To Reproduce:
Use PE Demodata, export "Uhren" category, apply price filter of 40. It shows "Export running. Export 0 of overall 5", though only 1 product is exported.
TagsExport, Import
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

arvydas_vapsva

2009-07-20 17:12

reporter   ~0001246

Reason here is simple - initially articles are exported to temporary table according base rules like category it is assigned to, stock, variant info (initial tick, one DB insert from oxarticles table to temporary export table). From here article count is displayed. Only then on each tick articles (~ 40 articles per tick) are fully loaded, price info is calculated and check within user defined value. So total items count cant be shown correctly due to performance reasons. I can offer to change current behaviour and display how many articles were exported, or percental progress, instead of how many will be exported :)

philipp_grashoff

2009-07-21 09:23

reporter   ~0001250

Knowing how much products were exported is more valuable than percental progress, so display how many products were exported.

arvydas_vapsva

2009-07-21 14:00

reporter   ~0001253

fixed problem by changing output - now it shows how many items were exported