[
https://issues.jboss.org/browse/RF-13552?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč updated RF-13552:
----------------------------
Description:
{code}
<partial-response>
<changes>
<extension
id="org.richfaces.extension"><complete>alert('oncomplete')</complete><render>messages</render></extension>
<extension
id="org.richfaces.extension"><complete>alert('oncomplete')</complete><render>messages</render></extension>
</changes>
</partial-response>
{code}
---
The reason is that EPVCFactory is called twice:
* first, it gets PVCFactory as a constructor,
* but second, it gets EPVCFactory
So at the end, we have EPVC wrapped in EPVC which wraps PVC:
{code}
EPVC(EPVC(PVC))
{code}
The workaround is detecting this behavior in the EPVCFactory
https://github.com/richfaces/richfaces/blob/master/framework/src/main/jav...
and do not wrap EPVC when context provided from parentFactory is EPVC and return that
context directly.
---
Additionally we should coordinate with JRebel to resolve this issue there.
was:
The reason is that EPVCFactory is called twice:
* first, it gets PVCFactory as a constructor,
* but second, it gets EPVCFactory
So at the end, we have EPVC wrapped in EPVC which wraps PVC:
{code}
EPVC(EPVC(PVC))
{code}
The workaround is detecting this behavior in the EPVCFactory
https://github.com/richfaces/richfaces/blob/master/framework/src/main/jav...
and do not wrap EPVC when context provided from parentFactory is EPVC and return that
context directly.
---
Additionally we should coordinate with JRebel to resolve this issue there.
EPVC includes <extension> tag twice when JRebel is used
-------------------------------------------------------
Key: RF-13552
URL:
https://issues.jboss.org/browse/RF-13552
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component
Reporter: Lukáš Fryč
{code}
<partial-response>
<changes>
<extension
id="org.richfaces.extension"><complete>alert('oncomplete')</complete><render>messages</render></extension>
<extension
id="org.richfaces.extension"><complete>alert('oncomplete')</complete><render>messages</render></extension>
</changes>
</partial-response>
{code}
---
The reason is that EPVCFactory is called twice:
* first, it gets PVCFactory as a constructor,
* but second, it gets EPVCFactory
So at the end, we have EPVC wrapped in EPVC which wraps PVC:
{code}
EPVC(EPVC(PVC))
{code}
The workaround is detecting this behavior in the EPVCFactory
https://github.com/richfaces/richfaces/blob/master/framework/src/main/jav...
and do not wrap EPVC when context provided from parentFactory is EPVC and return that
context directly.
---
Additionally we should coordinate with JRebel to resolve this issue there.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira