- 🇺🇸United States scampbell1 New York
@subhashuyadav You were missing a semicolon at the end of line 553. I have an updated version of the patch attached.
Updated after #86.
Changing the allowed file extensions on an image field doesn't update in the edit form. Other changes to the field are reflected though.
Steps to reproduce -
1. Create an Image Field
2. Set the allowed file extensions to also include svg, etc.
3. Or modify the allowed file extensions after creating the field to include svg, etc.
The current patch tries to solve the fact that the list as defined by a site builder is reduced based on a hard-coded list instead of the list of extensions supported by the actual toolkit.
It should also check when defining an image field, not only when showing an image widget (and allow site builders to shoot themselves in the foot).
I am in favor of the warning option, not the hard fail as most error handling on the image widget side will still be necessary for when toolkit configuration has changed (more specifically the list of supported extensions).
If we go for the warning, the warning should indicate which extensions are unsupported and what the consequences are:
Decide on a path forward, quickly. So we can get rolling on a direction again. This issue has stalled out at comment #86, which bodes poorly for adopting any solution.
Steps to reproduce -
1. Create an Image Field
2. Set the allowed file extensions
3. Modify the allowed file extensions after creating the field.
Fixed
8.7 ⚰️
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
@subhashuyadav You were missing a semicolon at the end of line 553. I have an updated version of the patch attached.