Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D8BB7EF6 for ; Tue, 13 Dec 2011 12:34:02 +0000 (UTC) Received: (qmail 30253 invoked by uid 500); 13 Dec 2011 12:34:02 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 30195 invoked by uid 500); 13 Dec 2011 12:34:02 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 30188 invoked by uid 99); 13 Dec 2011 12:34:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 12:34:02 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 12:33:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BA6541100E2 for ; Tue, 13 Dec 2011 12:33:30 +0000 (UTC) Date: Tue, 13 Dec 2011 12:33:30 +0000 (UTC) From: "Werner Punz (Commented) (JIRA)" To: dev@myfaces.apache.org Message-ID: <1950001173.5499.1323779610764.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1295742340.15903.1297720437498.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MYFACES-3043) Ajax: response(...) function breaks if request(...) has not been called previously MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168328#comment-13168328 ] Werner Punz commented on MYFACES-3043: -------------------------------------- I reopened the error egain with https://issues.apache.org/jira/browse/MYFACES-3401, I will add a regression test to my testsuite, so that it will never happen again. > Ajax: response(...) function breaks if request(...) has not been called previously > ---------------------------------------------------------------------------------- > > Key: MYFACES-3043 > URL: https://issues.apache.org/jira/browse/MYFACES-3043 > Project: MyFaces Core > Issue Type: Bug > Components: JSR-314 > Affects Versions: 2.0.4 > Reporter: Nick Belaevski > Assignee: Werner Punz > Fix For: 2.0.5 > > > In RichFaces for file upload component we call jsf.ajax.response(...) method to process contents of IFRAME element. The problem is that this call is not preceded by call to jsf.ajax.request(...), making MyFaces fail: > response : function(request, context) { > this._q._curReq._response.processResponse(request, context); > } > this._q._curReq - is undefined. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira