This is an automated email from the git hooks/post-receive script. New commit to branch feature/bug-on-save in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit ad98d35f38b59572bf728b4b21b9cd01f6f6546d Author: dcosse <cosse@codelutin.com> Date: Mon Oct 7 15:47:38 2019 +0200 refs #248 add voteCountingConfig to PollBean as it it send into the Json query and request failed if not present --- .../org/chorem/pollen/services/bean/PollBean.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pollen-services/src/main/java/org/chorem/pollen/services/bean/PollBean.java b/pollen-services/src/main/java/org/chorem/pollen/services/bean/PollBean.java index d252c153..600c79a3 100644 --- a/pollen-services/src/main/java/org/chorem/pollen/services/bean/PollBean.java +++ b/pollen-services/src/main/java/org/chorem/pollen/services/bean/PollBean.java @@ -26,6 +26,7 @@ import org.chorem.pollen.persistence.entity.Poll; import org.chorem.pollen.persistence.entity.PollType; import org.chorem.pollen.persistence.entity.ResultVisibility; import org.chorem.pollen.persistence.entity.VoteVisibility; +import org.chorem.pollen.votecounting.model.VoteCountingConfig; import java.util.ArrayList; import java.util.Date; @@ -131,6 +132,8 @@ public class PollBean extends PollenBean<Poll> { protected List<String> emailAddressSuffixes; protected List<QuestionBean> questions; + + protected VoteCountingConfig voteCountingConfig; public String getPermission() { return permission; @@ -426,4 +429,20 @@ public class PollBean extends PollenBean<Poll> { } this.questions.add(question); } + + /** + * TODO FIXE ME + * Not sure it should be there, but it is part of send query + */ + public VoteCountingConfig getVoteCountingConfig() { + return voteCountingConfig; + } + + /** + * TODO FIXE ME + * Not sure it should be there, but it is part of send query + */ + public void setVoteCountingConfig(VoteCountingConfig voteCountingConfig) { + this.voteCountingConfig = voteCountingConfig; + } } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.