epgarcia/liferay-portal — pull request #163 by moltam89 (2014-03-05 08:20:55+00:00)
Title: [TECHNICAL-SUPPORT] LPS-44734 Polls: translations are lost when adding another choice before save

Hi Eduardo,

I'm trying to summarize this issue:

"LPS-26295 Localization Lost at JournalStructure" introduced some changes in input_field/page.jsp to get the localizationMap from the request using the field's name.

It caused a regression in the Polls portlet (see: "LPS-42357 Polls Display: clicking "Add Choice" will populate the new choice with the question "), because in polls/edit_question.jsp there are two fields with the same name:
< aui:input label="polls-question" name="description" />
< aui:input fieldParam="<%= paramName %>" label="<%= c + StringPool.PERIOD %>" name="description" />

This issue was solved by "LPS-42357" however it caused this current issue, the translations are lost in some cases.

Could you please review my changes?

Thanks,
Tamás