Image.resize doesn’t work if executed in the same request/transaction in which the image was created (e.g. from Image.clone).

Submitted by Danny Groenewegen on 16 January 2011 at 20:57

On 30 October 2013 at 16:46 Elmer van Chastelet commented:

Caused by the session.refresh() call, which expects an object to be persisted -> not resized. Why do we call refresh() in image utils?


On 30 October 2013 at 17:21 Elmer van Chastelet tagged 1.3.0

On 30 October 2013 at 17:28 Elmer van Chastelet commented:

removed session.refresh() call, solves the problem


On 30 October 2013 at 17:28 Elmer van Chastelet closed this issue.

Log in to post comments