getAssetDimensions fails with versioned assets

Description

We came across the following issue in version 10.13.2. The following error occurs when adding a new version to an asset:

This is the generated example query:

And indeed these fields are missing in the DB.

Stacktrace:

Environment

None
Fixed

Assignee

Seb Duggan

Reporter

Marcus Egger

Accepted

Yes