Skip to content

Commit

Permalink
might fix MID-6125. I cannot replicate it, so it's hard to say that i…
Browse files Browse the repository at this point in the history
…t fixes it. But this one looks like similar problem with losing prismContext during serialization/deserialization.
  • Loading branch information
katkav committed Mar 23, 2020
1 parent 4486a4e commit 1d8d70c
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -47,6 +47,11 @@ protected void onInitialize() {
}

private void initLayout() {
//TODO migth fix MID-6125, not sure about this one, it's really hard to replicate
// but prismContext is transient so it might be lost during the serilaization/deserialization
if (getModelObject() != null) {
AbstractItemWrapperColumnPanel.this.getModelObject().revive(getPageBase().getPrismContext());
}
ListView<VW> listView = new ListView<VW>(ID_VALUES, new PropertyModel<>(getModel(), "values")) {

private static final long serialVersionUID = 1L;
Expand Down

0 comments on commit 1d8d70c

Please sign in to comment.