This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 7ffe24ae75a5c736a01e552296cda28f473d55fb Author: jcouteau <couteau@codelutin.com> Date: Mon Aug 24 10:43:25 2020 +0200 Properly deal with child list in creation / modification --- .../java/org/chorem/pollen/services/service/FavoriteListService.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pollen-services/src/main/java/org/chorem/pollen/services/service/FavoriteListService.java b/pollen-services/src/main/java/org/chorem/pollen/services/service/FavoriteListService.java index b99810fc..3980b8d4 100644 --- a/pollen-services/src/main/java/org/chorem/pollen/services/service/FavoriteListService.java +++ b/pollen-services/src/main/java/org/chorem/pollen/services/service/FavoriteListService.java @@ -767,11 +767,10 @@ public class FavoriteListService extends PollenServiceSupport { // create a new favorite list toSave = getChildFavoriteListDao().create(); toSave.setParent(favoriteList); - FavoriteList child = getFavoriteList0(getConnectedUser(), childList.getChild().getEntityId()); - toSave.setChild(child); - } + FavoriteList child = getFavoriteList0(getConnectedUser(), childList.getChild().getEntityId()); + toSave.setChild(child); toSave.setWeight(childList.getWeight()); return toSave; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.