- Issue created by @vadim.hirbu
- Merge request !25#3413776 – Set default value for format as original for each loaded asset → (Open) created by vadim.hirbu
- last update
11 months ago Unable to generate test groups
When dealing with a component containing multiple Acquia DAM assets and attempting to execute getExternalUrl(),
the format property for the asset object consistently remains set to 'web,' even when the asset is a .pdf file. Upon further investigation, it becomes apparent that on each invocation of loadAsset()
within the same page or component, the value of $this->format
persists as 'web' and is not reset anywhere in the codebase. This creates an issue where the format property does not accurately reflect the actual file type, impacting the proper handling of diverse asset types.
Reset $this->format
to 'original' value
Active
1.0
Code