error when updating filename for asset with no active version

Description

When attempting to change the filename of an asset which has no active version, this error thrown and caught by Preside:
A call to update records in [asset_version] was made without any filter which would lead to all records being updated

The filter on updateData uses asset.active_version as a reference - in this case it’s empty

There should be a check to make sure a version exists

Assignee

Unassigned

Reporter

Tarek Abou-Chanab

Labels

None

Accepted

Yes

Fix versions

Priority

Medium
Configure