myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1437) An AJAX call with 304 (not modified) and createOverlay=false leads to an browser error
Date Fri, 16 Jan 2015 15:26:34 GMT

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

Hudson commented on TOBAGO-1437:
--------------------------------

SUCCESS: Integrated in tobago-trunk #1310 (See [https://builds.apache.org/job/tobago-trunk/1310/])
TOBAGO-1437: An AJAX call with 304 (not modified) and createOverlay=false leads to an browser
error (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1652420)
* /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js


> An AJAX call with 304 (not modified) and createOverlay=false leads to an browser error
> --------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1437
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1437
>             Project: MyFaces Tobago
>          Issue Type: Bug
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 2.0.6
>
>
> The error occures in the tobago.js in the overlay.overlay("destroy") call. In the given
case the overlay variable is not an overlay.
> {code}
>       case Tobago.Updater.CODE_NOT_MODIFIED:
>         if (typeof this.afterDoUpdateNotModified == 'function') {
>           this.afterDoUpdateNotModified();
>         }
>         overlay.overlay("destroy");
>         break;
> {code}
> Resolution: checking the existence of an overlay with
> {code}
> overlay.data("tobagoOverlay") != null
> {code}



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

Mime
View raw message