updated behaviour
This commit is contained in:
parent
b2f93e2167
commit
0dcdd2bf32
|
@ -216,6 +216,8 @@ public class ConcessioniLifeCycleManager extends Default3PhaseManager implements
|
|||
// APPROVE (PENDING_APPROVAL -> PUBLISH
|
||||
//
|
||||
|
||||
//Operation (go to PENDING APPROVAL or PUBLISHED) called on the indexingProject
|
||||
|
||||
for (int i = 0; i < projects.size(); i++) {
|
||||
|
||||
Project p = projects.get(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