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
Evgheni Sadovoi
created issue -
Evgheni Sadovoi
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | JiraNotes.docx [ 14123 ] | |
Attachment | applicationStartUp.jpg [ 14124 ] |
Evgheni Sadovoi
made changes -
Attachment | Original vs DownloadedContent Case 1.jpg [ 14125 ] | |
Attachment | Original vs DownloadedContent Case 2.jpg [ 14126 ] |
Evgheni Sadovoi
made changes -
Attachment | sourceCode.rar [ 14127 ] |
Evgheni Sadovoi
made changes -
Salesforce Case | [5007000000KGyTZ] |
Evgheni Sadovoi
made changes -
Attachment | simple.rar [ 14128 ] |
Evgheni Sadovoi
made changes -
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 |
Evgheni Sadovoi
made changes -
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
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
|
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
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
|
Ken Fyten
made changes -
Fix Version/s | 3.1.0.BETA1 [ 10335 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
This is still reproducible with recent ICEfaces maintenance branch jars (tested with rev# 28514)