<?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>Disable lodash in Liferay 7.1</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=115053230" />
  <subtitle>Disable lodash in Liferay 7.1</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=115053230</id>
  <updated>2026-04-03T21:27:05Z</updated>
  <dc:date>2026-04-03T21:27:05Z</dc:date>
  <entry>
    <title>RE: Disable lodash in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115140312" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115140312</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2019-09-09T16:12:29Z</published>
    <summary type="html">One week later... we must reactivate lodash. :-(&lt;br /&gt;There is a problem when users want to edit the properties of a picture of a web content in backoffice.&lt;br /&gt;I will open a ticket for this because this lib has 3 high vulnerabilities :&lt;br /&gt;&lt;img src="/documents/portlet_file_entry/14/image--tempRandomSuffix--vLfmtnVv.png/2c252918-ae37-2588-781c-b6d7611cdd00" /&gt;&lt;br /&gt;And is very slow :&lt;br /&gt;&lt;img src="/documents/portlet_file_entry/14/image--tempRandomSuffix--SkyzPWRE.png/61d639c0-0bfd-b068-5c22-ce5542b2f84f" /&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2019-09-09T16:12:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: Disable lodash in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115060678" />
    <author>
      <name>Javier Lamadrid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115060678</id>
    <updated>2019-09-02T09:10:55Z</updated>
    <published>2019-09-02T09:10:55Z</published>
    <summary type="html">Chema&amp;#39;s is the good answer &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;&lt;br /&gt;I was just trying to expose the problem we encountered in a project when we tried to deactivate it.&lt;br /&gt;&lt;br /&gt;Regards...</summary>
    <dc:creator>Javier Lamadrid</dc:creator>
    <dc:date>2019-09-02T09:10:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Disable lodash in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115056816" />
    <author>
      <name>Chema Balsas</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115056816</id>
    <updated>2019-09-02T07:33:05Z</updated>
    <published>2019-09-02T07:33:05Z</published>
    <summary type="html">Hey Eric, &lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Do you know if we can do that with no consequences? &lt;br /&gt;&lt;/blockquote&gt;&lt;span style="font-size: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;That depends. From Liferay, we tried to remove all of our usages on Lodash. Other than missing some usages (like that of forms), it should be safe from out of the box features. The consequence of disabling Lodash is that if you have code depending on it, it will fail to work, so wether it will have or not consequences is pretty much a very specific question that only you can answer.&lt;br /&gt;&lt;blockquote&gt;why lodash is active by default? &lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;As I stated before, disabling Lodash should be safe from a platform&amp;#39;s point of view, because we no longer depend on it. Since we can&amp;#39;t tell if you need it or not, we keep it enabled in 7.1 to make sure we don&amp;#39;t break existing code and installations. We disable it by default in 7.2 because you can then make the choice of updating your code or enabling Lodash.&lt;br /&gt;&lt;br /&gt;In summary, if you know you don&amp;#39;t depend on Lodash, it should be safe for you to disable it. We can&amp;#39;t make that decision by default on 7.1 because it would mean introducing a huge breaking change.</summary>
    <dc:creator>Chema Balsas</dc:creator>
    <dc:date>2019-09-02T07:33:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: Disable lodash in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115057686" />
    <author>
      <name>Javier Lamadrid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115057686</id>
    <updated>2019-09-02T07:20:11Z</updated>
    <published>2019-09-02T07:20:11Z</published>
    <summary type="html">The error occurs when trying to edit a form. The editing screen is not displayed and a javascript error appears.&lt;br /&gt;&lt;br /&gt;Maybe it is solved in the version you are commenting on...&lt;br /&gt;&lt;br /&gt;Regards</summary>
    <dc:creator>Javier Lamadrid</dc:creator>
    <dc:date>2019-09-02T07:20:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Disable lodash in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115054633" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115054633</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2019-09-01T19:18:13Z</published>
    <summary type="html">Thanks for your answer. I have try in our website and it seems ok for Forms with fixpack 11.Do you know what is wrong with form because it seems ok for us. </summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2019-09-01T19:18:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: Disable lodash in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115054313" />
    <author>
      <name>Javier Lamadrid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115054313</id>
    <updated>2019-09-01T17:18:35Z</updated>
    <published>2019-09-01T17:18:35Z</published>
    <summary type="html">There is a consequence when deactivating Lodash, at least in version 7.1.2 GA3. The forms stop working in the backend, it causes an error js. &lt;br /&gt;Regards</summary>
    <dc:creator>Javier Lamadrid</dc:creator>
    <dc:date>2019-09-01T17:18:35Z</dc:date>
  </entry>
  <entry>
    <title>Disable lodash in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115053229" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=115053229</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2019-08-31T19:22:34Z</published>
    <summary type="html">In Liferay 7.1, we can disable lodash and increase performance of every pages.Do you know if we can do that with no consequences? If yes, why lodash is active by default? </summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2019-08-31T19:22:34Z</dc:date>
  </entry>
</feed>
