mysticfall / pivot4j

Pivot4J provides a common API for OLAP servers which can be used to build an analytical service frontend with pivot style GUI.
Other
128 stars 101 forks source link

Error pivot-grid on PivotComponentBuilder for duplicate id #232

Open mcastillob opened 6 years ago

mcastillob commented 6 years ago

Hi,

I have found the following problem.

03:12:07.839 DEBUG [ViewStateHolder] - Checking for abandoned view states for session : 3A1B035A1F81CE4E8E5636B8F5FB3456 03:12:07.839 DEBUG [ViewStateHolder] - Current view state count for session : 1 03:12:14.122 ERROR [Pivot4JExceptionHandler] - Se ha producido una excepción no controlada java.lang.IllegalStateException: Client-id : txt-1998053880 is duplicated in the faces tree. Component : grid-form:txt-1998053880, path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /view.xhtml][Class: javax.faces.component.html.HtmlBody,Id: body][Class: org.primefaces.extensions.component.layout.Layout,Id: workbench][Class: org.primefaces.extensions.component.layout.LayoutPane,Id: content-pane][Class: org.primefaces.extensions.component.layout.LayoutPane,Id: grid-content-pane][Class: javax.faces.component.html.HtmlForm,Id: grid-form][Class: javax.faces.component.html.HtmlPanelGroup,Id: pivot-grid][Class: org.primefaces.component.panelgrid.PanelGrid,Id: j_id1][Class: org.primefaces.component.row.Row,Id: null][Class: org.primefaces.component.column.Column,Id: col-88020994][Class: javax.faces.component.html.HtmlOutputText,Id: txt-1998053880]}

I have modified hascode by uui, I leave the attached patch patch_fix_duplicade_id.zip