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 03971bd033 Fixed: docker-entrypoint.sh does not properly handle 
variable OFBIZ_DISABLE_COMPONENTS (OFBIZ-13314)
03971bd033 is described below

commit 03971bd0338b31c8074886603f25ea6419a279cf
Author: Jacques Le Roux <[email protected]>
AuthorDate: Sat Dec 13 16:06:30 2025 +0100

    Fixed: docker-entrypoint.sh does not properly handle variable 
OFBIZ_DISABLE_COMPONENTS (OFBIZ-13314)
    
    As explained at https://github.com/apache/ofbiz-framework/pull/919
    Daniel Watford, who initially wrote the script, advised to revert the 155 
line
    and to remove the comment I put in previous commit.
    
    Thanks: Daniel
---
 docker/docker-entrypoint.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
index f6620bd01d..00d2bfaf91 100755
--- a/docker/docker-entrypoint.sh
+++ b/docker/docker-entrypoint.sh
@@ -146,13 +146,7 @@ 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}
+  
OFBIZ_DISABLE_COMPONENTS=${OFBIZ_DISABLE_COMPONENTS-plugins/birt/ofbiz-component.xml}
 }
 
 ###############################################################################

Reply via email to