Skip to content

Commit

Permalink
Fix User page (temporarily)
Browse files Browse the repository at this point in the history
It failed for a user containing assignment of a focus mapping.
  • Loading branch information
mederly committed Apr 18, 2018
1 parent a7b31c9 commit 5e3a9a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -303,7 +303,7 @@ public <O extends ObjectType, C extends Containerable> List<ItemWrapper> createP
createPropertyOrReferenceWrapper(itemDef, cWrapper, propertyOrReferenceWrappers, onlyEmpty, cWrapper.getPath());
createContainerWrapper(itemDef, cWrapper, containerWrappers, onlyEmpty, task);
} catch (Exception e) {
LoggingUtils.logUnexpectedException(LOGGER, "something strange happenned: " + e.getMessage(), e);
LoggingUtils.logUnexpectedException(LOGGER, "something strange happened: " + e.getMessage(), e);
System.out.println(e.getMessage());
throw new TunnelException(e);
}
Expand Down
Expand Up @@ -29,9 +29,9 @@ public ExpressionWrapper(@Nullable ContainerValueWrapper container, PrismPropert
if (outboundValue != null) {
PrismContainer associationContainer = (PrismContainer) outboundValue.getParent();
if (associationContainer != null) {
PrismContainerValue<ConstructionType> constructionContainer = (PrismContainerValue<ConstructionType>) associationContainer.getParent();
if (constructionContainer != null) {
construction = constructionContainer.asContainerable();
PrismContainerValue<?> constructionContainer = (PrismContainerValue<?>) associationContainer.getParent();
if (constructionContainer != null && constructionContainer.asContainerable() instanceof ConstructionType) {
construction = (ConstructionType) constructionContainer.asContainerable();
}
}
}
Expand Down

0 comments on commit 5e3a9a0

Please sign in to comment.