Closed danielantelo closed 8 years ago
this happens in a doctrine subscriber but only when the document is written - there is no event system inside the image document, and we don't want to inject Imagine or GD into the Image class.
that event listener should be enabled by default
does your test work if you persist and flush $image before checking the image width?
Are width and height meant to be manually populated or should they be self calculated on "copyContentFromFile"?
e.g.