Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.0.BETA2
-
Fix Version/s: 3.2
-
Component/s: ACE-Components, Sample Apps
-
Labels:None
-
Environment:ACE
-
Affects:Sample App./Tutorial
Description
MyFaces showcase regression testing:
TabSet - Server Side - switching tabs doesn't load tab content for 2nd and third server tab; in order to load 2nd server tab, must go to 3rd server tab and go back to 2nd server tab; also, multiple tab selection occuring (see attached image)
TabSet - Proxy - switching tabs doesn't load tab content for 2nd and third server tab; in order to load 2nd server tab, must go to 3rd server tab and go back to 2nd server tab; also, multiple tab selection occuring (see attached image)
TabSet - Server Side - switching tabs doesn't load tab content for 2nd and third server tab; in order to load 2nd server tab, must go to 3rd server tab and go back to 2nd server tab; also, multiple tab selection occuring (see attached image)
TabSet - Proxy - switching tabs doesn't load tab content for 2nd and third server tab; in order to load 2nd server tab, must go to 3rd server tab and go back to 2nd server tab; also, multiple tab selection occuring (see attached image)
Activity
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Link | This issue is duplicated by ICE-8325 [ ICE-8325 ] |
Mark Collette
made changes -
Link | This issue is duplicated by ICE-8327 [ ICE-8327 ] |
Mark Collette
made changes -
Link | This issue is duplicated by ICE-8329 [ ICE-8329 ] |
Mark Collette
made changes -
Link | This issue is duplicated by ICE-8326 [ ICE-8326 ] |
Mark Collette
made changes -
Link | This issue is duplicated by ICE-8328 [ ICE-8328 ] |
Mark Collette
made changes -
Link | This issue is duplicated by ICE-8330 [ ICE-8330 ] |
Mark Collette
made changes -
Assignee | Mark Collette [ mark.collette ] |
Mark Collette
made changes -
Summary | TabSet regression | TabSet regression in showcase samples |
Salesforce Case | [] | |
Component/s | Sample Apps [ 10010 ] | |
Description |
TabSet - Server Side - switching tabs doesn't load tab content for 2nd and third server tab; in order to load 2nd server tab, must go to 3rd server tab and go back to 2nd server tab; also, multiple tab selection occuring (see attached image) TabSet - Proxy - switching tabs doesn't load tab content for 2nd and third server tab; in order to load 2nd server tab, must go to 3rd server tab and go back to 2nd server tab; also, multiple tab selection occuring (see attached image) |
MyFaces showcase regression testing: TabSet - Server Side - switching tabs doesn't load tab content for 2nd and third server tab; in order to load 2nd server tab, must go to 3rd server tab and go back to 2nd server tab; also, multiple tab selection occuring (see attached image) TabSet - Proxy - switching tabs doesn't load tab content for 2nd and third server tab; in order to load 2nd server tab, must go to 3rd server tab and go back to 2nd server tab; also, multiple tab selection occuring (see attached image) |
Mark Collette
made changes -
Link | This issue is duplicated by ICE-8331 [ ICE-8331 ] |
Mark Collette
made changes -
Link | This issue is duplicated by ICE-8333 [ ICE-8333 ] |
Ken Fyten
made changes -
Link | This issue is duplicated by ICE-8325 [ ICE-8325 ] |
Ken Fyten
made changes -
Link | This issue is duplicated by ICE-8327 [ ICE-8327 ] |
Ken Fyten
made changes -
Link | This issue is duplicated by ICE-8326 [ ICE-8326 ] |
Ken Fyten
made changes -
Link | This issue is duplicated by ICE-8330 [ ICE-8330 ] |
Ken Fyten
made changes -
Link | This issue is duplicated by ICE-8331 [ ICE-8331 ] |
Ken Fyten
made changes -
Link | This issue is duplicated by ICE-8333 [ ICE-8333 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 3.1 [ 10312 ] | |
Fix Version/s | 3.1.0.RC1 [ 10337 ] | |
Affects | [Sample App./Tutorial] | |
Assignee Priority | P2 | |
Assignee | Mark Collette [ mark.collette ] | Carlo Guglielmin [ carlo.guglielmin ] |
Ken Fyten
made changes -
Link | This issue is duplicated by ICE-8328 [ ICE-8328 ] |
Ken Fyten
made changes -
Link | This issue is duplicated by ICE-8329 [ ICE-8329 ] |
Ken Fyten
made changes -
Comment |
[ There was a problem with the jira system over the weekend, where it seemed that jiras were not being created, so I ended up making a lot of duplicates while trying to make it work. ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29905 | Tue Jul 10 12:34:25 MDT 2012 | carlo.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/showcase.xhtml
MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/templates/main-template.xhtml MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/showcase-nonredirect.xhtml MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/css/demo_template.css |
Carlo Guglielmin
made changes -
Assignee | Carlo Guglielmin [ carlo.guglielmin ] | Ken Fyten [ ken.fyten ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #30015 | Mon Jul 16 18:09:14 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/showcase.xhtml
MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/templates/main-template.xhtml MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/showcase-nonredirect.xhtml |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 | P1 |
Assignee | Ken Fyten [ ken.fyten ] | Mark Collette [ mark.collette ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #30023 | Tue Jul 17 11:37:10 MDT 2012 | carlo.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/templates/main-template.xhtml
MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/showcase-nonredirect.xhtml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #30027 | Tue Jul 17 12:20:50 MDT 2012 | carlo.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/showcase.xhtml
MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/templates/main-template.xhtml MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/showcase-nonredirect.xhtml |
Ken Fyten
made changes -
Fix Version/s | 3.2 [ 10338 ] | |
Fix Version/s | 3.1 [ 10312 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #31475 | Mon Oct 15 12:23:39 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSetRenderer.java
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSetMeta.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSet.java |
Migration
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Icefaces Administrator
made changes -
Security | Private [ 10001 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 [ 10010 ] |
Verified that this issue occurs only when running with MyFaces and not Mojarra. It appears that the component is not being state saved/restored, and so is losing some state that it needs when changing tabs.
The Field in question that's coming back null each lifecycle is in TabSetMeta:
@Field(javadoc="Maintains the record of which tabs have been visited")
private List visitedTabClientIds;
Here is the dom update comes to the browser, when the user clicks to go to the second tab:
<update id="form:tabSet_safe_0"><![CDATA[<div id="form:tabSet_safe_0"><div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="form:pane2" role="tabpanel" tabindex="0"><span id="form:pane2Body">Second Body</span></div></div>]]></update>
One would expect a closing of tabSet_safe_0, and the new tab content to be in tabSet_safe_1, but since visitedTabClientIds is null, it loses the history of having used tabSet_safe_0, and so tries to recycle it, which the javascript doesn't handle.
Audited the subversion commits to the ACE generator, but nothing in it has changed in that area. Seems to indicate we may have made core changes that might affect state saving. It wouldn't seem likely, but just for completeness, tested with rolling back the recent change to tabset.js, but that had no effect.
Ran the tabset regression suite, with MyFaces, and found that it does work, so this is specific to the showcase application.
Identified key commits to MyFaces jars, core changes, and showcase application, and worked back through them to see when this problem started. It's revision 29753, which is for:
ICE-7283: Showcase templates should not have ids on non-component markupMy current theory is that now that the div(s) are h:panelGroup(s), the id is the component id, and maybe now we have duplicate ids. Although there should be existing functionality to report that if it's the case.