[ 
https://issues.apache.org/jira/browse/MYFACES-3156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038429#comment-13038429
 ] 

Werner Punz commented on MYFACES-3156:
--------------------------------------

Hi first of all thanks for reporting this bug. Which 2.1 version are you 
testing? Because after rechecking the current codebase the fix already is in 
http://svn.apache.org/repos/asf/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js
 check for this code _Impl.sendEvent(this._xhr, this._context, _Impl.BEGIN);

Where it used to be
_Impl.sendEvent(this._xhr, _Impl.BEGIN); which caused the bug

You might have run your test against an older codebase. I basically patched 
this bug out several weeks ago.
So the only explanation I have for now is that the 2.1 codebase you are testing 
against is not the latest one but something older.

(Have in mind we have switched the main branch of 2.1 to the trunk so you might 
run on an older branch in your checkouts)

You might run against this branch and file 
http://svn.apache.org/repos/asf/myfaces/core/branches/2.1.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js
 which has the bug still in.



> jsf.js event handler is working incorrect in 2.1.0
> --------------------------------------------------
>
>                 Key: MYFACES-3156
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3156
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Java 1.6.0_24, Tomcat 7.0.14, Richfaces 4
>            Reporter: Rene O
>         Attachments: jsftest.zip
>
>
> It looks like this issue is the same as MYFACES-3080 and MYFACES-3115, which 
> was solved in MyFaces 2.0.6, but now in 2.1.0 it appears again.
> A testcase to reproduce is attached.
> Do the following steps:
> 1.: call http://localhost:8080/jsftest/test.jsf
> 2.: fill something into the input field and press the "Render"-Button
> 3.: you can see in the infobox at top, that no begin-event is recieved. With 
> the current 2.0.6-SNAPSHOT a begin-event is recieved, which is the correct 
> behaviour.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to