ICEfaces
  1. ICEfaces
  2. ICE-7644

Using ice:dataTable totally spams the server log due to System.out.println statement in HtmlDataTable.java

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.RC2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      GlassFish 3.1.2 w/ Mojarra 2.1.4

      Description

      After updating from 2.1-Beta2 to 3.0.RC2 the server log is spammed with the following log message block:

      INFO: UISeriesBase.restoreChildState() Doer: HtmlDataTable On: UIColumns id: j_idt79
      INFO: UISeriesBase.restoreChildState() Doer: HtmlDataTable On: HtmlOutputText id: rowData
      INFO: UISeriesBase.restoreChildState() Doer: HtmlDataTable On: HtmlOutputText id: j_idt80
      INFO: UISeriesBase.restoreChildState() Doer: HtmlDataTable On: UIInstructions id: j_idt81

      This is a redirect from System.out to the server log. The message is created in HtmlDataTable.java line 306:

      303: protected void resetChildClientId(FacesContext facesContext,
      304: UIComponent component) {
      305: String id = component.getId();
      306: System.out.println("UISeriesBase.restoreChildState() Doer: " + getClass().getSimpleName() + " On: " + component.getClass().getSimpleName() + " id: " + id);
      307: component.setId(id);
      308: Iterator children = component.getFacetsAndChildren();
      309: while (children.hasNext()) {
      310: resetChildClientId(facesContext, (UIComponent) children.next());
      311: }
      312: }

      Link to file in SVN: http://sventon.icefaces.org/svn/showfile.svn?name=repo&revision=HEAD&path=%2Ficefaces3%2Ftrunk%2Ficefaces%2Fcompat%2Fcomponents%2Fsrc%2Fmain%2Fjava%2Fcom%2Ficesoft%2Ffaces%2Fcomponent%2Fext%2FHtmlDataTable.java

        Activity

        Hide
        A B added a comment -

        Even worse. I use 3.0.0 release and still there is this System.out.println in the code.
        This means that even in a production environment, the server log is spammed.
        Could someone please change the "Affects Version" to 3.0.0

        Show
        A B added a comment - Even worse. I use 3.0.0 release and still there is this System.out.println in the code. This means that even in a production environment, the server log is spammed. Could someone please change the "Affects Version" to 3.0.0

          People

          • Assignee:
            Unassigned
            Reporter:
            Marian Seitner
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: