Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1.1
-
Fix Version/s: EE-4.1.0.RC1, EE-4.1.0.GA, EE-3.3.0.GA_P04, 4.2.BETA, 4.2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces4 trunk/ EE-3.3.0-maintenance branch r 45915
Browsers: all
Server: Tomcat7
-
Assignee Priority:P2
Description
QA ace:dataTable test application > Row Expansion test:
- the edit function does not work on the sub-rows from the expanded rows; clicking the icon to submit changes does not update the content of the cell on the page.
- when trying to edit the sub-row from the last row, the sub-row remains in editing mode that cannot be closed. After this, the rows can no longer be expanded.
Test app:
http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/dataTable
Test page: /views/rowExpansionTest.jsf
- the edit function does not work on the sub-rows from the expanded rows; clicking the icon to submit changes does not update the content of the cell on the page.
- when trying to edit the sub-row from the last row, the sub-row remains in editing mode that cannot be closed. After this, the rows can no longer be expanded.
Test app:
http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/dataTable
Test page: /views/rowExpansionTest.jsf
Activity
Carmen Cristurean
created issue -
Carmen Cristurean
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 4.1 [ 11375 ] |
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] | |
Fix Version/s | EE-3.3.0.GA_P04 [ 12270 ] | |
Assignee Priority | P3 [ 10012 ] |
Ken Fyten
made changes -
Fix Version/s | EE-4.1.0.GA [ 12171 ] | |
Fix Version/s | 4.1 [ 11375 ] | |
Fix Version/s | EE-3.3.0.GA_P04 [ 12270 ] |
Ken Fyten
made changes -
Fix Version/s | EE-3.3.0.GA_P04 [ 12270 ] |
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] | Mircea Toma [ mircea.toma ] |
Assignee Priority | P3 [ 10012 ] | P2 [ 10011 ] |
Mircea Toma
made changes -
Assignee | Mircea Toma [ mircea.toma ] | Arturo Zambrano [ artzambrano ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48613 | Tue Apr 05 15:49:06 MDT 2016 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/celleditor/CellEditor.java |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Affects Version/s | 4.1.1 [ 12972 ] | |
Affects Version/s | EE-4.0.0.GA [ 11171 ] | |
Affects Version/s | 4.0 [ 11382 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48614 | Tue Apr 05 16:14:33 MDT 2016 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/celleditor/CellEditor.java
|
Liana Munroe
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Arturo Zambrano
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | EE-4.1.0.BETA [ 13072 ] |
Ken Fyten
made changes -
Fix Version/s | 4.2.BETA [ 13091 ] | |
Fix Version/s | 4.2 [ 12870 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I've investigated this extensively, but there's still no solution on the horizon.
What I've noticed so far is that when clicking the edit save or edit cancel buttons, the client-side click events are always fired, and the code follows the expected path: edit save handlers in datatable.js, ice.ace.AjaxRequest in core.js, and even the fullSubmit() function in the bridge, but when handling the request to JSF (jsf.ajax.request), the request never reaches the server. The request appears as 'Pending' in the browser console and never gets a response. Trying to trigger subsequent requests (any kind of request, anywhere in the form) after this happens doesn't send a new request to the server, even though the click event is still fired and the code follows the same path; when reaching jsf.ajax.request no new request is sent.
I also tried sending a request with an ace:pushButton inside an expanded row, but it runs into a very similar problem: no request is sent, and it seems like not even the click event listeners are triggered. I thought this issue could be due to the the fact that the data table renders client ids of expanded rows (and of components inside these rows) separated with period characters ('.') to indicate the row level, so I tried and changed the use of this character for the dash ('-'). After this, the issue with the row editor controls was exactly the same, but the issue with ace:pushButton was fixed: a new request was sent every time the button was clicked, and the request was completed successfully.
So, client ids, containing periods might be part of the problem, especially for certain components, but it's still not clear why the initial row editor request inside an expanded row is never completed.
The same behaviour applies with or without ace:ajax.
I also noticed that the first time an expanded row enters in edit mode, all the individual cell editors are updated twice (i.e. there are two 'update' xml elements in the response for each cell editor.