ModelContextTag does not properly clear the model when set to null
Description
Attachments
1
Activity
Show:

Michael Saechang May 23, 2012 at 10:20 AM
Committed on:
Portal 6.1.x CE GIT ID: 89ec135fd174df09048ebfe49bcbb587f00c861a.
Portal 6.2.x GIT ID: cd669dbcbaaf39909a42240c9b84c5c7caf2f9d0.

Igor Spasic May 21, 2012 at 7:45 AM
Hey Jelmer, thank you for reporting this issue and providing the patch! Fixed right away.

Jelmer Jelmer November 2, 2010 at 8:55 AMEdited
patch fixes the issue
Fixed
Details
Assignee
Michael SaechangMichael Saechang(Deactivated)Reporter
Jelmer JelmerJelmer JelmerBranch Version/s
6.1.xBackported to Branch
CommittedLiferay Contributor's Agreement
AcceptGit Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Branch Version/s
6.1.x
Backported to Branch
Committed
Liferay Contributor's Agreement
Accept
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created November 2, 2010 at 8:55 AM
Updated June 24, 2023 at 3:59 PM
Resolved May 22, 2012 at 9:53 AM
when you set the model attribute of a ModelContextTag to null like this
<aui:model-context model="<%= null %>" />
then the aui:model-context:model pageContext attribute is not removed as it should be