In com_j4_blphotos, table badwords.
In the Admin view try to Add an entry that duplicates an existing one - gets a sensible error message
Now try to duplicate an item
Expected result
Should get the same message
Actual result
Gets an Exception raised and a stack trace.
Name of component and email used to register (if relevant)
Both seem to trigger an exception in check() in administrator\components\com_j4_blphotos\src\Table\BadwordTable.php. But the New function clearly handles this whereas Duplicate does not
Steps to reproduce the issue
In com_j4_blphotos, table badwords. In the Admin view try to Add an entry that duplicates an existing one - gets a sensible error message Now try to duplicate an item
Expected result
Should get the same message
Actual result
Gets an Exception raised and a stack trace.
Name of component and email used to register (if relevant)
com_j4_blphotos webmaster@birdlifephotography.org.au
System information (as much as possible)
Additional comments
Both seem to trigger an exception in check() in administrator\components\com_j4_blphotos\src\Table\BadwordTable.php. But the New function clearly handles this whereas Duplicate does not