You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2019/03/02 13:30:36 UTC

svn commit: r1854640 - in /ofbiz/tools/demo-backup: url.properties.old.patch url.properties.stable.patch url.properties.trunk.patch

Author: jleroux
Date: Sat Mar  2 13:30:36 2019
New Revision: 1854640

URL: http://svn.apache.org/viewvc?rev=1854640&view=rev
Log:
Improved: Fix issues related to images paths on demos
(OFBIZ-)

While working on OFBIZ-10128 I stumbled upon this issue found on trunk demo

Image not found. URI: /images/ofbiz_logo.png. (See position 37:54)
Image not found. URI: /images/ofbiz_logo.png. (No context info available)

Here are demo patches to fix these issues

Thanks: Deepak Dixit for the information provided

Added:
    ofbiz/tools/demo-backup/url.properties.old.patch
    ofbiz/tools/demo-backup/url.properties.stable.patch
    ofbiz/tools/demo-backup/url.properties.trunk.patch

Added: ofbiz/tools/demo-backup/url.properties.old.patch
URL: http://svn.apache.org/viewvc/ofbiz/tools/demo-backup/url.properties.old.patch?rev=1854640&view=auto
==============================================================================
--- ofbiz/tools/demo-backup/url.properties.old.patch (added)
+++ ofbiz/tools/demo-backup/url.properties.old.patch Sat Mar  2 13:30:36 2019
@@ -0,0 +1,15 @@
+Index: framework/webapp/config/url.properties
+===================================================================
+--- framework/webapp/config/url.properties	(revision 1854638)
++++ framework/webapp/config/url.properties	(working copy)
+@@ -36,8 +36,8 @@
+ 
+ # Static Content URLs to make it easy to move the serving load for static content to other machines
+ # -- these are for general content such as images, js & css files, or non-dynamic HTML files
+-content.url.prefix.secure=
+-content.url.prefix.standard=
++content.url.prefix.secure=https://demo-old.ofbiz.apache.org
++content.url.prefix.standard=https://demo-old.ofbiz.apache.org
+ 
+ # Here you can set the domain string to use for new cookies
+ cookie.domain=

Added: ofbiz/tools/demo-backup/url.properties.stable.patch
URL: http://svn.apache.org/viewvc/ofbiz/tools/demo-backup/url.properties.stable.patch?rev=1854640&view=auto
==============================================================================
--- ofbiz/tools/demo-backup/url.properties.stable.patch (added)
+++ ofbiz/tools/demo-backup/url.properties.stable.patch Sat Mar  2 13:30:36 2019
@@ -0,0 +1,15 @@
+Index: framework/webapp/config/url.properties
+===================================================================
+--- framework/webapp/config/url.properties	(revision 1854638)
++++ framework/webapp/config/url.properties	(working copy)
+@@ -36,8 +36,8 @@
+ 
+ # Static Content URLs to make it easy to move the serving load for static content to other machines
+ # -- these are for general content such as images, js & css files, or non-dynamic HTML files
+-content.url.prefix.secure=
+-content.url.prefix.standard=
++content.url.prefix.secure=https://demo-stable.ofbiz.apache.org
++content.url.prefix.standard=https://demo-stable.ofbiz.apache.org
+ 
+ # Here you can set the domain string to use for new cookies
+ cookie.domain=

Added: ofbiz/tools/demo-backup/url.properties.trunk.patch
URL: http://svn.apache.org/viewvc/ofbiz/tools/demo-backup/url.properties.trunk.patch?rev=1854640&view=auto
==============================================================================
--- ofbiz/tools/demo-backup/url.properties.trunk.patch (added)
+++ ofbiz/tools/demo-backup/url.properties.trunk.patch Sat Mar  2 13:30:36 2019
@@ -0,0 +1,15 @@
+Index: framework/webapp/config/url.properties
+===================================================================
+--- framework/webapp/config/url.properties	(revision 1854638)
++++ framework/webapp/config/url.properties	(working copy)
+@@ -36,8 +36,8 @@
+ 
+ # Static Content URLs to make it easy to move the serving load for static content to other machines
+ # -- these are for general content such as images, js & css files, or non-dynamic HTML files
+-content.url.prefix.secure=
+-content.url.prefix.standard=
++content.url.prefix.secure=https://demo-trunk.ofbiz.apache.org
++content.url.prefix.standard=https://demo-trunk.ofbiz.apache.org
+ 
+ # Here you can set the domain string to use for new cookies
+ cookie.domain=