Bug 1250286
Summary: | [GSS](6.4.z) JAVASERVERFACES-3241 - IndexOutOfBoundsException caused by javax.faces.component.AttachedObjectListHolder::restoreState(FacesContext context, Object state) | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Takayuki Konishi <tkonishi> | ||||
Component: | JSF | Assignee: | Chao Wang <chaowan> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavol Pitonak <ppitonak> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.3.0 | CC: | amelicha, bmaxwell, chaowan, fjuma, jawilson, maschmid, ssilvert | ||||
Target Milestone: | CR1 | ||||||
Target Release: | EAP 6.4.5 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | Bug | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1235745, 1251856 | ||||||
Attachments: |
|
Description
Takayuki Konishi
2015-08-05 02:59:42 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 {
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 Retroactively bulk-closing issues from released EAP 6.4 cumulative patches. Retroactively bulk-closing issues from released EAP 6.4 cumulative patches. |