Probleme mit Basepac
This commit is contained in:
parent
c872e97743
commit
473062ebcc
@ -55,7 +55,7 @@ public class PacRemote extends AbstractRemote {
|
|||||||
Pac pac = (Pac) entity;
|
Pac pac = (Pac) entity;
|
||||||
BasePac basePac = pac.getBasepac();
|
BasePac basePac = pac.getBasepac();
|
||||||
String basePacName = setParams.get("basepac");
|
String basePacName = setParams.get("basepac");
|
||||||
if (basePac == null && assertNotNull(basePacName)) {
|
if ((basePac == null || basePac.getName() == null) && assertNotNull(basePacName)) {
|
||||||
basePac = new BasePac();
|
basePac = new BasePac();
|
||||||
basePac.setName(basePacName);
|
basePac.setName(basePacName);
|
||||||
pac.setBasepac(basePac);
|
pac.setBasepac(basePac);
|
||||||
|
Loading…
Reference in New Issue
Block a user