updated behaviour
This commit is contained in:
parent
b2f93e2167
commit
0dcdd2bf32
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue