Administrator
|
I got this error using blogs in ECommerce
D:\workspace\ofbizRun\applications\ecommerce\webapp\ecommerce\component:\ecommerce\widget\blog\BlogTemplates.xml#FloatLeft (Syntaxe
du nom de fichier, de répertoire ou de volume incorrecte)
---- stack trace ---------------------------------------------------------------
java.io.FileNotFoundException:
D:\workspace\ofbizRun\applications\ecommerce\webapp\ecommerce\component:\ecommerce\widget\blog\BlogTemplates.xml#FloatLeft (Syntaxe
du nom de fichier, de répertoire ou de volume incorrecte)
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:106)
java.io.FileReader.<init>(FileReader.java:55)
org.ofbiz.content.data.DataResourceWorker.renderFile(DataResourceWorker.java:956)
org.ofbiz.content.data.DataResourceWorker.writeDataResourceText(DataResourceWorker.java:837)
"Syntaxe du nom de fichier, de répertoire ou de volume incorrecte" means the filename is wrong (obvious ;o)
I tried to change this line in DemoBlogEntryData.xml
<DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED"
dataResourceName="Float left" mimeTypeId="text/html" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"
createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2007-01-23 16:46:38.468"
lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.468" lastUpdatedTxStamp="2007-01-23 16:46:37.359"
createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406"/>
<DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED"
dataResourceName="Float left" mimeTypeId="text/html" objectInfo="applications/ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"
createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2007-01-23 16:46:38.468"
lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.468" lastUpdatedTxStamp="2007-01-23 16:46:37.359"
createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406"/>
I also noticed that objectInfo value begin with different prefixes is there a rule to know wich prefix to use in which case ?
prefixes used are
* nothing special
* component://
* /applications
* applications
Thanks
Jacques
|