ICEfaces
  1. ICEfaces
  2. ICE-6707

ice:outputResource delivering zero-length files

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      icefaces2/branches/icefaces-2.0.x-maintenance branch, rev. # 24263, component-showcase sample.
    • Affects:
      Sample App./Tutorial

      Description

      Using the outputResource demo on component showcase with FF, Chrome, or Safari, if you click each link/button in sequence, once you click the final "submit" image button, you will receive a zero-length document.

      Once the zero-length error occurs once, it seems to mess up subsequent usages of the component for the session.

      1. screenshot-01.png
        121 kB
      2. screenshot-02.png
        123 kB
      3. screenshot-03.png
        229 kB

        Activity

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Assignee Priority P1
        Assignee Yip Ng [ yip.ng ]
        Ken Fyten made changes -
        Summary Regression: ice:outputResource delivering zero-length files ice:outputResource delivering zero-length files
        Salesforce Case []
        Affects Version/s 2.0.0 [ 10230 ]
        Affects Version/s 2.0.1 [ 10255 ]
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Salesforce Case []
        Description Using the outputResource demo on component showcase with FF, Chrome, or Safari, if you click each link/button in sequence, once you click the final "submit" image button, you will receive a zero-length document. Once this occurs, it seems to mess up the applications state such that new sessions will experience similar issues until a server restart occurs.

        Using the outputResource demo on component showcase with FF, Chrome, or Safari, if you click each link/button in sequence, once you click the final "submit" image button, you will receive a zero-length document.

        Once the zero-length error occurs once, it seems to mess up subsequent usages of the component for the session.

        Hide
        yip.ng added a comment - - edited

        Can't reproduce in FF. See video at http://screencast.com/t/hn5qjXHnexqP.

        Can't reproduce in Chrome. See video at http://screencast.com/t/HABOLaxJm.

        Reproducible in Safari. It shows an empty screen with an error message in the console. See screenshots 1 and 2. Need to figure out what the message means.

        (Above tested using icefaces2 trunk.)

        Show
        yip.ng added a comment - - edited Can't reproduce in FF. See video at http://screencast.com/t/hn5qjXHnexqP . Can't reproduce in Chrome. See video at http://screencast.com/t/HABOLaxJm . Reproducible in Safari. It shows an empty screen with an error message in the console. See screenshots 1 and 2. Need to figure out what the message means. (Above tested using icefaces2 trunk.)
        yip.ng made changes -
        Attachment screenshot-01.png [ 13022 ]
        yip.ng made changes -
        Attachment screenshot-02.png [ 13023 ]
        yip.ng made changes -
        Attachment screenshot-03.png [ 13025 ]
        Hide
        yip.ng added a comment -

        Not much useful info. about error message can be found on the web. However, the message also shows up for some JS files, and component showcase still seems to work fine. See screenshot 3.

        Show
        yip.ng added a comment - Not much useful info. about error message can be found on the web. However, the message also shows up for some JS files, and component showcase still seems to work fine. See screenshot 3.
        Hide
        Ken Fyten added a comment -

        This issue is readily reproducible on my mac using FF 4.

        Show
        Ken Fyten added a comment - This issue is readily reproducible on my mac using FF 4.
        Hide
        yip.ng added a comment -

        My FF is 3.6.16.

        Show
        yip.ng added a comment - My FF is 3.6.16.
        Hide
        yip.ng added a comment - - edited

        Last two links use the same Resource object wrapping an input stream. Somehow after one of them is served, the other will return nothing from the input stream. (Happens in Safari only on my machine.)

        Show
        yip.ng added a comment - - edited Last two links use the same Resource object wrapping an input stream. Somehow after one of them is served, the other will return nothing from the input stream. (Happens in Safari only on my machine.)
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24283 Tue Mar 29 14:55:07 MDT 2011 yip.ng ICE-6707: ice:outputResource delivering zero-length files.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24284 Tue Mar 29 14:56:15 MDT 2011 yip.ng ICE-6707: ice:outputResource delivering zero-length files.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java
        Hide
        yip.ng added a comment -

        Tentative fix works for Safari. See video at http://screencast.com/t/pHOmVPYJqjkD.

        Show
        yip.ng added a comment - Tentative fix works for Safari. See video at http://screencast.com/t/pHOmVPYJqjkD .
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24288 Tue Mar 29 15:22:17 MDT 2011 yip.ng ICE-6707: ice:outputResource delivering zero-length files.
        Files Changed
        Commit graph MODIFY /icefaces2/tags/icefaces-2.0.1/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java
        Hide
        yip.ng added a comment -

        Works also for Firefox 4. See video at http://screencast.com/t/o1sPSns9Fgb.

        Show
        yip.ng added a comment - Works also for Firefox 4. See video at http://screencast.com/t/o1sPSns9Fgb .
        Hide
        yip.ng added a comment - - edited

        Revision: 24283


        Modified : /icefaces2/trunk/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java

        Revision: 24284


        Modified : /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java

        Revision: 24288


        Modified : /icefaces2/tags/icefaces-2.0.1/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java

        Show
        yip.ng added a comment - - edited Revision: 24283 Modified : /icefaces2/trunk/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java Revision: 24284 Modified : /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java Revision: 24288 Modified : /icefaces2/tags/icefaces-2.0.1/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Affects [Sample App./Tutorial]
        Assignee Priority P1
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            yip.ng
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: