sergiogonzalez/liferay-portal — pull request #323 by matethurzo (2012-08-28 09:41:43+00:00)
Title: LPS-23964 Anonymous votes get lost during importing

Hey Sergio, I know that Juan is the subject matter exprot for polls, but he is on vacaqtion, so I'm sending this to you. It's a bug fix should be an easy one. The problem is that if we allow the guest votes for polls and we export import it, the guest votes will disappear no matter of the user id strategy. The portal will always fall back to a different user and the anonymous votes will be treated as duplicatets. If we are importing anonymous votes we have to treat them differently to not lose any data. I've added a simple overriding if statement to the code. Thanks, Mate