Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 3, ace:tree, single select mode
-
Assignee Priority:P1
-
Workaround Description:
Description
QA reports the following issue with showcase demo:
Breadcrumbs:
> Overview: JS error occurs in the following scenario:
click on the '+' sign to access cities for a province.
in 'Crumbs with URL's' click on the province name -> user is redirected to the wiki page for that province.
click the Back button in the browser to navigate back to showcase ace:breadcrumbs - Overview page.
select a different province from the breadcrumb menu items -> a JS error is visible in the console:
[window] Error [status: malformedXML code: 200]: During update: crumb-form:crumb-tree::0:2:0: not found
http://localhost:8080/showcase/javax.faces.resource/coalesced.js.jsf?ln=ice.core&dgst=4twnyr
Line 436
Yip's analysis:
Nothing to do with breadcrumbs component. The tree demo has the same problem. See video. Seems like some states or some node ids (the digits in the id is the key to the tree node) are lost once you navigate elsewhere and come back. And it seems to occur only in single select mode. (Tree Overview demo uses multiple select mode, change source to use single select mode to reproduce problem.)
Breadcrumbs:
> Overview: JS error occurs in the following scenario:
click on the '+' sign to access cities for a province.
in 'Crumbs with URL's' click on the province name -> user is redirected to the wiki page for that province.
click the Back button in the browser to navigate back to showcase ace:breadcrumbs - Overview page.
select a different province from the breadcrumb menu items -> a JS error is visible in the console:
[window] Error [status: malformedXML code: 200]: During update: crumb-form:crumb-tree::0:2:0: not found
http://localhost:8080/showcase/javax.faces.resource/coalesced.js.jsf?ln=ice.core&dgst=4twnyr
Line 436
Yip's analysis:
Nothing to do with breadcrumbs component. The tree demo has the same problem. See video. Seems like some states or some node ids (the digits in the id is the key to the tree node) are lost once you navigate elsewhere and come back. And it seems to occur only in single select mode. (Tree Overview demo uses multiple select mode, change source to use single select mode to reproduce problem.)
Confirmed fixed revision#35690 FF 21, Chrome 27, IE 9.