Image.resize/crop/.. doesn't work on transient Image
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
Caused by the
session.refresh()call, which expects an object to be persisted -> not resized. Why do we call refresh() in image utils?
session.refresh()call, solves the problem
Log in to post comments