-
Type:
Bug Report
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.2.1-RC1
-
Fix Version/s: 5.2.1
-
Component/s: Links
-
Labels:None
-
Change Log Group:Fixed
-
Change Log Message:Fixed out of memory error during inclusion of link detail page template.
-
Copy Issue Key:
-
Patch Instructions:
Each In-Portal module offers 2 basic templates for the items that can be created within that module:
list template - lists all items within a category
detail template - shows details about individual item
The In-Link module has improved that system by allowing an end user to specify (in the CustomTemplate field in database) a per-item detail template override. Technically this is done by placing DisplayDetailTemplate tag into the actual detail template. Then tag will decide whatever the default or the user override template needs to be shown.
Problem is that in that tag, we're processing given template name not via <inp2:m_Include template="..."/> tag, but via <inp2:m_RenderElement name="..."/> tag. In retrospective it turns out that this was very bad idea, when the include template as another m_Include/m_RenderElement tags on it.
Here is a fix: replace ParseBlock with IncludeTemplate on the link_tag_processor.php file, in the DisplayDetailTemplate tag.
- mentioned in
-
Page Loading...