Affects Version/s: 6.2.X EE
Steps to reproduce:
0 - Enable local staging for the Liferay site with default options.
1- Add a 'Polls Display' portlet on the welcome page.
2- Add a new question and fill 3 choices.
3- Save the question.
4- Edit the question and add a new choice.
5- Save the question.
Notice that in the pollschoice table this new choice is added with groupId=0;
I don't know if this is related to later publication failing. Please let me know if I should open a separate LPP for this.
6- Publish to live with default options.
Result: It fails with ConstraintViolationException for index IX_D76DD2CF