<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay forms seem to work wrong when they are localized</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113053236" />
  <subtitle>Liferay forms seem to work wrong when they are localized</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113053236</id>
  <updated>2026-04-07T11:17:52Z</updated>
  <dc:date>2026-04-07T11:17:52Z</dc:date>
  <entry>
    <title>RE: Liferay forms seem to work wrong when they are localized</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113086419" />
    <author>
      <name>Javier Lamadrid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113086419</id>
    <updated>2019-04-09T09:59:25Z</updated>
    <published>2019-04-09T09:59:25Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;If it helps someone...&lt;br&gt;&lt;br&gt;As a workaround we have made a fragment to override the jsp "/portal-ddm-form-web-fragment/src/main/resources/META-INF/resources/display/view.jsp". In it we have changed the:&lt;pre&gt;&lt;code&gt;String languageId = ddmFormDisplayContext.getDefaultLanguageId();&lt;/code&gt;&lt;/pre&gt;by:&lt;pre&gt;&lt;code&gt;String languageId = themeDisplay.getLanguageId();&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Regards.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Javier Lamadrid</dc:creator>
    <dc:date>2019-04-09T09:59:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay forms seem to work wrong when they are localized</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113085102" />
    <author>
      <name>Javier Lamadrid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113085102</id>
    <updated>2019-04-09T08:17:31Z</updated>
    <published>2019-04-09T08:17:31Z</published>
    <summary type="html">Hi Samuel,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;​​​​​​​Thanks for the reply, we will be watching it! &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards</summary>
    <dc:creator>Javier Lamadrid</dc:creator>
    <dc:date>2019-04-09T08:17:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay forms seem to work wrong when they are localized</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113084742" />
    <author>
      <name>Samuel Kong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113084742</id>
    <updated>2019-04-09T07:57:10Z</updated>
    <published>2019-04-09T07:57:10Z</published>
    <summary type="html">Unfortunately, this does seem like a bug. Keep watching the bug ticket and hopefully this will be fixed soon.</summary>
    <dc:creator>Samuel Kong</dc:creator>
    <dc:date>2019-04-09T07:57:10Z</dc:date>
  </entry>
  <entry>
    <title>Liferay forms seem to work wrong when they are localized</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113053235" />
    <author>
      <name>Javier Lamadrid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113053235</id>
    <updated>2019-04-08T08:01:49Z</updated>
    <published>2019-04-08T08:01:49Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When a localized form is sent, in any other language than the default one, a validation error &amp;#34;Error: No value is defined for field X&amp;#34; is displayed. Is this a bug or is there some kind of configuration that we have not taken into account?.&lt;br /&gt;&lt;br /&gt;Steps to reproduce it:&lt;ol style="list-style: decimal outside;" start="1"&gt;&lt;li&gt;Have at least 2 languages configured as available in the instance.&lt;/li&gt;&lt;li&gt;Create a form with a required field and translations for those languages.&lt;/li&gt;&lt;li&gt;Add the form to a page.&lt;/li&gt;&lt;li&gt;Send the form in both languages, for example, changing the url http://localhost:8080/en, http://localhost:8080/es...&lt;/li&gt;&lt;/ol&gt;In the default language it is sent correctly. In the other gives the validation error described above.&lt;br /&gt;&lt;br /&gt;The error is similar to the one defined in this issue https://issues.liferay.com/browse/LPS-88020. The differences are that it is not necessary to change the default language to reproduce it and the version of Liferay. The one we use is 7.1.2 GA3.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks in advance for your help. Regards.</summary>
    <dc:creator>Javier Lamadrid</dc:creator>
    <dc:date>2019-04-08T08:01:49Z</dc:date>
  </entry>
</feed>
