In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000771 [In-Portal CMS] Data Management bug report always 2010-06-10 14:12 2010-11-30 12:48
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.1.1-B1 Product Version 5.0.2
  Target Version 5.1.1 Product Build
Time EstimateNo estimate
Summary 0000771: Script eats up all memory during sub-item list printing
Description I've recently discovered, that when we have sub-item (e.g. phrase, order items) list on the template with per_page="-1" parameter set, then it prints all records related to particular main item (e.g. language, order). This is not a problem, when we have main item ID somehow available on the page or in the url.

When main item ID is missing, then all data from the table is printed. When we have thousands of records in database, then printing them on one page will probably eat up all available memory. This is exactly what I've noticed.

To verify that try to set per_page="-1" for phrase list (under "regional" folder in administrative console) and then just visit phrase listing template from browser.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/f9b46b692ff68bf2
Change Log Message
Estimate Points 0
Attached Files patch file icon always_set_sub_item_list_parent_filter.patch [^] (3,132 bytes) 2010-06-10 14:12 [Show Content]
patch file icon always_set_sub_item_list_parent_filter_v2_(for_510).patch [^] (1,447 bytes) 2010-07-31 09:03 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
parent of 0000915closed (5.1.1)alex Link Comments are not Showing up in Admin 

-  Notes
User avatar (0002626)
Dmitry (manager)
2010-07-30 18:57

Please re-assemble the patch for 5.1.0.
User avatar (0002633)
alex (manager)
2010-07-31 09:03

Re-assembled.
User avatar (0002641)
Dmitry (manager)
2010-08-02 10:56

2nd patch tested good, please commit into 5.1.1
User avatar (0002714)
alex (manager)
2010-08-28 16:14

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000771: Script eats up all memory during sub-item list printing
User avatar (0003070)
Dmitry (manager)
2010-11-30 12:48

Closing released 5.1.1 task.

- Related Changesets
In-Portal CMS: 5.1.x r13882
Timestamp: 2010-08-28 16:14:43
Author: alex
Details ] Diff ]
Fixes 0000771: Script eats up all memory during sub-item list printing
mod - /in-portal/branches/5.1.x/core/kernel/db/dblist.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-11-30 12:48 Dmitry Note Added: 0003070
2010-11-30 12:48 Dmitry Status resolved => closed
2010-11-02 11:18 Dmitry Relationship added parent of 0000915
2010-08-28 16:14 alex Note Added: 0002714
2010-08-28 16:14 alex Status reviewed and tested => resolved
2010-08-28 16:14 alex Fixed in Version => 5.1.1-B1
2010-08-28 16:14 alex Resolution open => fixed
2010-08-28 16:14 alex Assigned To !COMMUNITY => alex
2010-08-28 16:14 alex Changeset attached 5.1.x r13882
2010-08-02 10:56 Dmitry Note Added: 0002641
2010-08-02 10:56 Dmitry Status needs testing => reviewed and tested
2010-07-31 13:19 Dmitry Target Version Icebox => 5.1.1
2010-07-31 09:03 alex Note Added: 0002633
2010-07-31 09:03 alex Assigned To alex => !COMMUNITY
2010-07-31 09:03 alex Status needs work => needs testing
2010-07-31 09:03 alex File Added: always_set_sub_item_list_parent_filter_v2_(for_510).patch
2010-07-30 18:57 Dmitry Note Added: 0002626
2010-07-30 18:57 Dmitry Assigned To !COMMUNITY => alex
2010-07-30 18:57 Dmitry Status needs testing => needs work
2010-06-10 14:12 alex Assigned To => !COMMUNITY
2010-06-10 14:12 alex Developer => alex
2010-06-10 14:12 alex Status active => needs testing
2010-06-10 14:12 alex New Issue
2010-06-10 14:12 alex File Added: always_set_sub_item_list_parent_filter.patch
2010-06-10 14:12 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/f9b46b692ff68bf2



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker