View Issue Details

IDProjectCategoryView StatusLast Update
0000863OXID eShop (all versions)2. ----- eShop backend (admin) -----public2009-05-08 16:29
ReporterMichaelZ Assigned To 
PriorityurgentSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.1 revision 18442 
Fixed in Version4.1.2 revision 18998 
Summary0000863: Allowed memory size exhausted in Administer Products -> Products -> Extended
DescriptionWe discovered this issue in version 4.0.1.0-15990 but is still present in current version 4.1.1-18442.

In a large database (we discovered this with a product database with 35000 articles, but may also appear with smaller databases) when you select the "Extended" tab in the Administer Products -> Products menu you get a memory limit exhausted error (with a memory limit of 30M as recommended in the setup routine).

As the error message states the error occurs somewhere in the file article_extend.php in the admin package in the body of the while loop that starts in line 117.

The problem is the field "bundled product" which allows the admin to select a product that is bundled for free with the edited product. This select box is filled with all the products in the shop except the one that is currently edited which in our case returns about 35000 products. Building the object hierarchy for this amount of data exhausts the memory limit.

Although rising the memory limit is not really an option I tested this on another server with a memory limit of 64M with the same result.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

vilma_liorensaityte

2009-05-08 16:29

reporter   ~0000889

added ajax list for bundle assignment