View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002134 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2010-09-25 14:11 | 2012-12-10 13:45 |
Reporter | marco_steinhaeuser | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.4.2 revision 29492 | ||||
Fixed in Version | 4.4.4 revision 30554 | ||||
Summary | 0002134: Cross-linking from one item details view to another runs into an infinite loop | ||||
Description | cross-linking from one item details view to another with [{oxgetseourl type="oxArticle" oxid="OXID_ITEM2"}] and back with [{oxgetseourl type="oxArticle" oxid="OXID_ITEM1"}] runs into an infinite loop | ||||
Steps To Reproduce | On item1's detail page link to another item2 with [{oxgetseourl type="oxArticle" oxid="OXID_ITEM2"}] On item2's detail page link back to item1 with [{oxgetseourl type="oxArticle" oxid="OXID_ITEM1"}] Independent of the memory size, an error message appears like Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 41 bytes) in D:\WebDev\htdocs\oxtest\core\oxbase.php on line 396 | ||||
Additional Information | http://www.oxid-esales.com/forum/showthread.php?t=6902 Find an sql to reproduce and the environment information there. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
The problem was related with article description. On each seo url getter call article parses oxdescription field through smarty and if articles are cross-linked, we got infinite loop. The solution is to reset oxlongdesc field in smarty seo url getter (function.oxgetseourl.php) after creating article object. $oObject = oxNew( $sType ); if ( strtolower($sType) == "oxarticle") { $oObject->oxarticles__oxlongdesc = null; } This prevents article object from parsing long description. |