Skip to content

Commit

Permalink
MID-9514: fix resource panel for shadow reclassification task
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Apr 15, 2024
1 parent 9ee3b24 commit 5467376
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3309,7 +3309,8 @@ public static AssignmentHolderType getObjectFromAddDeltaForCase(CaseType aCase)
public static boolean isResourceRelatedTask(TaskType task) {
return WebComponentUtil.hasArchetypeAssignment(task, SystemObjectsType.ARCHETYPE_RECONCILIATION_TASK.value())
|| WebComponentUtil.hasArchetypeAssignment(task, SystemObjectsType.ARCHETYPE_LIVE_SYNC_TASK.value())
|| WebComponentUtil.hasArchetypeAssignment(task, SystemObjectsType.ARCHETYPE_IMPORT_TASK.value());
|| WebComponentUtil.hasArchetypeAssignment(task, SystemObjectsType.ARCHETYPE_IMPORT_TASK.value())
|| WebComponentUtil.hasArchetypeAssignment(task, SystemObjectsType.ARCHETYPE_SHADOW_RECLASSIFICATION_TASK.value());
}

public static boolean isRefreshEnabled(PageBase pageBase, QName type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.util.Iterator;

//FIXME serializable?
@Component
public abstract class AbstractIntentFactory extends AbstractInputGuiComponentFactory<String> implements Serializable {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ private ItemName getActivityName(TaskType task) {
return WorkDefinitionsType.F_RECONCILIATION;
} else if (WebComponentUtil.hasArchetypeAssignment(task, SystemObjectsType.ARCHETYPE_IMPORT_TASK.value())) {
return WorkDefinitionsType.F_IMPORT;
} else if (WebComponentUtil.hasArchetypeAssignment(task, SystemObjectsType.ARCHETYPE_SHADOW_RECLASSIFICATION_TASK.value())) {
return WorkDefinitionsType.F_SHADOW_RECLASSIFICATION;
}
return null;
}
Expand Down

0 comments on commit 5467376

Please sign in to comment.