Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P06
-
Fix Version/s: EE-3.3.0.GA_P07
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Any
-
Support Case References:Support Case 14380:- https://icesoft.my.salesforce.com/5000g00001wIW0k?srPos=0&srKp=500
-
Workaround Description:Base the resources on actual files on the file system or use ace:dynamicResource instead.
Description
The ice:outputResource component doesn't support ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic doesn't apply to ui:repeat.
While the issue of having the same URLs in ui:repeat was fixed as perICE-11431, there seems to be still an issue with the actual contents of the resources. However, it seems like there's no such issue when using actual files on the filesystem, instead of in-memory resources. The first test app provided by the customer now works as expected, in regards to the URLs and the content of the resources.
While the issue of having the same URLs in ui:repeat was fixed as per
Issue Links
- depends on
-
ICE-11431 ice:outputResource inside ui:repeat, wrong resource is downloaded from first link
- Closed
Activity
Arturo Zambrano
created issue -
Arturo Zambrano
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Arturo Zambrano [ artzambrano ] |
Arturo Zambrano
made changes -
Arturo Zambrano
made changes -
Description | The ice:outputResource component doesn't support iterative components or tags that perform iteration, such as ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic is flawed as well. Since ui:repeat is not a component but a tag handler, this logic doesn't apply to it, and the component behaves as if it was a single component. |
The ice:outputResource component doesn't support iterative components or tags that perform iteration, such as ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic is flawed as well. Since ui:repeat is not a component but a tag handler, this logic doesn't apply to it, and the component behaves as if it was a single component.
While the issue of having the same URLs in ui:repeat was fixed as per |
Arturo Zambrano
made changes -
Workaround Description | Use ace:dynamicResource instead. | Base the resources on actual files on the file system or use ace:dynamicResource instead. |
Arturo Zambrano
made changes -
Support Case References | Support Case 14380:- https://icesoft.my.salesforce.com/5000g00001wIW0k?srPos=0&srKp=500 |
Ken Fyten
made changes -
Fix Version/s | EE-3.3.0.GA_P07 [ 13118 ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Arturo Zambrano
made changes -
Summary | ice:outputResource doesn't support iterative components | ice:outputResource doesn't support ui:repeat |
Arturo Zambrano
made changes -
Description |
The ice:outputResource component doesn't support iterative components or tags that perform iteration, such as ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic is flawed as well. Since ui:repeat is not a component but a tag handler, this logic doesn't apply to it, and the component behaves as if it was a single component.
While the issue of having the same URLs in ui:repeat was fixed as per |
The ice:outputResource component doesn't support ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic doesn't apply to ui:repeat.
While the issue of having the same URLs in ui:repeat was fixed as per |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
r52977, r52978: ice:outputResource, added check to detect ui:repeat parent and use logic for multiple instances of the component (3.3 EE maintenance branch and P07 tag).