ICEfaces
  1. ICEfaces
  2. ICE-9092

REGRESSION - elementUpdate warnings in tomcat log when using Myfaces

    Details

    • Assignee Priority:
      P2

      Description

      ElementUpdate - Input Elements Common: a few warnings are visible in tomcat log while running this test:

      Mar 20, 2013 11:50:16 AM org.apache.myfaces.shared.renderkit.html.HtmlImageRendererBase encodeEnd
      WARNING: Component UIGraphic j_id_y:im2 has no attribute url, value, name or attribute resolves to null. Path to component {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /input-element.xhtml][Class: javax.faces.component.html.HtmlBody,Id: __7][Class: javax.faces.component.html.HtmlForm,Id: j_id_y][Class: javax.faces.component.html.HtmlGraphicImage,Id: im2] Location: /input-element.xhtml at line 116 and column 27}

        Activity

        Hide
        Carmen Cristurean added a comment -

        These warnings have been reported first time for the ICEfaces3 Myfaces Regressions of February 14, 2013, with trunk rev# 33446, however they may occur for a longer time; no tomcat log files have been saved from previous regressions.

        Show
        Carmen Cristurean added a comment - These warnings have been reported first time for the ICEfaces3 Myfaces Regressions of February 14, 2013, with trunk rev# 33446, however they may occur for a longer time; no tomcat log files have been saved from previous regressions.
        Hide
        Ken Fyten added a comment -

        Yes, the warnings refer to two components (im1 & im2) of the same type (Component UIGraphic), here is the entire log message:

        WARNING: Component UIGraphic j_id_s:im1 has no attribute alt or attribute resolves to null. Path to component

        {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /input-element.xhtml][Class: javax.faces.component.html.HtmlBody,Id: __7][Class: javax.faces.component.html.HtmlForm,Id: j_id_s][Class: javax.faces.component.html.HtmlGraphicImage,Id: im1] Location: /input-element.xhtml at line 98 and column 27}

        Mar 20, 2013 1:21:38 AM org.apache.myfaces.shared.renderkit.html.HtmlImageRendererBase encodeEnd
        WARNING: Component UIGraphic j_id_y:im2 has no attribute url, value, name or attribute resolves to null. Path to component

        {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /input-element.xhtml][Class: javax.faces.component.html.HtmlBody,Id: __7][Class: javax.faces.component.html.HtmlForm,Id: j_id_y][Class: javax.faces.component.html.HtmlGraphicImage,Id: im2] Location: /input-element.xhtml at line 116 and column 27}

        Mar 20, 2013 1:21:39 AM org.apache.myfaces.shared.renderkit.html.HtmlImageRendererBase encodeEnd
        WARNING: Component UIGraphic j_id_s:im1 has no attribute alt or attribute resolves to null. Path to component

        {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /input-element.xhtml][Class: javax.faces.component.html.HtmlBody,Id: __7][Class: javax.faces.component.html.HtmlForm,Id: j_id_s][Class: javax.faces.component.html.HtmlGraphicImage,Id: im1] Location: /input-element.xhtml at line 98 and column 27}
        Show
        Ken Fyten added a comment - Yes, the warnings refer to two components (im1 & im2) of the same type (Component UIGraphic), here is the entire log message: WARNING: Component UIGraphic j_id_s:im1 has no attribute alt or attribute resolves to null. Path to component {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /input-element.xhtml][Class: javax.faces.component.html.HtmlBody,Id: __7][Class: javax.faces.component.html.HtmlForm,Id: j_id_s][Class: javax.faces.component.html.HtmlGraphicImage,Id: im1] Location: /input-element.xhtml at line 98 and column 27} Mar 20, 2013 1:21:38 AM org.apache.myfaces.shared.renderkit.html.HtmlImageRendererBase encodeEnd WARNING: Component UIGraphic j_id_y:im2 has no attribute url, value, name or attribute resolves to null. Path to component {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /input-element.xhtml][Class: javax.faces.component.html.HtmlBody,Id: __7][Class: javax.faces.component.html.HtmlForm,Id: j_id_y][Class: javax.faces.component.html.HtmlGraphicImage,Id: im2] Location: /input-element.xhtml at line 116 and column 27} Mar 20, 2013 1:21:39 AM org.apache.myfaces.shared.renderkit.html.HtmlImageRendererBase encodeEnd WARNING: Component UIGraphic j_id_s:im1 has no attribute alt or attribute resolves to null. Path to component {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /input-element.xhtml][Class: javax.faces.component.html.HtmlBody,Id: __7][Class: javax.faces.component.html.HtmlForm,Id: j_id_s][Class: javax.faces.component.html.HtmlGraphicImage,Id: im1] Location: /input-element.xhtml at line 98 and column 27}
        Hide
        yip.ng added a comment - - edited

        MyFaces logs warning in development stage when alt or url attribute is missing: screenshot-01.png.

        The tests are testing toggling of alt and url attributes: screenshot-02.png. Adding back the attributes will defeat the purpose of the tests. Therefore, just changed the project stage to production.

        M: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\core\test\elementUpdate\src\main\webapp\WEB-INF\web.xml#34056

        Show
        yip.ng added a comment - - edited MyFaces logs warning in development stage when alt or url attribute is missing: screenshot-01.png . The tests are testing toggling of alt and url attributes: screenshot-02.png . Adding back the attributes will defeat the purpose of the tests. Therefore, just changed the project stage to production. M: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\core\test\elementUpdate\src\main\webapp\WEB-INF\web.xml#34056

          People

          • Assignee:
            yip.ng
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: