You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/06/02 00:22:17 UTC

[jira] [Commented] (TAP5-2339) Ajax exception frame complains about "Function expected" in IE8

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

ASF subversion and git services commented on TAP5-2339:
-------------------------------------------------------

Commit a949d55e7b5dfbc590e5b0ad3e557ef1143922ae in tapestry-5's branch refs/heads/master from [~hlship]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=a949d55 ]

TAP5-2339: Ajax exception frame complains about "Function expected" in IE8

Resolution involves not re-using the exception container; this seems like it can be a race condition in IE8


> Ajax exception frame complains about "Function expected" in IE8
> ---------------------------------------------------------------
>
>                 Key: TAP5-2339
>                 URL: https://issues.apache.org/jira/browse/TAP5-2339
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Chris Poulsen
>            Assignee: Howard M. Lewis Ship
>              Labels: 54_release_prerequisite, patch
>             Fix For: 5.4
>
>         Attachments: 0001-TAP5-2339-Don-t-reuse-the-exception-report-container.patch, 0001-cause-require-is-not-a-function-error-on-index-page.patch
>
>
> It is the following code that fails: 
> <script type="text/javascript">require(["t5/core/pageinit"], function(pi) { pi([], ["bootstrap/collapse","t5/core/zone"]); });</script>
> Apparently "require" is the object it is instantiated to be (init config), not the product of require.js being loaded.
> To reproduce create a T5.4 quickstart app and throw a RuntimeException in void onAjax() (Index.java).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)