View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001100 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2009-07-15 15:10 | 2012-12-10 14:22 |
Reporter | philipp_grashoff | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.3 revision 19918 | ||||
Fixed in Version | 4.1.4 revision 21266 | ||||
Summary | 0001100: calculation of amount of exported products is wrong if price filter is applied | ||||
Description | In 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. | ||||
Tags | Export, Import | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
|
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 :) |
|
Knowing how much products were exported is more valuable than percental progress, so display how many products were exported. |
|
fixed problem by changing output - now it shows how many items were exported |