<?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>Feature flag LPS-170809/163118/166126 is not available for company 0</title>
  <link rel="self" href="https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122432936" />
  <subtitle>Feature flag LPS-170809/163118/166126 is not available for company 0</subtitle>
  <id>https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122432936</id>
  <updated>2026-04-09T12:19:18Z</updated>
  <dc:date>2026-04-09T12:19:18Z</dc:date>
  <entry>
    <title>RE: RE: Feature flag LPS-170809/163118/166126 is not available for company 0</title>
    <link rel="alternate" href="https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122476353" />
    <author>
      <name>Mikael Andersson</name>
    </author>
    <id>https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122476353</id>
    <updated>2024-03-18T15:47:08Z</updated>
    <published>2024-03-18T15:47:07Z</published>
    <summary type="html">&lt;p&gt;Tested with Docker version of Liferay 7.4.3.112-ga112 where in my
  understanding LPD-19694 was fixed.&lt;/p&gt;
&lt;p&gt;I still get the three feature flag errors I got with 7.4.3.106-ga106.&lt;/p&gt;
&lt;p&gt;Steps to reproduce:&lt;/p&gt;
&lt;p&gt;Two apps: A dummy Job Scheduler app and a Captcha hook.&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;Start Liferay&lt;/li&gt;
  &lt;li&gt;Deploy the dummy Job Scheduler app&lt;/li&gt;
  &lt;li&gt;Go to Liferay's Control Panel -&amp;gt; Job Scheduler, add the dummy
    Job Scheduler app and click Run Now&lt;/li&gt;
  &lt;li&gt;Deploy the Captcha hook&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;-&amp;gt; Three feature flag errors appear to Liferay log.&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;2024-03-18 15:25:40.588 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:212] Processing MyJobScheduler-1.0.jar
2024-03-18 15:25:50.170 INFO  [fileinstall-directory-watcher][BundleStartStopLogger:68] STARTED MyJobScheduler_1.0.0 [1630]
2024-03-18 15:27:11.475 INFO  [liferay/dispatch/executor-2][MyJobScheduler:26] execute jobs
2024-03-18 15:27:25.602 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:212] Processing MyCaptchaHook-1.0.jar
2024-03-18 15:27:35.489 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:71] STOPPED com.liferay.captcha.taglib_5.1.4 [1406]
2024-03-18 15:27:35.523 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:71] STOPPED com.liferay.flags.web_6.0.23 [1397]
2024-03-18 15:27:35.578 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:71] STOPPED com.liferay.login.web_6.0.49 [812]
2024-03-18 15:27:36.687 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:71] STOPPED com.liferay.dynamic.data.mapping.form.field.type_6.0.165 [678]
2024-03-18 15:27:36.725 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:71] STOPPED com.liferay.message.boards.web_5.0.102 [518]
2024-03-18 15:27:37.093 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:68] STARTED com.liferay.message.boards.web_5.0.102 [518]
2024-03-18 15:27:37.196 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:68] STARTED com.liferay.dynamic.data.mapping.form.field.type_6.0.165 [678]
2024-03-18 15:27:37.267 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:68] STARTED com.liferay.login.web_6.0.49 [812]
2024-03-18 15:27:37.311 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:68] STARTED com.liferay.flags.web_6.0.23 [1397]
2024-03-18 15:27:37.321 INFO  [Refresh Thread: Equinox Container: a161b...][BundleStartStopLogger:68] STARTED com.liferay.captcha.taglib_5.1.4 [1406]
2024-03-18 15:27:37.435 ERROR [SystemExecutorServiceUtil-27][FeatureFlagsBag:90] Feature flag LPS-170809 is not available for company 0
2024-03-18 15:27:37.437 ERROR [SystemExecutorServiceUtil-27][FeatureFlagsBag:90] Feature flag LPS-163118 is not available for company 0
2024-03-18 15:27:37.437 ERROR [SystemExecutorServiceUtil-27][FeatureFlagsBag:90] Feature flag LPS-166126 is not available for company 0
&lt;/code&gt;&lt;/pre&gt;</summary>
    <dc:creator>Mikael Andersson</dc:creator>
    <dc:date>2024-03-18T15:47:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Feature flag LPS-170809/163118/166126 is not available for company 0</title>
    <link rel="alternate" href="https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122451556" />
    <author>
      <name>Jamie Sammons</name>
    </author>
    <id>https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122451556</id>
    <updated>2024-03-06T18:03:59Z</updated>
    <published>2024-03-06T18:03:58Z</published>
    <summary type="html">&lt;p&gt;Bug Report Created: https://liferay.atlassian.net/browse/LPD-19694&lt;/p&gt;</summary>
    <dc:creator>Jamie Sammons</dc:creator>
    <dc:date>2024-03-06T18:03:58Z</dc:date>
  </entry>
  <entry>
    <title>Feature flag LPS-170809/163118/166126 is not available for company 0</title>
    <link rel="alternate" href="https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122432935" />
    <author>
      <name>Mikael Andersson</name>
    </author>
    <id>https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122432935</id>
    <updated>2024-02-29T06:21:48Z</updated>
    <published>2024-02-29T06:21:47Z</published>
    <summary type="html">&lt;p&gt;After deploying a bundle three errors appear to Liferay log:&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;Feature flag LPS-170809 is not available for company 0
Feature flag LPS-163118 is not available for company 0
Feature flag LPS-166126 is not available for company 0&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I get these errors with two test bundles:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;A dummy Job Scheduler app that does nothing but writes one log
    line &amp;quot;execute jobs&amp;quot; from doExecute()-method&lt;/li&gt;
  &lt;li&gt;A Captcha hook with Fragment-Host:
    com.liferay.captcha.taglib;bundle-version=&amp;quot;5.1.4&amp;quot; in bnd.bnd&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Steps to reproduce:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;Start Liferay&lt;/li&gt;
  &lt;li&gt;Deploy the Job Scheduler app&lt;/li&gt;
  &lt;li&gt;Deploy the Captcha hook&lt;/li&gt;
  &lt;li&gt;Go to Liferay's Control Panel -&amp;gt; Job Scheduler and add the
    dummy Job Scheduler app and click Run Now (&amp;quot;execute jobs&amp;quot;
    appears on the log)&lt;/li&gt;
  &lt;li&gt;Touch the Captcha hook so that it get's a new modified timestamp&lt;/li&gt;
  &lt;li&gt;Re-deploy the Captcha hook&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Expected result: The Captcha hook &amp;amp; some dependency bundles were
  restarted with no errors&lt;/p&gt;
&lt;p&gt;Actual result: The Captcha hook &amp;amp; some dependency bundles were
  restarted with three errors&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;liferay-dev_1  | 2024-02-28 15:48:33.420 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:212] Processing MyCaptchaHook-1.0.jar
liferay-dev_1  | 2024-02-28 15:48:39.699 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:71] STOPPED com.liferay.captcha.taglib_5.1.3 [1402]
liferay-dev_1  | 2024-02-28 15:48:39.728 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:71] STOPPED com.liferay.flags.web_6.0.22 [1394]
liferay-dev_1  | 2024-02-28 15:48:39.760 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:71] STOPPED com.liferay.login.web_6.0.49 [812]
liferay-dev_1  | 2024-02-28 15:48:41.160 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:71] STOPPED com.liferay.dynamic.data.mapping.form.field.type_6.0.159 [678]
liferay-dev_1  | 2024-02-28 15:48:41.199 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:71] STOPPED com.liferay.message.boards.web_5.0.97 [518]
liferay-dev_1  | 2024-02-28 15:48:41.481 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:68] STARTED com.liferay.message.boards.web_5.0.97 [518]
liferay-dev_1  | 2024-02-28 15:48:41.577 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:68] STARTED com.liferay.dynamic.data.mapping.form.field.type_6.0.159 [678]
liferay-dev_1  | 2024-02-28 15:48:41.696 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:68] STARTED com.liferay.login.web_6.0.49 [812]
liferay-dev_1  | 2024-02-28 15:48:41.735 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:68] STARTED com.liferay.flags.web_6.0.22 [1394]
liferay-dev_1  | 2024-02-28 15:48:41.767 INFO  [Refresh Thread: Equinox Container: dfe73141-3057-4f9f-b42d-c48aab5f36fe][BundleStartStopLogger:68] STARTED com.liferay.captcha.taglib_5.1.3 [1402]
liferay-dev_1  | 2024-02-28 15:48:41.959 ERROR [SystemExecutorServiceUtil-66][FeatureFlagsBag:90] Feature flag LPS-170809 is not available for company 0
liferay-dev_1  | 2024-02-28 15:48:41.967 ERROR [SystemExecutorServiceUtil-66][FeatureFlagsBag:90] Feature flag LPS-163118 is not available for company 0
liferay-dev_1  | 2024-02-28 15:48:41.969 ERROR [SystemExecutorServiceUtil-66][FeatureFlagsBag:90] Feature flag LPS-166126 is not available for company 0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I believe the errors relate to this ticket:&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://liferay.atlassian.net/browse/LPS-196350"&gt;https://liferay.atlassian.net/browse/LPS-196350&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/liferay-platform-experience/liferay-portal/pull/353"&gt;https://github.com/liferay-platform-experience/liferay-portal/pull/353&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;Ensure that developers understand the specific scope of the
  feature flag they are checking when using &lt;code&gt;FeatureFlagManagerUtil.isEnabled(&amp;quot;LPS-xxx&amp;quot;)&amp;quot;&lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;My test environment: Docker version of Liferay 7.4.3.106-ga106.&lt;/p&gt;
&lt;p&gt;
  &lt;font face="monospace"&gt;In addition, a similar error for Feature flag
    LPS-134060 was mentioned on the Community Forum:&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://liferay-community.slack.com/archives/CLK0ZG2RK/p1708897527826379"&gt;https://liferay-community.slack.com/archives/CLK0ZG2RK/p1708897527826379&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Mikael Andersson</dc:creator>
    <dc:date>2024-02-29T06:21:47Z</dc:date>
  </entry>
</feed>
