[Bug #1196] Assign task to the first valid queue in case that all of them are empty.
Until now, the task wasn't assigned to any queue when they were all empty, causing this bug. FEA: ItEr75S04BugFixing
This commit is contained in:
parent
502ca4c612
commit
c8d1725a1b
1 changed files with 3 additions and 0 deletions
|
|
@ -729,6 +729,9 @@ public class LimitingResourceQueueModel implements ILimitingResourceQueueModel {
|
|||
}
|
||||
}
|
||||
}
|
||||
if(result == null && !potentiallyValidQueues.isEmpty()) {
|
||||
result = potentiallyValidQueues.get(0);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue