"Media Type is required" error whenever I add an automator to an image field on a content type, then try to save the image field. Any setting changes made to the image field are not applied when clicking "Save Settings" after editing the image field, if an automator is enabled. I do have a media type selected.
If I need to change settings for an image field (such as the title or description, etc), I must first disable the automator and save the image field with the desired changes, then edit the image field again to re-enable the automator. I am never able to edit the settings on an image field if the automator is enabled.
After adding the automator to the image field and saving the settings, an error is generated, but the settings for the automator are applied to the image field successfully, and the automator works properly without errors in functionality.
No error is produced in the site logs or in the AI logs related to this. This may be due to using the s3 module for my file system, but that is just a guess.
--------------------------------------------------------------
Steps to reproduce on my site:
Add an automator:
1. Create or edit an existing image field
2. Enable Automator
3. Save Settings
4. Saving appears to fail, and an error is produced. But the automator settings are saved and applied successfully regardless of the error.
Steps if an automator is enabled on the image field. When editing an image field:
1. Open the edit page for the image field
2. Make any changes to the description, title, or other fields not associated with the automator.
3. Also make changes to the automator settings.
4. Save Settings, and the error is produced saying 'media type is required'.
5. Reload the edit page for the image field
6. No image setting changes are saved, but any setting changes to the automator are saved successfully
Steps in order to save setting changes to base image fields:
1. Open the edit page for the image field
2. Disable the automator
3. Save settings. No error is produced.
4. Make the desired changes to the image settings and save again
5. Edit the image field again
6. Re-enable the automator and redo settings.
7. Save setttings and receive the error
8. The automator works, and the new settings have seccessfully been applied.