Ask - Test
Feature flag LPS-170809/163118/166126 is not available for company 0
Feature flag LPS-170809/163118/166126 is not available for company 0
New Member Posts: 12 Join Date: 2/1/20 Recent PostsAfter deploying a bundle three errors appear to Liferay log:
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
I get these errors with two test bundles:
- A dummy Job Scheduler app that does nothing but writes one log line "execute jobs" from doExecute()-method
- A Captcha hook with Fragment-Host: com.liferay.captcha.taglib;bundle-version="5.1.4" in bnd.bnd
Steps to reproduce:
- Start Liferay
- Deploy the Job Scheduler app
- Deploy the Captcha hook
- Go to Liferay's Control Panel -> Job Scheduler and add the dummy Job Scheduler app and click Run Now ("execute jobs" appears on the log)
- Touch the Captcha hook so that it get's a new modified timestamp
- Re-deploy the Captcha hook
Expected result: The Captcha hook & some dependency bundles were restarted with no errors
Actual result: The Captcha hook & some dependency bundles were restarted with three errors
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
I believe the errors relate to this ticket:
https://liferay.atlassian.net/browse/LPS-196350
https://github.com/liferay-platform-experience/liferay-portal/pull/353
"Ensure that developers understand the specific scope of the
feature flag they are checking when using FeatureFlagManagerUtil.isEnabled("LPS-xxx")"
My test environment: Docker version of Liferay 7.4.3.106-ga106.
In addition, a similar error for Feature flag LPS-134060 was mentioned on the Community Forum:
https://liferay-community.slack.com/archives/CLK0ZG2RK/p1708897527826379
RE: Feature flag LPS-170809/163118/166126 is not available for company 0
Expert Posts: 367 Join Date: 9/5/14 Recent PostsBug Report Created: https://liferay.atlassian.net/browse/LPD-19694
RE: RE: Feature flag LPS-170809/163118/166126 is not available for company 0
New Member Posts: 12 Join Date: 2/1/20 Recent PostsTested with Docker version of Liferay 7.4.3.112-ga112 where in my understanding LPD-19694 was fixed.
I still get the three feature flag errors I got with 7.4.3.106-ga106.
Steps to reproduce:
Two apps: A dummy Job Scheduler app and a Captcha hook.
- Start Liferay
- Deploy the dummy Job Scheduler app
- Go to Liferay's Control Panel -> Job Scheduler, add the dummy Job Scheduler app and click Run Now
- Deploy the Captcha hook
-> Three feature flag errors appear to Liferay log.
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
Powered by Liferay™