Bug 1250286 - [GSS](6.4.z) JAVASERVERFACES-3241 - IndexOutOfBoundsException caused by javax.faces.component.AttachedObjectListHolder::restoreState(FacesContext context, Object state)
Summary: [GSS](6.4.z) JAVASERVERFACES-3241 - IndexOutOfBoundsException caused by javax...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: JSF
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.5
Assignee: Chao Wang
QA Contact: Pavol Pitonak
URL:
Whiteboard:
Depends On:
Blocks: 1235745 1251856
TreeView+ depends on / blocked
 
Reported: 2015-08-05 02:59 UTC by Takayuki Konishi
Modified: 2019-07-11 09:45 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
r13732.patch (11.46 KB, patch)
2015-08-05 10:42 UTC, Chao Wang
no flags Details | Diff

Description Takayuki Konishi 2015-08-05 02:59:42 UTC
see https://java.net/jira/browse/JAVASERVERFACES-3241

Comment 3 Chao Wang 2015-08-05 10:42:07 UTC
Created attachment 1059405 [details]
r13732.patch

Attach revision 13732 patch, real fix is part:

Index: jsf-api/src/main/java/javax/faces/component/AttachedObjectListHolder.java
===================================================================
--- jsf-api/src/main/java/javax/faces/component/AttachedObjectListHolder.java	(revision 13731)
+++ jsf-api/src/main/java/javax/faces/component/AttachedObjectListHolder.java	(revision 13732)
@@ -157,7 +157,7 @@
             for (int i = 0, len = attachedObjects.length; i < len; i++) {
                 T restored = (T) ((StateHolderSaver) attachedObjects[i]).restore(context);
                 if (restored != null) {
-                    this.attachedObjects.add(restored);
+                    add(restored);
                 }
             }
         } else {

Comment 7 Rostislav Svoboda 2015-08-24 12:15:26 UTC
qa_acking
Fix in https://github.com/jboss/jboss-jsf-api_spec/tree/jboss-jsf-api_2.1_spec-2.1.28.1.Final corresponds to patch shown in Comment 3

Comment 11 Petr Penicka 2017-01-17 11:43:15 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.

Comment 12 Petr Penicka 2017-01-17 11:43:17 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.


Note You need to log in before you can comment on or make changes to this bug.