[
https://issues.apache.org/jira/browse/TAP5-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14485220#comment-14485220
]
Jochen Kemnade commented on TAP5-2339:
--------------------------------------
It's some kind of race condition when multiple errors are reported in rapid
succession. If I change {{t5/core/exception-report}} not to reuse the container
element but create a new one for each exception, things seem to work file. I'll
attach a proposed patch.
> 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
> Labels: 54_release_prerequisite
> Attachments:
> 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)