bug_24754 #12

Merged
francesco.mangiacrapa merged 7 commits from bug_24754 into master 2023-03-14 11:23:06 +01:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 0dcdd2bf32 - Show all commits

View File

@ -215,6 +215,8 @@ public class ConcessioniLifeCycleManager extends Default3PhaseManager implements
// SUBMIT (DRAFT-> PENDING_APPROVAL)
// APPROVE (PENDING_APPROVAL -> PUBLISH
//
//Operation (go to PENDING APPROVAL or PUBLISHED) called on the indexingProject
for (int i = 0; i < projects.size(); i++) {
@ -226,6 +228,9 @@ public class ConcessioniLifeCycleManager extends Default3PhaseManager implements
// IF PHASE IS PENDING APPROVAL OR PUBLISHED adding toDisplayId
if ((phase.equals(Phases.PENDING_APPROVAL) || phase.equals(Phases.PUBLISHED))) {
toDisplayId.add(p.getId());
}else if(p.getId().compareTo(indexingProject.getId())==0) {
//Means that the operation is is called on indexing project from DRAFT phase to PENDING_APPROVAL or PUBLISH
toDisplayId.add(p.getId());
}
} else {