Change-Id: I51d70636138ccf21ec4d7488aca2f071f940a51a
"Cannot remove from parent when the session is not locked."
+ " Furthermore, there is another locked session, indicating that the component might be about to be moved from one session to another.",
e.getMessage());
+ } finally {
+ VaadinSession.setCurrent(null);
}
}
notLockedComponent.addComponent(lockedComponent);
} catch (AssertionError e) {
// All is fine, don't care about the exact wording in this case
+ } finally {
+ VaadinSession.setCurrent(null);
}
}