-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix: What can I use as the default value in com_fields field imagelist #24643
Conversation
@astridx @joomdonation can you please test? |
No tests. |
I tested this patch OK here. Please @ReLater can you reopen? |
I have made 4 screenshots here to show the process. I have purged the cache now also at CDN level and turned it off. The problem of the default image not showing up in frontend persists with me, however the validation error is now solved with patch #26352 . screencapture-1-field.pdf |
okay get it |
Pull Request for Issue #15173
Summary of Changes
com_fields
fieldmedia
that extendsFieldsPlugin
but notFieldsListPlugin
like imagelist does:FieldsListPlugin
leads to validation viaOptionsRule.php
because line https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_fields/models/field.php#L261 returns a type=options
instead ofimagelist
.(In media field the $type = media.)
Testing Instructions
Expected result
Actual result
Default Value
field because validation fails.@laoneo please check.