Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Download v2] Unable to configure upload from local file system via design dialog #2687

Open
steph150 opened this issue Mar 1, 2024 · 1 comment

Comments

@steph150
Copy link

steph150 commented Mar 1, 2024

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.

Screenshot 2024-03-01 at 11 07 53 am Screenshot 2024-03-01 at 11 07 44 am

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
@HitmanInWis
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants