This is an automated email from the git hooks/post-receive script. New commit to branch feature/7017 in repository observe. See http://git.codelutin.com/observe.git commit ed66b0ebeaa52573a57947cede1305722e543e7f Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Tue May 5 16:22:40 2015 +0200 vérifie si le bean dans le validateur parent est bien présent. --- .../ui/content/table/impl/longline/CatchLonglineUIHandler.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/observe-swing/src/main/java/fr/ird/observe/ui/content/table/impl/longline/CatchLonglineUIHandler.java b/observe-swing/src/main/java/fr/ird/observe/ui/content/table/impl/longline/CatchLonglineUIHandler.java index 3c9a6b2..662e78a 100644 --- a/observe-swing/src/main/java/fr/ird/observe/ui/content/table/impl/longline/CatchLonglineUIHandler.java +++ b/observe-swing/src/main/java/fr/ird/observe/ui/content/table/impl/longline/CatchLonglineUIHandler.java @@ -759,6 +759,14 @@ public class CatchLonglineUIHandler extends ContentTableUIHandler<SetLongline, C log.info("Use branchline: " + newValue); } + /* FIXME sbavencoff 5/04/2015 le bean du validateur ne devrait jamais être null */ + if (ui.getValidator().getBean() == null) { + if (log.isWarnEnabled()) { + log.warn("Validator parent bean must be not null"); + } + ui.getValidator().setBean(ui.getBean()); + } + branchlineValidator.setBean(branchlineBean); CatchLonglineService service = getService(CatchLonglineService.class); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.