Probleme mit Hive
This commit is contained in:
parent
8cf9a10749
commit
ebf2e0d8ee
@ -87,6 +87,7 @@ public class Pac extends AbstractEntity implements Serializable {
|
||||
public Pac() {
|
||||
basepac = new BasePac();
|
||||
curINetAddr = new INetAddress();
|
||||
hive = new Hive();
|
||||
}
|
||||
|
||||
public Pac(String name, Customer cust, BasePac basePac, Hive hive) {
|
||||
|
@ -76,7 +76,7 @@ public class PacRemote extends AbstractRemote {
|
||||
}
|
||||
Hive hive = pac.getHive();
|
||||
String hiveName = setParams.get("hive");
|
||||
if (hive == null && assertNotNull(hiveName)) {
|
||||
if ((hive == null || hive.getName() == null) && assertNotNull(hiveName)) {
|
||||
hive = new Hive();
|
||||
hive.setName(hiveName);
|
||||
pac.setHive(hive);
|
||||
|
Loading…
Reference in New Issue
Block a user