Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.1.0.BETA1, 3.1, EE-3.0.0.GA_P01
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces 3.0, Chrome, FF, IE, TomCat 7
-
Assignee Priority:P2
Description
Provided source code will create an ice:tree component that displays an ice:ouputResource for each node of the tree. Even though the URL is different on each of the generated <a> tags, it always returns the same underlying resource.
To reproduce the problem:
1. Create a sample application with a code attached to the ticket.
2. Download simple folder to your machine
3. Change variable values pointing to the path of the simple folder:
a. TreeBean.DIR = "C:\\Users\\Acer\\simple\\target";
b. TreeBean.testResource = new FileResource(new File("C:\\Users\\Acer\\simple\\target\\surefire-reportssimple-1.0-SNAPSHOT.jar"));
4. Start application. You should see results shown in aplicationStartUp.jpg
5. Follow instructions in the JiraNotes.docx
To reproduce the problem:
1. Create a sample application with a code attached to the ticket.
2. Download simple folder to your machine
3. Change variable values pointing to the path of the simple folder:
a. TreeBean.DIR = "C:\\Users\\Acer\\simple\\target";
b. TreeBean.testResource = new FileResource(new File("C:\\Users\\Acer\\simple\\target\\surefire-reportssimple-1.0-SNAPSHOT.jar"));
4. Start application. You should see results shown in aplicationStartUp.jpg
5. Follow instructions in the JiraNotes.docx
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | JiraNotes.docx [ 14123 ] | |
| Attachment | applicationStartUp.jpg [ 14124 ] |
| Attachment | Original vs DownloadedContent Case 1.jpg [ 14125 ] | |
| Attachment | Original vs DownloadedContent Case 2.jpg [ 14126 ] |
| Attachment | sourceCode.rar [ 14127 ] |
| Salesforce Case | [5007000000KGyTZ] |
| Attachment | simple.rar [ 14128 ] |
| Description |
Provided source code will create an ice:tree component that displays an ice:ouputResource for each node of the tree. Even though the URL is different on each of the generated <a> tags, it always returns the same underlying resource. To reproduce the problem: 1. Create a sample application with a code attached to the ticket. 2. Download simple folder to your machine 3. Change variable values pointing to the path of the simple folder on your machine: a. TreeBean.DIR = "C:\\Users\\Acer\\simple\\target"; b. TreeBean.testResource = new FileResource(new File("C:\\Users\\Acer\\simple\\target\\surefire-reportssimple-1.0-SNAPSHOT.jar")); 4. Start application. You should see results shown in aplicationStartUp.jpg 5. Follow instructions in the JiraNotes.docx |
Provided source code will create an ice:tree component that displays an ice:ouputResource for each node of the tree. Even though the URL is different on each of the generated <a> tags, it always returns the same underlying resource. To reproduce the problem: 1. Create a sample application with a code attached to the ticket. 2. Download simple folder to your machine 3. Change variable values pointing to the path of the simple folder: a. TreeBean.DIR = "C:\\Users\\Acer\\simple\\target"; b. TreeBean.testResource = new FileResource(new File("C:\\Users\\Acer\\simple\\target\\surefire-reportssimple-1.0-SNAPSHOT.jar")); 4. Start application. You should see results shown in aplicationStartUp.jpg 5. Follow instructions in the JiraNotes.docx |
| Assignee | Ken Fyten [ ken.fyten ] |
| Fix Version/s | 3.1 [ 10312 ] | |
| Assignee Priority | P2 | |
| Assignee | Ken Fyten [ ken.fyten ] | Arturo Zambrano [ artzambrano ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #28588 | Thu Mar 29 11:27:31 MDT 2012 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/outputresource/OutputResource.java
|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | EE-3.0.0.GA_P01 [ 10327 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #28593 | Thu Mar 29 16:10:19 MDT 2012 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/compat/components/src/main/java/com/icesoft/faces/component/outputresource/OutputResource.java
|
| Fix Version/s | 3.1.0.BETA1 [ 10335 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |

This is still reproducible with recent ICEfaces maintenance branch jars (tested with rev# 28514)