Validation.clear();
ParamNode rootParamNode = ParamNode.convert(params.all());
entity2.edit(rootParamNode, "entity2");
assertFalse(Validation.hasErrors());
entity2.save();
entity2.refresh();
assertEquals(1, entity2.cities.size());
assertEquals(city.name, entity2.cities.get(0).name);
} finally {