As per title, when editing an Item, enforce the Category Option "Require item image".
Currently, you can edit items in categories that require an item image (at least 1 uploaded image attachment) and save without that validation being checked.
I've updated the Edit Service to add an additional validation check, that will throw an error if trying to save an item that does not have any existing image attachments or temp hash image attachments, in categories that require an Item Image.
Additionally, the per category option "Require item image" is no longer a sub option of the "Allow items to be created" option. This allows you to set that independant, for use cases where you don't want items created in the Category, but you want to enforce the require cover image for items that are moved into that Category.

Currently, you can edit items in categories that require an item image (at least 1 uploaded image attachment) and save without that validation being checked.
I've updated the Edit Service to add an additional validation check, that will throw an error if trying to save an item that does not have any existing image attachments or temp hash image attachments, in categories that require an Item Image.
Additionally, the per category option "Require item image" is no longer a sub option of the "Allow items to be created" option. This allows you to set that independant, for use cases where you don't want items created in the Category, but you want to enforce the require cover image for items that are moved into that Category.

Upvote
0