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: ACE-Components
-
Labels:None
-
Environment:Any
-
Assignee Priority:P1
-
Support Case References:
Description
When there are two or more instances of ace:dynamicResource (each meant to serve a different resource) all of them end up serving the same resource, which is the resource specified in the last ace:dynamicResource instance on the page.
When the attribute `attachment` is set to true, this is not an issue, and all instances serve their intended resources. However, this component should work as expected with `attachment` set to false, as well.
When the attribute `attachment` is set to true, this is not an issue, and all instances serve their intended resources. However, this component should work as expected with `attachment` set to false, as well.
Ok, the trick is that one MUST override the getResourceName() method if there is no fileame given. I assume that this is not treated correctly yet in this case.
@Override
{ return RandomHelper.randomString(); }public String getResourceName()
This makes the Resources again unique.