Issue #3105: Ensure ParmManager adds mutable db to internal db list if db is created during initialization.
Change-Id: I85de2a8182abcd0504ceee75076a3c7a72905daf Former-commit-id:f368412ef2
[formerlyaa78ed1b69
[formerly 3d8a23e2e2802d19768de47c61cedb723ec53c8f]] Former-commit-id:aa78ed1b69
Former-commit-id:850eecb1b9
This commit is contained in:
parent
e712f37076
commit
f8e5a17f3f
1 changed files with 7 additions and 0 deletions
|
@ -141,6 +141,8 @@ import com.raytheon.viz.gfe.types.MutableInteger;
|
|||
* to simplify maintenance of this class.
|
||||
* Changed handling of enabling/disabling Topo parm
|
||||
* 04/02/2014 #2969 randerso Fix error when Toop parm is unloaded.
|
||||
* 05/01/2014 #3105 dgilling Ensure mutable db gets into availableServerDatabases
|
||||
* if it has to be created during ParmManager construction.
|
||||
* </pre>
|
||||
*
|
||||
* @author chammack
|
||||
|
@ -1314,6 +1316,11 @@ public class ParmManager implements IParmManager, IMessageClient {
|
|||
ServerResponse<?> sr = this.dataManager.getClient()
|
||||
.createNewDb(mutableDbId);
|
||||
containsMutable = sr.isOkay();
|
||||
|
||||
if (containsMutable) {
|
||||
this.availableServerDatabases.add(mutableDbId);
|
||||
Collections.sort(this.availableServerDatabases);
|
||||
}
|
||||
}
|
||||
|
||||
if (containsMutable) {
|
||||
|
|
Loading…
Add table
Reference in a new issue