svn commit: r1861904 - /ofbiz/ofbiz-plugins/trunk/ecommerce/data/DemoProductCategoriesI18nData.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1861904 - /ofbiz/ofbiz-plugins/trunk/ecommerce/data/DemoProductCategoriesI18nData.xml

jleroux@apache.org
Author: jleroux
Date: Sun Jun 23 09:09:00 2019
New Revision: 1861904

URL: http://svn.apache.org/viewvc?rev=1861904&view=rev
Log:
Fixed: Last Categories section is blank
(OFBIZ-10858)

Issue 1:
1. Open https://demo-trunk.ofbiz.apache.org/ecomseo
2. Click on a category from the Categories section
3. Refresh the page
Actual:
1. Last Categories is blank
2. If we refresh the page then only the search category visible with the last
row blank with a bullet.

Issue 2:
1. Open https://demo-trunk.ofbiz.apache.org/ecomseo
2. Click on a category from the Categories section
3. Again, open the https://demo-trunk.ofbiz.apache.org/ecomseo in the new tab
Actual: 1st row is blank with searched categories

As per the initial observation, the issue persists for some specific categories
like Dropship Products, Account Activation and Services.
For all other categories, the last categories section is populated correctly.
So there could be some issue with the data.

jleroux: on Priya warning I modified the descriptions

Thanks: Rashi Dhagat for reporting, Priya Sharma for the fix

Modified:
    ofbiz/ofbiz-plugins/trunk/ecommerce/data/DemoProductCategoriesI18nData.xml

Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/data/DemoProductCategoriesI18nData.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/data/DemoProductCategoriesI18nData.xml?rev=1861904&r1=1861903&r2=1861904&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/data/DemoProductCategoriesI18nData.xml (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/data/DemoProductCategoriesI18nData.xml Sun Jun 23 09:09:00 2019
@@ -286,4 +286,46 @@
 
     <ContentAssoc contentId="CPROMO-001DESCEN" contentIdTo="CPROMO-001DESCFR" contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2007-12-28 00:00:00.0"/>
 
+    <!-- Services category -->
+    <DataResource dataResourceId="DRSERV-001DESCFR" dataResourceTypeId="ELECTRONIC_TEXT" localeString="fr"/>
+    <DataResource dataResourceId="DRSERV-001DESCEN" dataResourceTypeId="ELECTRONIC_TEXT" localeString="en"/>
+
+    <ElectronicText dataResourceId="DRSERV-001DESCFR" textData="Prestations de service"/>
+    <ElectronicText dataResourceId="DRSERV-001DESCEN" textData="Services"/>
+
+    <Content contentId="CSERV-001DESCFR" contentTypeId="DOCUMENT" dataResourceId="DRPROMO-001DESCFR" description="DESCRIPTION FR Prestations de service" localeString="fr"/>
+    <Content contentId="CSERV-001DESCEN" contentTypeId="DOCUMENT" dataResourceId="DRPROMO-001DESCEN" description="DESCRIPTION EN Services" localeString="en"/>
+
+    <ProductCategoryContent productCategoryId="SERV-001" contentId="CSERV-001DESCEN" prodCatContentTypeId="CATEGORY_NAME" fromDate="2007-12-28 00:00:00.0"/>
+
+    <ContentAssoc contentId="CSERV-001DESCEN" contentIdTo="CSERV-001DESCFR" contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2007-12-28 00:00:00.0"/>
+
+    <!-- Dropship  Products category -->
+    <DataResource dataResourceId="DRDS-001DESCFR" dataResourceTypeId="ELECTRONIC_TEXT" localeString="fr"/>
+    <DataResource dataResourceId="DRDS-001DESCEN" dataResourceTypeId="ELECTRONIC_TEXT" localeString="en"/>
+
+    <ElectronicText dataResourceId="DRDS-001DESCFR" textData="Produits vendus en mode DropShip"/>
+    <ElectronicText dataResourceId="DRDS-001DESCEN" textData="DropShip Products"/>
+
+    <Content contentId="CDS-001DESCFR" contentTypeId="DOCUMENT" dataResourceId="DRDS-001DESCFR" description="DESCRIPTION FR Produits DropShip" localeString="fr"/>
+    <Content contentId="CDS-001DESCEN" contentTypeId="DOCUMENT" dataResourceId="DRDS-001DESCEN" description="DESCRIPTION EN DropShip Products" localeString="en"/>
+
+    <ProductCategoryContent productCategoryId="dropShip" contentId="CDS-001DESCEN" prodCatContentTypeId="CATEGORY_NAME" fromDate="2007-12-28 00:00:00.0"/>
+
+    <ContentAssoc contentId="CDS-001DESCEN" contentIdTo="CDS-001DESCFR" contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2007-12-28 00:00:00.0"/>
+
+    <!-- Account Activation category -->
+    <DataResource dataResourceId="DRAA-001DESCFR" dataResourceTypeId="ELECTRONIC_TEXT" localeString="fr"/>
+    <DataResource dataResourceId="DRAA-001DESCEN" dataResourceTypeId="ELECTRONIC_TEXT" localeString="en"/>
+
+    <ElectronicText dataResourceId="DRAA-001DESCFR" textData="Activation de compte"/>
+    <ElectronicText dataResourceId="DRAA-001DESCEN" textData="Account Activation"/>
+
+    <Content contentId="CAA-001DESCFR" contentTypeId="DOCUMENT" dataResourceId="DRAA-001DESCFR" description="DESCRIPTION FR Activation de compte" localeString="fr"/>
+    <Content contentId="CAA-001DESCEN" contentTypeId="DOCUMENT" dataResourceId="DRAA-001DESCEN" description="DESCRIPTION EN Account Activation" localeString="en"/>
+
+    <ProductCategoryContent productCategoryId="FA-100" contentId="CAA-001DESCEN" prodCatContentTypeId="CATEGORY_NAME" fromDate="2007-12-28 00:00:00.0"/>
+
+    <ContentAssoc contentId="CAA-001DESCEN" contentIdTo="CAA-001DESCFR" contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2007-12-28 00:00:00.0"/>
+
 </entity-engine-xml>