Updating the image field by uploading a new image navigates to error


Description

Updating the image field by uploading a new image navigates to error

Steps to Reproduce

Steps to reproduce for the image on service portal

1) Create a user account that has the role sp_admin (ensure that it is a user that does not have the admin or maint role)
2) Navigate to sp_portal.list
3) Select the Service Portal record
4) Upload an image to the logo field
5) Upload another image
6) Notice it will redirect to error page, with the error: @99@sysparm_error=file.delete.failed@99@sysparm_name=sp_portal:81b75d3147032100ba13a5554ee4902b

This can be reproducible for image fields on live_profile (role: live_feed_admin) and wu_location_queue (role: sn_walkup.walkup_admin)

Workaround

none.


Related Problem: PRB1425247