Skip to content

Commit

Permalink
Merge branch 'master' into gui-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Suta committed Jul 10, 2014
2 parents 1bb5520 + 7931dfc commit 8c29330
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
Expand Up @@ -209,8 +209,10 @@ public static Object resolvePath(ItemPath path, ExpressionVariables variables, O
if (root instanceof ObjectReferenceType) {
root = resolveReference((ObjectReferenceType)root, objectResolver, varDesc, shortDesc, result);
}

if (root instanceof PrismObject<?>) {

if (root instanceof Objectable) {
return (((Objectable) root).asPrismObject()).find(relativePath);
} if (root instanceof PrismObject<?>) {
return ((PrismObject<?>)root).find(relativePath);
} else if (root instanceof PrismContainer<?>) {
return ((PrismContainer<?>)root).find(relativePath);
Expand Down
Expand Up @@ -35,10 +35,6 @@

<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/synchronization/task/reconciliation/handler-3</handlerUri>
<objectRef oid="10000000-0000-0000-0000-00000000a204" type="ResourceType"/>
<recurrence>recurring</recurrence>
<binding>tight</binding>
<schedule>
<interval>5</interval>
</schedule>
<recurrence>single</recurrence>

</task>
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010-2013 Evolveum
* Copyright (c) 2010-2014 Evolveum
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -17,11 +17,7 @@
package com.evolveum.midpoint.task.api;

/**
* Created with IntelliJ IDEA.
* User: mederly
* Date: 3.5.2012
* Time: 21:50
* To change this template use File | Settings | File Templates.
* @author mederly
*/
public class TaskCategory {

Expand All @@ -36,4 +32,5 @@ public class TaskCategory {
public static final String WORKFLOW = "Workflow";
public static final String SYSTEM = "System";
public static final String REPORT = "Report";
public static final String CUSTOM = "Custom";
}

0 comments on commit 8c29330

Please sign in to comment.