Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.3
-
Fix Version/s: EE-4.3.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Showcase IceSoft
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
In the Showcase, changing the name of the file on ace:dynamicResource does not have any effect. The downloaded file (attachment) is always the default one.
SeeICE-10654 which claims the problem to be fixed but it isn't.
This is even worse if the Mime-Type changes dynamically eg. due to choosen Filetype to download by user. FileName and MimeType values of ace:dynamicResource must be forced reevaluated once the button is pressed in order to get the right values matching to the download at this moment.
This is quite a heavy bug as it makes ace:dynamicResource more or less useless.
See
This is even worse if the Mime-Type changes dynamically eg. due to choosen Filetype to download by user. FileName and MimeType values of ace:dynamicResource must be forced reevaluated once the button is pressed in order to get the right values matching to the download at this moment.
This is quite a heavy bug as it makes ace:dynamicResource more or less useless.
Found finally a workaround. Do force a ajax render="id of the dynamicResource" or simply @all whenever there might have happened an action to change the filename or mime type within the UI.
Note: In the Showcase this is done but only with event="valueChange" and this seems not to work there somehow. In my quite similar case it works with @all and no event selector