Author: jleroux
Date: Sat Nov 12 18:12:22 2011
New Revision: 1201294
URL:
http://svn.apache.org/viewvc?rev=1201294&view=revLog:
A patch from Jonatan Soto
https://issues.apache.org/jira/browse/OFBIZ-4549It is missing the related 'ElectronicText' record for a 'DataResource' when dataResourceId=SV-1000-ALT
An error stack trace is shown when displaying the category that uses this content when a locale different to English is set.
http://demo-trunk.ofbiz.apache.org/ecommerce/service-product-SERV-001-cModified:
ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml
Modified: ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml?rev=1201294&r1=1201293&r2=1201294&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml Sat Nov 12 18:12:22 2011
@@ -708,6 +708,7 @@ under the License.
<DataResource dataResourceTypeId="ELECTRONIC_TEXT" dataResourceId="DRSV-1000-ALTEN" localeString="en_US"/>
<ElectronicText dataResourceId="SERV-001-ALT" textData="services"/>
<ElectronicText dataResourceId="SERV-001-ALT" textData="service-product"/>
+ <ElectronicText dataResourceId="SV-1000-ALT" textData="SV 1000 ALT"/>
<ElectronicText dataResourceId="DRSERV-001-ALTEN" textData="services"/>
<ElectronicText dataResourceId="DRSERV-001-ALTEN" textData="service-product"/>