[Download v2] Unable to configure upload from local file system via design dialog
Bug Report
Current Behavior Checking the "Allow upload from file system" checkbox in the design dialog doesn't update the "Download Asset" section to allow local file system upload.
Expected behavior/code The "Download Asset" should allow for local file system upload.
Environment
- AEM version: 2023.12.14697.20231215T125030Z
- Core Components version: 2.23.4
Changing the value to allowUpload="true" or allowUpload="{Boolean}true" enables upload as expected.
Changing the value to allowUpload="${not empty cqDesign.allowUpload ? cqDesign.allowUpload : true}" (default to true) does not enable upload
Changing the value to allowUpload="${true}" (hard-coded eval to true) does not enable upload.
It's not an issue with ${cqDesign.allowUpload} being set - I can confirm it is set by plugging it in as the value for another field and displaying "true" in the field.
As best as I can tell, the allowUpload attribute for the fileupload field does not evaluate expressions.