This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new ef90449a96 Fixed: docker-entrypoint.sh does not properly handle
variable OFBIZ_DISABLE_COMPONENTS (OFBIZ-13314)
ef90449a96 is described below
commit ef90449a96145691b0ba9e6f61b3435487118906
Author: Jacques Le Roux <[email protected]>
AuthorDate: Mon Dec 8 11:48:50 2025 +0100
Fixed: docker-entrypoint.sh does not properly handle variable
OFBIZ_DISABLE_COMPONENTS (OFBIZ-13314)
Adds a comment to explain what to do when willing to enable one comment
only,
for now the case concerns the birt component.
Here is the comment added
+###############################################################################
+# With https://issues.apache.org/jira/browse/OFBIZ-13314 a change has been
here to allow disabling several components
+# A side effect is that you need to disable at least one component. By
defaut it's birt component.
+# It's then complicate if you want to enable the birt component without
disabling any other component.
+# A solution for that is to revert the changes done by
https://github.com/apache/ofbiz-framework/pull/919
+# Fortunately it's also easy to be done by hand.
---
docker/docker-entrypoint.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
index f6211e0d08..f6620bd01d 100755
--- a/docker/docker-entrypoint.sh
+++ b/docker/docker-entrypoint.sh
@@ -146,6 +146,12 @@ ofbiz_setup_env() {
OFBIZ_POSTGRES_TENANT_USER=${OFBIZ_POSTGRES_TENANT_USER:-ofbiztenant}
OFBIZ_POSTGRES_TENANT_PASSWORD=${OFBIZ_POSTGRES_TENANT_PASSWORD:-ofbiztenant}
+###############################################################################
+# With https://issues.apache.org/jira/browse/OFBIZ-13314 a change has been
here to allow disabling several components
+# A side effect is that you need to disable at least one component. By defaut
it's birt component.
+# It's then complicate if you want to enable the birt component without
disabling any other component.
+# A solution for that is to revert the changes done by
https://github.com/apache/ofbiz-framework/pull/919
+# Fortunately it's also easy to be done by hand.
OFBIZ_DISABLE_COMPONENTS=${OFBIZ_DISABLE_COMPONENTS:-plugins/birt/ofbiz-component.xml}
}