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

Generic list removes empty values when submitted #3478

Open
3 tasks
Ixbitz opened this issue Nov 22, 2024 · 0 comments
Open
3 tasks

Generic list removes empty values when submitted #3478

Ixbitz opened this issue Nov 22, 2024 · 0 comments

Comments

@Ixbitz
Copy link

Ixbitz commented Nov 22, 2024

Required Information

  • AEM Version, including Service Packs, Cumulative Fix Packs, etc: On-premise 6.5.21 (servicepack 21)
  • ACS AEM Commons Version: 6.9.4
  • Reproducible on Latest? yes

Expected Behavior

When adding an empty value to a generic list and save it, I expect that an empty value is saved.

Actual Behavior

When using a generic list as datasource for the iconpicker, the first item should have an empty value to allow the "none" option to work properly in the iconpicker.

Steps to Reproduce

  1. Create new generic list: http://localhost:4502/generic-lists.html/etc/acs-commons/lists

  2. Add item with title, leave value empty
    image

  3. Save list

When saved, observe the value is not saved at all:
image

This causes the iconpicker to display an empty option after the "none" option. The "none" option also does not work anymore.

Links

N/A

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

1 participant