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

        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.)
        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.)
        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 .
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: