bug_24754 #12
|
@ -215,6 +215,8 @@ public class ConcessioniLifeCycleManager extends Default3PhaseManager implements
|
||||||
// SUBMIT (DRAFT-> PENDING_APPROVAL)
|
// SUBMIT (DRAFT-> PENDING_APPROVAL)
|
||||||
// APPROVE (PENDING_APPROVAL -> PUBLISH
|
// APPROVE (PENDING_APPROVAL -> PUBLISH
|
||||||
//
|
//
|
||||||
|
|
||||||
|
//Operation (go to PENDING APPROVAL or PUBLISHED) called on the indexingProject
|
||||||
|
|
||||||
for (int i = 0; i < projects.size(); i++) {
|
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 IS PENDING APPROVAL OR PUBLISHED adding toDisplayId
|
||||||
if ((phase.equals(Phases.PENDING_APPROVAL) || phase.equals(Phases.PUBLISHED))) {
|
if ((phase.equals(Phases.PENDING_APPROVAL) || phase.equals(Phases.PUBLISHED))) {
|
||||||
toDisplayId.add(p.getId());
|
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 {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue