Hi Hans,
The trunk seems to have issues loading the demo data after this commit: [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error occurred reading data [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction error occurred reading data Thanks Scott HotWax Media http://www.hotwaxmedia.com On 26/09/2010, at 7:41 PM, [hidden email] wrote: > Author: hansbak > Date: Sun Sep 26 06:41:58 2010 > New Revision: 1001368 > > URL: http://svn.apache.org/viewvc?rev=1001368&view=rev > Log: > correct blog demo data > > Modified: > ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml > ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml > > Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff > ============================================================================== > --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) > +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 > @@ -18,9 +18,9 @@ > under the License. > --> > <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> > - <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> > + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> > + <DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> > + <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> > <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> > <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> > <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> > @@ -31,8 +31,8 @@ > <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> > <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> > <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> > - <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> > - <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> > + <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> > + <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> > <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> > <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> > <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> > > Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff > ============================================================================== > --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) > +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 > @@ -23,12 +23,12 @@ under the License. > <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> > <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> > > - <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> > - <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> > + <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> > + <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> > > - <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> > - <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> > - <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> > - <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> > + <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> > + <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> > + <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> > + <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> > > </entity-engine-xml> > > smime.p7s (3K) Download Attachment |
Hi Scott,
thank you for the attention you have to my commits, however can you explain what you did? I did here, ./ant clean-all;./ant run-install and here you have the last few lines of the log: [java] 2010-09-28 19:04:36,659 (main) [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml [java] 2010-09-28 19:04:36,659 (main) [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data load with 15452 rows changed. [java] 2010-09-28 19:04:36,659 (main) [ ContainerLoader.java:113:INFO ] Shutting down containers BUILD SUCCESSFUL I used rev 1001380 So perhaps you are doing something different than I did? Regards, Hans On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: > Hi Hans, > > The trunk seems to have issues loading the demo data after this commit: > [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: > [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error occurred reading data > [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction error occurred reading data > > Thanks > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 26/09/2010, at 7:41 PM, [hidden email] wrote: > > > Author: hansbak > > Date: Sun Sep 26 06:41:58 2010 > > New Revision: 1001368 > > > > URL: http://svn.apache.org/viewvc?rev=1001368&view=rev > > Log: > > correct blog demo data > > > > Modified: > > ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml > > ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml > > > > Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml > > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff > > ============================================================================== > > --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) > > +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 > > @@ -18,9 +18,9 @@ > > under the License. > > --> > > <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> > > - <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> > > + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> > > + <DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> > > + <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> > > <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> > > <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> > > <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> > > @@ -31,8 +31,8 @@ > > <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> > > <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> > > <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> > > - <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> > > - <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> > > + <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> > > + <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> > > <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> > > <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> > > <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> > > > > Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml > > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff > > ============================================================================== > > --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) > > +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 > > @@ -23,12 +23,12 @@ under the License. > > <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> > > <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> > > > > - <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> > > - <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> > > + <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> > > + <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> > > > > - <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> > > - <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> > > - <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> > > - <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> > > + <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> > > + <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> > > + <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> > > + <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> > > > > </entity-engine-xml> > > > > > -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com: Quality services for competitive rates. |
Hi Hans,
Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is reporting the same problem as me: http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio That's the output from buildbot's latest run-install operation. Keep in mind that clean-all only affects derby databases. Thanks Scott On 29/09/2010, at 2:11 AM, Hans Bakker wrote: > Hi Scott, > > thank you for the attention you have to my commits, however can you > explain what you did? > > I did here, ./ant clean-all;./ant run-install and here you have the last > few lines of the log: > > [java] 2010-09-28 19:04:36,659 (main) > [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from > file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml > [java] 2010-09-28 19:04:36,659 (main) > [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data > load with 15452 rows changed. > [java] 2010-09-28 19:04:36,659 (main) [ > ContainerLoader.java:113:INFO ] Shutting down containers > > BUILD SUCCESSFUL > > I used rev 1001380 > > So perhaps you are doing something different than I did? > > Regards, > Hans > > > > On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >> Hi Hans, >> >> The trunk seems to have issues loading the demo data after this commit: >> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: >> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error occurred reading data >> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction error occurred reading data >> >> Thanks >> Scott >> >> HotWax Media >> http://www.hotwaxmedia.com >> >> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >> >>> Author: hansbak >>> Date: Sun Sep 26 06:41:58 2010 >>> New Revision: 1001368 >>> >>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>> Log: >>> correct blog demo data >>> >>> Modified: >>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>> >>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>> ============================================================================== >>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>> @@ -18,9 +18,9 @@ >>> under the License. >>> --> >>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>> - <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>> + <DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>> + <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> >>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> >>> @@ -31,8 +31,8 @@ >>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>> - <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>> - <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>> + <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>> + <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>> >>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>> ============================================================================== >>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>> @@ -23,12 +23,12 @@ under the License. >>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>> >>> - <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>> - <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>> + <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>> + <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>> >>> - <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>> - <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>> - <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>> - <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>> + <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>> + <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>> + <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>> + <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>> >>> </entity-engine-xml> >>> >>> >> > > -- > Ofbiz on twitter: http://twitter.com/apache_ofbiz > Myself on twitter: http://twitter.com/hansbak > Antwebsystems.com: Quality services for competitive rates. > > > smime.p7s (3K) Download Attachment |
I remember when I made similar comments long time ago was told that only
guarantee derby and ./ant clean-all interesting to see the reverse. Scott Gray sent the following on 9/28/2010 7:25 PM: > Hi Hans, > > Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is reporting the same problem as me: > http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio > That's the output from buildbot's latest run-install operation. > > Keep in mind that clean-all only affects derby databases. > > Thanks > Scott > > On 29/09/2010, at 2:11 AM, Hans Bakker wrote: > >> Hi Scott, >> >> thank you for the attention you have to my commits, however can you >> explain what you did? >> >> I did here, ./ant clean-all;./ant run-install and here you have the last >> few lines of the log: >> >> [java] 2010-09-28 19:04:36,659 (main) >> [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >> file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >> [java] 2010-09-28 19:04:36,659 (main) >> [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >> load with 15452 rows changed. >> [java] 2010-09-28 19:04:36,659 (main) [ >> ContainerLoader.java:113:INFO ] Shutting down containers >> >> BUILD SUCCESSFUL >> >> I used rev 1001380 >> >> So perhaps you are doing something different than I did? >> >> Regards, >> Hans >> >> >> >> On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >>> Hi Hans, >>> >>> The trunk seems to have issues loading the demo data after this commit: >>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: >>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error occurred reading data >>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction error occurred reading data >>> >>> Thanks >>> Scott >>> >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >>> >>>> Author: hansbak >>>> Date: Sun Sep 26 06:41:58 2010 >>>> New Revision: 1001368 >>>> >>>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>>> Log: >>>> correct blog demo data >>>> >>>> Modified: >>>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>> >>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>> ============================================================================== >>>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>>> @@ -18,9 +18,9 @@ >>>> under the License. >>>> --> >>>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> -<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>>> +<DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> +<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> >>>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> >>>> @@ -31,8 +31,8 @@ >>>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> -<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> -<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> +<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> +<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>>> >>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>> ============================================================================== >>>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>>> @@ -23,12 +23,12 @@ under the License. >>>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>> >>>> -<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>> -<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>> +<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>> +<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>> >>>> -<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>> -<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>> -<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>> -<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>> +<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>> +<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>> +<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>> +<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>> >>>> </entity-engine-xml> >>>> >>>> >>> >> >> -- >> Ofbiz on twitter: http://twitter.com/apache_ofbiz >> Myself on twitter: http://twitter.com/hansbak >> Antwebsystems.com: Quality services for competitive rates. >> >> >> > |
Hi BJ,
I have absolutely no idea what you are talking about. All I was saying to Hans was that if he isn't using a derby database to check against then ant clean-all may not expose the problem because it requires an empty database to reproduce. Regards Scott On 29/09/2010, at 4:30 PM, BJ Freeman wrote: > I remember when I made similar comments long time ago was told that only guarantee derby and ./ant clean-all > > interesting to see the reverse. > > > > Scott Gray sent the following on 9/28/2010 7:25 PM: >> Hi Hans, >> >> Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is reporting the same problem as me: >> http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio >> That's the output from buildbot's latest run-install operation. >> >> Keep in mind that clean-all only affects derby databases. >> >> Thanks >> Scott >> >> On 29/09/2010, at 2:11 AM, Hans Bakker wrote: >> >>> Hi Scott, >>> >>> thank you for the attention you have to my commits, however can you >>> explain what you did? >>> >>> I did here, ./ant clean-all;./ant run-install and here you have the last >>> few lines of the log: >>> >>> [java] 2010-09-28 19:04:36,659 (main) >>> [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >>> file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >>> [java] 2010-09-28 19:04:36,659 (main) >>> [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >>> load with 15452 rows changed. >>> [java] 2010-09-28 19:04:36,659 (main) [ >>> ContainerLoader.java:113:INFO ] Shutting down containers >>> >>> BUILD SUCCESSFUL >>> >>> I used rev 1001380 >>> >>> So perhaps you are doing something different than I did? >>> >>> Regards, >>> Hans >>> >>> >>> >>> On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >>>> Hi Hans, >>>> >>>> The trunk seems to have issues loading the demo data after this commit: >>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: >>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error occurred reading data >>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction error occurred reading data >>>> >>>> Thanks >>>> Scott >>>> >>>> HotWax Media >>>> http://www.hotwaxmedia.com >>>> >>>> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >>>> >>>>> Author: hansbak >>>>> Date: Sun Sep 26 06:41:58 2010 >>>>> New Revision: 1001368 >>>>> >>>>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>>>> Log: >>>>> correct blog demo data >>>>> >>>>> Modified: >>>>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>> >>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>> ============================================================================== >>>>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>>>> @@ -18,9 +18,9 @@ >>>>> under the License. >>>>> --> >>>>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> -<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>>>> +<DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> +<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>> @@ -31,8 +31,8 @@ >>>>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>>>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> -<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> -<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> +<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> +<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>> >>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>> ============================================================================== >>>>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>>>> @@ -23,12 +23,12 @@ under the License. >>>>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>> >>>>> -<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>> -<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>> +<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>> +<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>> >>>>> -<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>> -<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>> -<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>> -<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>> +<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>> +<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>> +<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>> +<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>> >>>>> </entity-engine-xml> >>>>> >>>>> >>>> >>> >>> -- >>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>> Myself on twitter: http://twitter.com/hansbak >>> Antwebsystems.com: Quality services for competitive rates. >>> >>> >>> >> > smime.p7s (3K) Download Attachment |
Apologize since hans did ./ant clean-all
and that does deletes the derby, I thought you meant something else. ========================= BJ Freeman Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Scott Gray sent the following on 9/28/2010 9:15 PM: > Hi BJ, > > I have absolutely no idea what you are talking about. > > All I was saying to Hans was that if he isn't using a derby database to check against then ant clean-all may not expose the problem because it requires an empty database to reproduce. > > Regards > Scott > > On 29/09/2010, at 4:30 PM, BJ Freeman wrote: > >> I remember when I made similar comments long time ago was told that only guarantee derby and ./ant clean-all >> >> interesting to see the reverse. >> >> >> >> Scott Gray sent the following on 9/28/2010 7:25 PM: >>> Hi Hans, >>> >>> Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is reporting the same problem as me: >>> http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio >>> That's the output from buildbot's latest run-install operation. >>> >>> Keep in mind that clean-all only affects derby databases. >>> >>> Thanks >>> Scott >>> >>> On 29/09/2010, at 2:11 AM, Hans Bakker wrote: >>> >>>> Hi Scott, >>>> >>>> thank you for the attention you have to my commits, however can you >>>> explain what you did? >>>> >>>> I did here, ./ant clean-all;./ant run-install and here you have the last >>>> few lines of the log: >>>> >>>> [java] 2010-09-28 19:04:36,659 (main) >>>> [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >>>> file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >>>> [java] 2010-09-28 19:04:36,659 (main) >>>> [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >>>> load with 15452 rows changed. >>>> [java] 2010-09-28 19:04:36,659 (main) [ >>>> ContainerLoader.java:113:INFO ] Shutting down containers >>>> >>>> BUILD SUCCESSFUL >>>> >>>> I used rev 1001380 >>>> >>>> So perhaps you are doing something different than I did? >>>> >>>> Regards, >>>> Hans >>>> >>>> >>>> >>>> On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >>>>> Hi Hans, >>>>> >>>>> The trunk seems to have issues loading the demo data after this commit: >>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: >>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error occurred reading data >>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction error occurred reading data >>>>> >>>>> Thanks >>>>> Scott >>>>> >>>>> HotWax Media >>>>> http://www.hotwaxmedia.com >>>>> >>>>> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >>>>> >>>>>> Author: hansbak >>>>>> Date: Sun Sep 26 06:41:58 2010 >>>>>> New Revision: 1001368 >>>>>> >>>>>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>>>>> Log: >>>>>> correct blog demo data >>>>>> >>>>>> Modified: >>>>>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>> >>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>> ============================================================================== >>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>>>>> @@ -18,9 +18,9 @@ >>>>>> under the License. >>>>>> --> >>>>>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> -<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>>>>> +<DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> +<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>> @@ -31,8 +31,8 @@ >>>>>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>>>>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> -<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> -<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> +<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> +<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>> >>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>> ============================================================================== >>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>>>>> @@ -23,12 +23,12 @@ under the License. >>>>>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>> >>>>>> -<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>> -<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>> +<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>> +<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>> >>>>>> -<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>> -<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>> -<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>> -<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>> +<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>> +<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>> +<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>> +<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>> >>>>>> </entity-engine-xml> >>>>>> >>>>>> >>>>> >>>> >>>> -- >>>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>>> Myself on twitter: http://twitter.com/hansbak >>>> Antwebsystems.com: Quality services for competitive rates. >>>> >>>> >>>> >>> >> > |
Administrator
|
Is there someone working on this? It's an issue for one of my clients...
The problem : when you install on a fresh new DB (Postgres in my case, but that's not the point) you cross the issue already reported by Scott and visible at http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio (look for BlogSeedData.xml) Thanks Jacques From: "BJ Freeman" <[hidden email]> > Apologize since hans did ./ant clean-all > and that does deletes the derby, I thought you meant something else. > > ========================= > BJ Freeman > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > > > Scott Gray sent the following on 9/28/2010 9:15 PM: >> Hi BJ, >> >> I have absolutely no idea what you are talking about. >> >> All I was saying to Hans was that if he isn't using a derby database to check against then ant clean-all may not expose the >> problem because it requires an empty database to reproduce. >> >> Regards >> Scott >> >> On 29/09/2010, at 4:30 PM, BJ Freeman wrote: >> >>> I remember when I made similar comments long time ago was told that only guarantee derby and ./ant clean-all >>> >>> interesting to see the reverse. >>> >>> >>> >>> Scott Gray sent the following on 9/28/2010 7:25 PM: >>>> Hi Hans, >>>> >>>> Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is >>>> reporting the same problem as me: >>>> http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio >>>> That's the output from buildbot's latest run-install operation. >>>> >>>> Keep in mind that clean-all only affects derby databases. >>>> >>>> Thanks >>>> Scott >>>> >>>> On 29/09/2010, at 2:11 AM, Hans Bakker wrote: >>>> >>>>> Hi Scott, >>>>> >>>>> thank you for the attention you have to my commits, however can you >>>>> explain what you did? >>>>> >>>>> I did here, ./ant clean-all;./ant run-install and here you have the last >>>>> few lines of the log: >>>>> >>>>> [java] 2010-09-28 19:04:36,659 (main) >>>>> [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >>>>> file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >>>>> [java] 2010-09-28 19:04:36,659 (main) >>>>> [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >>>>> load with 15452 rows changed. >>>>> [java] 2010-09-28 19:04:36,659 (main) [ >>>>> ContainerLoader.java:113:INFO ] Shutting down containers >>>>> >>>>> BUILD SUCCESSFUL >>>>> >>>>> I used rev 1001380 >>>>> >>>>> So perhaps you are doing something different than I did? >>>>> >>>>> Regards, >>>>> Hans >>>>> >>>>> >>>>> >>>>> On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >>>>>> Hi Hans, >>>>>> >>>>>> The trunk seems to have issues loading the demo data after this commit: >>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: >>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource >>>>>> "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error >>>>>> occurred reading data >>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource >>>>>> "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction >>>>>> error occurred reading data >>>>>> >>>>>> Thanks >>>>>> Scott >>>>>> >>>>>> HotWax Media >>>>>> http://www.hotwaxmedia.com >>>>>> >>>>>> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >>>>>> >>>>>>> Author: hansbak >>>>>>> Date: Sun Sep 26 06:41:58 2010 >>>>>>> New Revision: 1001368 >>>>>>> >>>>>>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>>>>>> Log: >>>>>>> correct blog demo data >>>>>>> >>>>>>> Modified: >>>>>>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>>> >>>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>>> URL: >>>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>>> ============================================================================== >>>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>>>>>> @@ -18,9 +18,9 @@ >>>>>>> under the License. >>>>>>> --> >>>>>>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >>>>>>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >>>>>>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> -<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>> 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" >>>>>>> createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" >>>>>>> createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" >>>>>>> lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" >>>>>>> mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>>>>>> +<DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >>>>>>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >>>>>>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> +<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>> 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>> 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 >>>>>>> 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 >>>>>>> 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>>> @@ -31,8 +31,8 @@ >>>>>>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 >>>>>>> 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 >>>>>>> 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>>>>>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" >>>>>>> createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" >>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>> createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>> 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" >>>>>>> lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 >>>>>>> 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> -<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >>>>>>> statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>> 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >>>>>>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> -<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >>>>>>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>> 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> +<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>> 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >>>>>>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> +<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>> 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" >>>>>>> lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>> 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" >>>>>>> statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" >>>>>>> createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" >>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>> createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" >>>>>>> createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" >>>>>>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>> createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" >>>>>>> createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" >>>>>>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>> createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>>> >>>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>>> URL: >>>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>>> ============================================================================== >>>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>>>>>> @@ -23,12 +23,12 @@ under the License. >>>>>>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" >>>>>>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" >>>>>>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>>> >>>>>>> -<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>>> -<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>>> +<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>>> +<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>>> >>>>>>> -<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>>> -<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>>> -<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>>> -<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>>> +<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>>> +<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>>> +<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>>> +<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>>> >>>>>>> </entity-engine-xml> >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>>>> Myself on twitter: http://twitter.com/hansbak >>>>> Antwebsystems.com: Quality services for competitive rates. >>>>> >>>>> >>>>> >>>> >>> >> > |
Administrator
|
I should say that it's when you use ant run-install-seed and as well ant run-install
Jacques From: "Jacques Le Roux" <[hidden email]> > Is there someone working on this? It's an issue for one of my clients... > > The problem : when you install on a fresh new DB (Postgres in my case, but that's not the point) you cross the issue already > reported by Scott and visible at http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio (look for > BlogSeedData.xml) > > Thanks > > Jacques > > From: "BJ Freeman" <[hidden email]> > > >> Apologize since hans did ./ant clean-all >> and that does deletes the derby, I thought you meant something else. >> >> ========================= >> BJ Freeman >> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> Specialtymarket.com <http://www.specialtymarket.com/> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> >> >> Scott Gray sent the following on 9/28/2010 9:15 PM: >>> Hi BJ, >>> >>> I have absolutely no idea what you are talking about. >>> >>> All I was saying to Hans was that if he isn't using a derby database to check against then ant clean-all may not expose the >>> problem because it requires an empty database to reproduce. >>> >>> Regards >>> Scott >>> >>> On 29/09/2010, at 4:30 PM, BJ Freeman wrote: >>> >>>> I remember when I made similar comments long time ago was told that only guarantee derby and ./ant clean-all >>>> >>>> interesting to see the reverse. >>>> >>>> >>>> >>>> Scott Gray sent the following on 9/28/2010 7:25 PM: >>>>> Hi Hans, >>>>> >>>>> Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is >>>>> reporting the same problem as me: >>>>> http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio >>>>> That's the output from buildbot's latest run-install operation. >>>>> >>>>> Keep in mind that clean-all only affects derby databases. >>>>> >>>>> Thanks >>>>> Scott >>>>> >>>>> On 29/09/2010, at 2:11 AM, Hans Bakker wrote: >>>>> >>>>>> Hi Scott, >>>>>> >>>>>> thank you for the attention you have to my commits, however can you >>>>>> explain what you did? >>>>>> >>>>>> I did here, ./ant clean-all;./ant run-install and here you have the last >>>>>> few lines of the log: >>>>>> >>>>>> [java] 2010-09-28 19:04:36,659 (main) >>>>>> [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >>>>>> file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >>>>>> [java] 2010-09-28 19:04:36,659 (main) >>>>>> [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >>>>>> load with 15452 rows changed. >>>>>> [java] 2010-09-28 19:04:36,659 (main) [ >>>>>> ContainerLoader.java:113:INFO ] Shutting down containers >>>>>> >>>>>> BUILD SUCCESSFUL >>>>>> >>>>>> I used rev 1001380 >>>>>> >>>>>> So perhaps you are doing something different than I did? >>>>>> >>>>>> Regards, >>>>>> Hans >>>>>> >>>>>> >>>>>> >>>>>> On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >>>>>>> Hi Hans, >>>>>>> >>>>>>> The trunk seems to have issues loading the demo data after this commit: >>>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data >>>>>>> load: >>>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML >>>>>>> Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A >>>>>>> transaction error occurred reading data >>>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML >>>>>>> Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A >>>>>>> transaction error occurred reading data >>>>>>> >>>>>>> Thanks >>>>>>> Scott >>>>>>> >>>>>>> HotWax Media >>>>>>> http://www.hotwaxmedia.com >>>>>>> >>>>>>> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >>>>>>> >>>>>>>> Author: hansbak >>>>>>>> Date: Sun Sep 26 06:41:58 2010 >>>>>>>> New Revision: 1001368 >>>>>>>> >>>>>>>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>>>>>>> Log: >>>>>>>> correct blog demo data >>>>>>>> >>>>>>>> Modified: >>>>>>>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>>>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>>>> >>>>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>>>> URL: >>>>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>>>> ============================================================================== >>>>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>>>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>>>>>>> @@ -18,9 +18,9 @@ >>>>>>>> under the License. >>>>>>>> --> >>>>>>>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >>>>>>>> statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >>>>>>>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >>>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >>>>>>>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> -<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>>> 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 >>>>>>>> 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" >>>>>>>> createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" >>>>>>>> createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" >>>>>>>> lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" >>>>>>>> mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>>>>>>> +<DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >>>>>>>> statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >>>>>>>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >>>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >>>>>>>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> +<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>>> 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 >>>>>>>> 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>>> 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 >>>>>>>> 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>>>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" >>>>>>>> lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" >>>>>>>> lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 >>>>>>>> 16:50:38.171"/> >>>>>>>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" >>>>>>>> lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" >>>>>>>> lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 >>>>>>>> 16:52:11.406"/> >>>>>>>> @@ -31,8 +31,8 @@ >>>>>>>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 >>>>>>>> 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 >>>>>>>> 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>>>>>>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" >>>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" >>>>>>>> createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" >>>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>>> createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" >>>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>>> 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" >>>>>>>> lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 >>>>>>>> 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> -<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >>>>>>>> statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>>> 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >>>>>>>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> -<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >>>>>>>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>>> 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 >>>>>>>> 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> +<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >>>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>>> 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >>>>>>>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> +<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >>>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>>> 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" >>>>>>>> lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>>> 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" >>>>>>>> statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" >>>>>>>> createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" >>>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>>> createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>>>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" >>>>>>>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" >>>>>>>> createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" >>>>>>>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 >>>>>>>> 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>>>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" >>>>>>>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" >>>>>>>> createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" >>>>>>>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 >>>>>>>> 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>>>> >>>>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>>>> URL: >>>>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>>>> ============================================================================== >>>>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>>>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>>>>>>> @@ -23,12 +23,12 @@ under the License. >>>>>>>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" >>>>>>>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>>>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" >>>>>>>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>>>> >>>>>>>> -<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>>>> -<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>>>> +<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>>>> +<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>>>> >>>>>>>> -<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>>>> -<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>>>> -<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>>>> -<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >>>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>>>> +<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>>>> +<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>>>> +<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>>>> +<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >>>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>>>> >>>>>>>> </entity-engine-xml> >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>>>>> Myself on twitter: http://twitter.com/hansbak >>>>>> Antwebsystems.com: Quality services for competitive rates. >>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> > > |
Administrator
|
At r1002822 I have commited a workaround (commented out SeedBlogData.xml and BlogSeedData.xml)
Weird these 2 names isn'it? Jacques From: "Jacques Le Roux" <[hidden email]> >I should say that it's when you use ant run-install-seed and as well ant run-install > > Jacques > > From: "Jacques Le Roux" <[hidden email]> >> Is there someone working on this? It's an issue for one of my clients... >> >> The problem : when you install on a fresh new DB (Postgres in my case, but that's not the point) you cross the issue already >> reported by Scott and visible at http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio (look for >> BlogSeedData.xml) >> >> Thanks >> >> Jacques >> >> From: "BJ Freeman" <[hidden email]> >> >> >>> Apologize since hans did ./ant clean-all >>> and that does deletes the derby, I thought you meant something else. >>> >>> ========================= >>> BJ Freeman >>> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >>> Specialtymarket.com <http://www.specialtymarket.com/> >>> Systems Integrator-- Glad to Assist >>> >>> Chat Y! messenger: bjfr33man >>> >>> >>> Scott Gray sent the following on 9/28/2010 9:15 PM: >>>> Hi BJ, >>>> >>>> I have absolutely no idea what you are talking about. >>>> >>>> All I was saying to Hans was that if he isn't using a derby database to check against then ant clean-all may not expose the >>>> problem because it requires an empty database to reproduce. >>>> >>>> Regards >>>> Scott >>>> >>>> On 29/09/2010, at 4:30 PM, BJ Freeman wrote: >>>> >>>>> I remember when I made similar comments long time ago was told that only guarantee derby and ./ant clean-all >>>>> >>>>> interesting to see the reverse. >>>>> >>>>> >>>>> >>>>> Scott Gray sent the following on 9/28/2010 7:25 PM: >>>>>> Hi Hans, >>>>>> >>>>>> Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is >>>>>> reporting the same problem as me: >>>>>> http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio >>>>>> That's the output from buildbot's latest run-install operation. >>>>>> >>>>>> Keep in mind that clean-all only affects derby databases. >>>>>> >>>>>> Thanks >>>>>> Scott >>>>>> >>>>>> On 29/09/2010, at 2:11 AM, Hans Bakker wrote: >>>>>> >>>>>>> Hi Scott, >>>>>>> >>>>>>> thank you for the attention you have to my commits, however can you >>>>>>> explain what you did? >>>>>>> >>>>>>> I did here, ./ant clean-all;./ant run-install and here you have the last >>>>>>> few lines of the log: >>>>>>> >>>>>>> [java] 2010-09-28 19:04:36,659 (main) >>>>>>> [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >>>>>>> file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >>>>>>> [java] 2010-09-28 19:04:36,659 (main) >>>>>>> [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >>>>>>> load with 15452 rows changed. >>>>>>> [java] 2010-09-28 19:04:36,659 (main) [ >>>>>>> ContainerLoader.java:113:INFO ] Shutting down containers >>>>>>> >>>>>>> BUILD SUCCESSFUL >>>>>>> >>>>>>> I used rev 1001380 >>>>>>> >>>>>>> So perhaps you are doing something different than I did? >>>>>>> >>>>>>> Regards, >>>>>>> Hans >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >>>>>>>> Hi Hans, >>>>>>>> >>>>>>>> The trunk seems to have issues loading the demo data after this commit: >>>>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data >>>>>>>> load: >>>>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML >>>>>>>> Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A >>>>>>>> transaction error occurred reading data >>>>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML >>>>>>>> Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A >>>>>>>> transaction error occurred reading data >>>>>>>> >>>>>>>> Thanks >>>>>>>> Scott >>>>>>>> >>>>>>>> HotWax Media >>>>>>>> http://www.hotwaxmedia.com >>>>>>>> >>>>>>>> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >>>>>>>> >>>>>>>>> Author: hansbak >>>>>>>>> Date: Sun Sep 26 06:41:58 2010 >>>>>>>>> New Revision: 1001368 >>>>>>>>> >>>>>>>>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>>>>>>>> Log: >>>>>>>>> correct blog demo data >>>>>>>>> >>>>>>>>> Modified: >>>>>>>>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>>>>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>>>>> >>>>>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>>>>> URL: >>>>>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>>>>> ============================================================================== >>>>>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>>>>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>>>>>>>> @@ -18,9 +18,9 @@ >>>>>>>>> under the License. >>>>>>>>> --> >>>>>>>>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >>>>>>>>> statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >>>>>>>>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >>>>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >>>>>>>>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>>> -<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" >>>>>>>>> lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" >>>>>>>>> lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 >>>>>>>>> 16:46:21.406"/> >>>>>>>>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" >>>>>>>>> createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" >>>>>>>>> createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" >>>>>>>>> lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" >>>>>>>>> mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>>>>>>>> +<DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >>>>>>>>> statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >>>>>>>>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >>>>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >>>>>>>>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>>> +<DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>>>> 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 >>>>>>>>> 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>>>> 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 >>>>>>>>> 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>>>>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" >>>>>>>>> lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" >>>>>>>>> lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 >>>>>>>>> 16:50:38.171"/> >>>>>>>>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" >>>>>>>>> lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" >>>>>>>>> lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 >>>>>>>>> 16:52:11.406"/> >>>>>>>>> @@ -31,8 +31,8 @@ >>>>>>>>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 >>>>>>>>> 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 >>>>>>>>> 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>>>>>>>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" >>>>>>>>> dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" >>>>>>>>> childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>>>> 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 >>>>>>>>> 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" >>>>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>>>> 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" >>>>>>>>> lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 >>>>>>>>> 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>>> -<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >>>>>>>>> statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>>>> 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >>>>>>>>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>>>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>>> -<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >>>>>>>>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" >>>>>>>>> lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" >>>>>>>>> lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 >>>>>>>>> 16:46:21.406"/> >>>>>>>>> +<Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >>>>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>>>> 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >>>>>>>>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>>>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>>> +<Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >>>>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>>>> 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" >>>>>>>>> lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>>>> 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>>>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" >>>>>>>>> statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" >>>>>>>>> createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" >>>>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>>>> createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>>>>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" >>>>>>>>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" >>>>>>>>> createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" >>>>>>>>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 >>>>>>>>> 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>>>>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" >>>>>>>>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" >>>>>>>>> createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" >>>>>>>>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 >>>>>>>>> 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>>>>> >>>>>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>>>>> URL: >>>>>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>>>>> ============================================================================== >>>>>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>>>>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>>>>>>>> @@ -23,12 +23,12 @@ under the License. >>>>>>>>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" >>>>>>>>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>>>>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" >>>>>>>>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>>>>> >>>>>>>>> -<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>>>>> -<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>>>>> +<DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>>>>> +<DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>>>>> >>>>>>>>> -<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>>>>> -<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>>>>> -<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>>>>> -<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >>>>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>>>>> +<DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>>>>> +<DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>>>>> +<DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>>>>> +<DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>>>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >>>>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>>>>> >>>>>>>>> </entity-engine-xml> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>>>>>> Myself on twitter: http://twitter.com/hansbak >>>>>>> Antwebsystems.com: Quality services for competitive rates. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> >> > > |
In reply to this post by Scott Gray-2
Problem is corrected in r1002900, sorry for the delay, was traveling and
still are.... Regards, Hans On Wed, 2010-09-29 at 15:25 +1300, Scott Gray wrote: > Hi Hans, > > Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is reporting the same problem as me: > http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio > That's the output from buildbot's latest run-install operation. > > Keep in mind that clean-all only affects derby databases. > > Thanks > Scott > > On 29/09/2010, at 2:11 AM, Hans Bakker wrote: > > > Hi Scott, > > > > thank you for the attention you have to my commits, however can you > > explain what you did? > > > > I did here, ./ant clean-all;./ant run-install and here you have the last > > few lines of the log: > > > > [java] 2010-09-28 19:04:36,659 (main) > > [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from > > file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml > > [java] 2010-09-28 19:04:36,659 (main) > > [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data > > load with 15452 rows changed. > > [java] 2010-09-28 19:04:36,659 (main) [ > > ContainerLoader.java:113:INFO ] Shutting down containers > > > > BUILD SUCCESSFUL > > > > I used rev 1001380 > > > > So perhaps you are doing something different than I did? > > > > Regards, > > Hans > > > > > > > > On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: > >> Hi Hans, > >> > >> The trunk seems to have issues loading the demo data after this commit: > >> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: > >> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error occurred reading data > >> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction error occurred reading data > >> > >> Thanks > >> Scott > >> > >> HotWax Media > >> http://www.hotwaxmedia.com > >> > >> On 26/09/2010, at 7:41 PM, [hidden email] wrote: > >> > >>> Author: hansbak > >>> Date: Sun Sep 26 06:41:58 2010 > >>> New Revision: 1001368 > >>> > >>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev > >>> Log: > >>> correct blog demo data > >>> > >>> Modified: > >>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml > >>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml > >>> > >>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml > >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff > >>> ============================================================================== > >>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) > >>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 > >>> @@ -18,9 +18,9 @@ > >>> under the License. > >>> --> > >>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> - <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> > >>> + <DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> + <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> > >>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> > >>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> > >>> @@ -31,8 +31,8 @@ > >>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> > >>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> - <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> - <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> + <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> + <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> > >>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> > >>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> > >>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> > >>> > >>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml > >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff > >>> ============================================================================== > >>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) > >>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 > >>> @@ -23,12 +23,12 @@ under the License. > >>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> > >>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> > >>> > >>> - <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> > >>> - <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> > >>> + <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> > >>> + <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> > >>> > >>> - <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> > >>> - <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> > >>> - <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> > >>> - <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> > >>> + <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> > >>> + <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> > >>> + <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> > >>> + <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> > >>> > >>> </entity-engine-xml> > >>> > >>> > >> > > > > -- > > Ofbiz on twitter: http://twitter.com/apache_ofbiz > > Myself on twitter: http://twitter.com/hansbak > > Antwebsystems.com: Quality services for competitive rates. > > > > > > > -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com: Quality services for competitive rates. |
Thanks Hans and no worries, I don't think it was as big of a deal as it was made it out to be.
If people think it might be a good idea, we could always alter the way the data loader works so that loading errors result in a failed build. This would cause buildbot to notify us as soon as the problem occurs and allow the committer to fix the issue while the work is still fresh in their mind. Regards Scott On 30/09/2010, at 1:07 PM, Hans Bakker wrote: > Problem is corrected in r1002900, sorry for the delay, was traveling and > still are.... > > Regards, > Hans > > > On Wed, 2010-09-29 at 15:25 +1300, Scott Gray wrote: >> Hi Hans, >> >> Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is reporting the same problem as me: >> http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio >> That's the output from buildbot's latest run-install operation. >> >> Keep in mind that clean-all only affects derby databases. >> >> Thanks >> Scott >> >> On 29/09/2010, at 2:11 AM, Hans Bakker wrote: >> >>> Hi Scott, >>> >>> thank you for the attention you have to my commits, however can you >>> explain what you did? >>> >>> I did here, ./ant clean-all;./ant run-install and here you have the last >>> few lines of the log: >>> >>> [java] 2010-09-28 19:04:36,659 (main) >>> [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >>> file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >>> [java] 2010-09-28 19:04:36,659 (main) >>> [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >>> load with 15452 rows changed. >>> [java] 2010-09-28 19:04:36,659 (main) [ >>> ContainerLoader.java:113:INFO ] Shutting down containers >>> >>> BUILD SUCCESSFUL >>> >>> I used rev 1001380 >>> >>> So perhaps you are doing something different than I did? >>> >>> Regards, >>> Hans >>> >>> >>> >>> On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >>>> Hi Hans, >>>> >>>> The trunk seems to have issues loading the demo data after this commit: >>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: >>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error occurred reading data >>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction error occurred reading data >>>> >>>> Thanks >>>> Scott >>>> >>>> HotWax Media >>>> http://www.hotwaxmedia.com >>>> >>>> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >>>> >>>>> Author: hansbak >>>>> Date: Sun Sep 26 06:41:58 2010 >>>>> New Revision: 1001368 >>>>> >>>>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>>>> Log: >>>>> correct blog demo data >>>>> >>>>> Modified: >>>>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>> >>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>> ============================================================================== >>>>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>>>> @@ -18,9 +18,9 @@ >>>>> under the License. >>>>> --> >>>>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> - <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>>>> + <DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> + <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>> @@ -31,8 +31,8 @@ >>>>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>>>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> - <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> - <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> + <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> + <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>> >>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>> ============================================================================== >>>>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>>>> @@ -23,12 +23,12 @@ under the License. >>>>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>> >>>>> - <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>> - <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>> + <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>> + <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>> >>>>> - <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>> - <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>> - <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>> - <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>> + <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>> + <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>> + <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>> + <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>> >>>>> </entity-engine-xml> >>>>> >>>>> >>>> >>> >>> -- >>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>> Myself on twitter: http://twitter.com/hansbak >>> Antwebsystems.com: Quality services for competitive rates. >>> >>> >>> >> > > -- > Ofbiz on twitter: http://twitter.com/apache_ofbiz > Myself on twitter: http://twitter.com/hansbak > Antwebsystems.com: Quality services for competitive rates. > smime.p7s (3K) Download Attachment |
Administrator
|
In reply to this post by hans_bakker
Thanks Hans!
Jacques From: "Hans Bakker" <[hidden email]> > Problem is corrected in r1002900, sorry for the delay, was traveling and > still are.... > > Regards, > Hans > > > On Wed, 2010-09-29 at 15:25 +1300, Scott Gray wrote: >> Hi Hans, >> >> Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is >> reporting the same problem as me: >> http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio >> That's the output from buildbot's latest run-install operation. >> >> Keep in mind that clean-all only affects derby databases. >> >> Thanks >> Scott >> >> On 29/09/2010, at 2:11 AM, Hans Bakker wrote: >> >> > Hi Scott, >> > >> > thank you for the attention you have to my commits, however can you >> > explain what you did? >> > >> > I did here, ./ant clean-all;./ant run-install and here you have the last >> > few lines of the log: >> > >> > [java] 2010-09-28 19:04:36,659 (main) >> > [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >> > file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >> > [java] 2010-09-28 19:04:36,659 (main) >> > [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >> > load with 15452 rows changed. >> > [java] 2010-09-28 19:04:36,659 (main) [ >> > ContainerLoader.java:113:INFO ] Shutting down containers >> > >> > BUILD SUCCESSFUL >> > >> > I used rev 1001380 >> > >> > So perhaps you are doing something different than I did? >> > >> > Regards, >> > Hans >> > >> > >> > >> > On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >> >> Hi Hans, >> >> >> >> The trunk seems to have issues loading the demo data after this commit: >> >> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: >> >> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource >> >> "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error >> >> occurred reading data >> >> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource >> >> "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction >> >> error occurred reading data >> >> >> >> Thanks >> >> Scott >> >> >> >> HotWax Media >> >> http://www.hotwaxmedia.com >> >> >> >> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >> >> >> >>> Author: hansbak >> >>> Date: Sun Sep 26 06:41:58 2010 >> >>> New Revision: 1001368 >> >>> >> >>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >> >>> Log: >> >>> correct blog demo data >> >>> >> >>> Modified: >> >>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >> >>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >> >>> >> >>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >> >>> URL: >> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >> >>> ============================================================================== >> >>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >> >>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >> >>> @@ -18,9 +18,9 @@ >> >>> under the License. >> >>> --> >> >>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >> >>> statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >> >>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >> >>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >> >>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> - <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >> >>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >> >>> 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 >> >>> 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" >> >>> createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" >> >>> createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" >> >>> lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" >> >>> statusId="CTNT_PUBLISHED"/> >> >>> + <DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >> >>> statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >> >>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >> >>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >> >>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> + <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >> >>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >> >>> 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 >> >>> 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >> >>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >> >>> 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 >> >>> 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >> >>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >> >>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 >> >>> 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 >> >>> 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> >> >>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >> >>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 >> >>> 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 >> >>> 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> >> >>> @@ -31,8 +31,8 @@ >> >>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >> >>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 >> >>> 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 >> >>> 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >> >>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" >> >>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" >> >>> createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" >> >>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >> >>> createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" >> >>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" >> >>> createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" >> >>> lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 >> >>> 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> - <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >> >>> statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >> >>> 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >> >>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >> >>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> - <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >> >>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >> >>> 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 >> >>> 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> + <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >> >>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" >> >>> createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >> >>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >> >>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> + <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >> >>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" >> >>> createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" >> >>> lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >> >>> 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >> >>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" >> >>> statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" >> >>> createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" >> >>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >> >>> createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >> >>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" >> >>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" >> >>> createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" >> >>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >> >>> createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >> >>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" >> >>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" >> >>> createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" >> >>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >> >>> createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >> >>> >> >>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >> >>> URL: >> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >> >>> ============================================================================== >> >>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >> >>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >> >>> @@ -23,12 +23,12 @@ under the License. >> >>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" >> >>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >> >>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" >> >>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >> >>> >> >>> - <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >> >>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >> >>> - <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >> >>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >> >>> + <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >> >>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >> >>> + <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >> >>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >> >>> >> >>> - <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >> >>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >> >>> - <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >> >>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >> >>> - <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >> >>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >> >>> - <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >> >>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >> >>> + <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >> >>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >> >>> + <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >> >>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >> >>> + <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >> >>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >> >>> + <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >> >>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >> >>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >> >>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >> >>> >> >>> </entity-engine-xml> >> >>> >> >>> >> >> >> > >> > -- >> > Ofbiz on twitter: http://twitter.com/apache_ofbiz >> > Myself on twitter: http://twitter.com/hansbak >> > Antwebsystems.com: Quality services for competitive rates. >> > >> > >> > >> > > -- > Ofbiz on twitter: http://twitter.com/apache_ofbiz > Myself on twitter: http://twitter.com/hansbak > Antwebsystems.com: Quality services for competitive rates. > |
In reply to this post by Scott Gray-2
On Sep 30, 2010, at 4:11 AM, Scott Gray wrote: > Thanks Hans and no worries, I don't think it was as big of a deal as it was made it out to be. > > If people think it might be a good idea, we could always alter the way the data loader works so that loading errors result in a failed build. This sounds like a good idea to me. Jacopo > This would cause buildbot to notify us as soon as the problem occurs and allow the committer to fix the issue while the work is still fresh in their mind. > > Regards > Scott > > On 30/09/2010, at 1:07 PM, Hans Bakker wrote: > >> Problem is corrected in r1002900, sorry for the delay, was traveling and >> still are.... >> >> Regards, >> Hans >> >> >> On Wed, 2010-09-29 at 15:25 +1300, Scott Gray wrote: >>> Hi Hans, >>> >>> Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is reporting the same problem as me: >>> http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio >>> That's the output from buildbot's latest run-install operation. >>> >>> Keep in mind that clean-all only affects derby databases. >>> >>> Thanks >>> Scott >>> >>> On 29/09/2010, at 2:11 AM, Hans Bakker wrote: >>> >>>> Hi Scott, >>>> >>>> thank you for the attention you have to my commits, however can you >>>> explain what you did? >>>> >>>> I did here, ./ant clean-all;./ant run-install and here you have the last >>>> few lines of the log: >>>> >>>> [java] 2010-09-28 19:04:36,659 (main) >>>> [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >>>> file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >>>> [java] 2010-09-28 19:04:36,659 (main) >>>> [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >>>> load with 15452 rows changed. >>>> [java] 2010-09-28 19:04:36,659 (main) [ >>>> ContainerLoader.java:113:INFO ] Shutting down containers >>>> >>>> BUILD SUCCESSFUL >>>> >>>> I used rev 1001380 >>>> >>>> So perhaps you are doing something different than I did? >>>> >>>> Regards, >>>> Hans >>>> >>>> >>>> >>>> On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >>>>> Hi Hans, >>>>> >>>>> The trunk seems to have issues loading the demo data after this commit: >>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: >>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error occurred reading data >>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction error occurred reading data >>>>> >>>>> Thanks >>>>> Scott >>>>> >>>>> HotWax Media >>>>> http://www.hotwaxmedia.com >>>>> >>>>> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >>>>> >>>>>> Author: hansbak >>>>>> Date: Sun Sep 26 06:41:58 2010 >>>>>> New Revision: 1001368 >>>>>> >>>>>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>>>>> Log: >>>>>> correct blog demo data >>>>>> >>>>>> Modified: >>>>>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>> >>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>> ============================================================================== >>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>>>>> @@ -18,9 +18,9 @@ >>>>>> under the License. >>>>>> --> >>>>>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> - <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>>>>> + <DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> + <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>> @@ -31,8 +31,8 @@ >>>>>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>>>>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> - <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> - <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> + <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> + <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>> >>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>> ============================================================================== >>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>>>>> @@ -23,12 +23,12 @@ under the License. >>>>>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>> >>>>>> - <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>> - <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>> + <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>> + <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>> >>>>>> - <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>> - <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>> - <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>> - <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>> + <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>> + <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>> + <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>> + <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>> >>>>>> </entity-engine-xml> >>>>>> >>>>>> >>>>> >>>> >>>> -- >>>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>>> Myself on twitter: http://twitter.com/hansbak >>>> Antwebsystems.com: Quality services for competitive rates. >>>> >>>> >>>> >>> >> >> -- >> Ofbiz on twitter: http://twitter.com/apache_ofbiz >> Myself on twitter: http://twitter.com/hansbak >> Antwebsystems.com: Quality services for competitive rates. >> > |
Administrator
|
From: "Jacopo Cappellato" <[hidden email]>
> On Sep 30, 2010, at 4:11 AM, Scott Gray wrote: > >> Thanks Hans and no worries, I don't think it was as big of a deal as it was made it out to be. >> >> If people think it might be a good idea, we could always alter the way the data loader works so that loading errors result in a >> failed build. > > This sounds like a good idea to me. > > Jacopo +1 Jacques > >> This would cause buildbot to notify us as soon as the problem occurs and allow the committer to fix the issue while the work is >> still fresh in their mind. >> >> Regards >> Scott >> >> On 30/09/2010, at 1:07 PM, Hans Bakker wrote: >> >>> Problem is corrected in r1002900, sorry for the delay, was traveling and >>> still are.... >>> >>> Regards, >>> Hans >>> >>> >>> On Wed, 2010-09-29 at 15:25 +1300, Scott Gray wrote: >>>> Hi Hans, >>>> >>>> Thanks for looking into and yes, it is just a straight clean-all and then run-install. You can see here that buildbot is >>>> reporting the same problem as me: >>>> http://ci.apache.org/builders/ofbiz-trunk/builds/582/steps/compile/logs/stdio >>>> That's the output from buildbot's latest run-install operation. >>>> >>>> Keep in mind that clean-all only affects derby databases. >>>> >>>> Thanks >>>> Scott >>>> >>>> On 29/09/2010, at 2:11 AM, Hans Bakker wrote: >>>> >>>>> Hi Scott, >>>>> >>>>> thank you for the attention you have to my commits, however can you >>>>> explain what you did? >>>>> >>>>> I did here, ./ant clean-all;./ant run-install and here you have the last >>>>> few lines of the log: >>>>> >>>>> [java] 2010-09-28 19:04:36,659 (main) >>>>> [EntityDataLoadContainer.java:396:INFO ] 00004 of 15452 from >>>>> file:/home/hans/ofbiz/ofbizTrunk/specialpurpose/webpos/data/WebPosSecurityData.xml >>>>> [java] 2010-09-28 19:04:36,659 (main) >>>>> [EntityDataLoadContainer.java:407:INFO ] =-=-=-=-=-=-= Finished the data >>>>> load with 15452 rows changed. >>>>> [java] 2010-09-28 19:04:36,659 (main) [ >>>>> ContainerLoader.java:113:INFO ] Shutting down containers >>>>> >>>>> BUILD SUCCESSFUL >>>>> >>>>> I used rev 1001380 >>>>> >>>>> So perhaps you are doing something different than I did? >>>>> >>>>> Regards, >>>>> Hans >>>>> >>>>> >>>>> >>>>> On Tue, 2010-09-28 at 09:19 +1300, Scott Gray wrote: >>>>>> Hi Hans, >>>>>> >>>>>> The trunk seems to have issues loading the demo data after this commit: >>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:401:INFO ] The following errors occured in the data load: >>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource >>>>>> "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/BlogSeedData.xml"; Error was: A transaction error >>>>>> occurred reading data >>>>>> [java] 2010-09-28 09:10:54,069 (main) [EntityDataLoadContainer.java:403:INFO ] [install.loadData]: Error loading XML Resource >>>>>> "file:/Users/lektran/Documents/workspace/gitbiz/applications/content/data/DemoBlogEntryData.xml"; Error was: A transaction >>>>>> error occurred reading data >>>>>> >>>>>> Thanks >>>>>> Scott >>>>>> >>>>>> HotWax Media >>>>>> http://www.hotwaxmedia.com >>>>>> >>>>>> On 26/09/2010, at 7:41 PM, [hidden email] wrote: >>>>>> >>>>>>> Author: hansbak >>>>>>> Date: Sun Sep 26 06:41:58 2010 >>>>>>> New Revision: 1001368 >>>>>>> >>>>>>> URL: http://svn.apache.org/viewvc?rev=1001368&view=rev >>>>>>> Log: >>>>>>> correct blog demo data >>>>>>> >>>>>>> Modified: >>>>>>> ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>>> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>>> >>>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml >>>>>>> URL: >>>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>>> ============================================================================== >>>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml (original) >>>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogEntryData.xml Sun Sep 26 06:41:58 2010 >>>>>>> @@ -18,9 +18,9 @@ >>>>>>> under the License. >>>>>>> --> >>>>>>> <entity-engine-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="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_INITIAL_DRAFT" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >>>>>>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >>>>>>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> - <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>> 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> + <DataResource dataResourceId="BLG10000" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" isPublic="Y" >>>>>>> createdByUserLogin="admin" createdDate="2004-01-16 01:24:06.522" createdStamp="2007-01-23 16:46:22.421" >>>>>>> createdTxStamp="2007-01-23 16:46:21.406" lastModifiedByUserLogin="admin" lastModifiedDate="2010-09-26 13:13:32.482" >>>>>>> lastUpdatedStamp="2010-09-26 13:13:32.483" lastUpdatedTxStamp="2010-09-26 13:13:32.429" >>>>>>> mimeTypeId="application/octet-stream" statusId="CTNT_PUBLISHED"/> >>>>>>> + <DataResource dataResourceId="BLG10001" dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" mimeTypeId="image/jpeg" objectInfo="specialpurpose/ecommerce/data/cutekid.jpg" isPublic="Y" >>>>>>> createdDate="2007-01-23 16:46:22.843" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.843" >>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:22.843" lastUpdatedTxStamp="2007-01-23 16:46:21.406" >>>>>>> createdStamp="2007-01-23 16:46:22.843" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> + <DataResource dataResourceId="BLG10002" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:46:22.984" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>> 16:46:38.671" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:38.671" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:46:37.359" createdStamp="2007-01-23 16:46:22.984" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> <DataResource dataResourceId="BLG10003" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:47:49.343" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>> 16:47:49.343" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:47:49.343" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:47:49.328" createdStamp="2007-01-23 16:47:49.343" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>>> <DataResource dataResourceId="BLG10004" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:50:38.171" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 >>>>>>> 16:50:38.171" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:50:38.187" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:50:38.171" createdStamp="2007-01-23 16:50:38.187" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>>> <DataResource dataResourceId="BLG10005" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 16:52:11.421" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 >>>>>>> 16:52:11.421" lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:11.421" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:52:11.406" createdStamp="2007-01-23 16:52:11.421" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>>> @@ -31,8 +31,8 @@ >>>>>>> <DataResource dataResourceId="BLG10010" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="NONE" >>>>>>> statusId="CTNT_PUBLISHED" createdDate="2007-01-23 17:07:12.625" createdByUserLogin="madmax" lastModifiedDate="2007-01-23 >>>>>>> 17:07:12.625" lastModifiedByUserLogin="madmax" lastUpdatedStamp="2007-01-23 17:07:12.671" lastUpdatedTxStamp="2007-01-23 >>>>>>> 17:07:12.234" createdStamp="2007-01-23 17:07:12.671" createdTxStamp="2007-01-23 17:07:12.234"/> >>>>>>> <Content contentId="BLG10000" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLOG_TPL_TOPLEFT" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" childBranchCount="1" >>>>>>> createdDate="2007-01-23 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:37.453" >>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.14" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>> createdStamp="2007-01-23 16:46:21.593" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> <Content contentId="BLG10001" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10000" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>> 16:46:21.453" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:38.562" lastModifiedByUserLogin="bigal" >>>>>>> lastUpdatedStamp="2007-01-23 16:46:38.579" lastUpdatedTxStamp="2007-01-23 16:46:37.359" createdStamp="2007-01-23 >>>>>>> 16:46:22.765" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> - <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >>>>>>> statusId="CTNT_INITIAL_DRAFT" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>> 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >>>>>>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> - <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >>>>>>> statusId="CTNT_INITIAL_DRAFT" createdDate="2007-01-23 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 >>>>>>> 16:46:23.031" lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 >>>>>>> 16:46:21.406" createdStamp="2007-01-23 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> + <Content contentId="BLG10002" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10001" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>> 16:46:22.906" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:22.906" lastModifiedByUserLogin="bigal" >>>>>>> lastUpdatedStamp="2007-01-23 16:46:22.921" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>> 16:46:22.921" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> + <Content contentId="BLG10003" contentTypeId="DOCUMENT" ownerContentId="BLOGROOTBIGAL" dataResourceId="BLG10002" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Cute Kid " description="Cutest Kid in the World" createdDate="2007-01-23 >>>>>>> 16:46:23.031" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:46:23.031" lastModifiedByUserLogin="bigal" >>>>>>> lastUpdatedStamp="2007-01-23 16:46:23.046" lastUpdatedTxStamp="2007-01-23 16:46:21.406" createdStamp="2007-01-23 >>>>>>> 16:46:23.046" createdTxStamp="2007-01-23 16:46:21.406"/> >>>>>>> <Content contentId="BLG10004" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10003" >>>>>>> statusId="CTNT_PUBLISHED" contentName="RE:Cute Kid " description="You got that right." childBranchCount="1" >>>>>>> createdDate="2007-01-23 16:47:49.375" createdByUserLogin="bigal" lastModifiedDate="2007-01-23 16:47:49.375" >>>>>>> lastModifiedByUserLogin="bigal" lastUpdatedStamp="2007-01-23 16:52:23.187" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>> createdStamp="2007-01-23 16:47:49.375" createdTxStamp="2007-01-23 16:47:49.328"/> >>>>>>> <Content contentId="BLG10005" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10004" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="What am I - chopped liver?" childBranchCount="1" >>>>>>> createdDate="2007-01-23 16:50:38.296" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:50:38.296" >>>>>>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.203" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>> createdStamp="2007-01-23 16:50:38.343" createdTxStamp="2007-01-23 16:50:38.171"/> >>>>>>> <Content contentId="BLG10006" contentTypeId="DOCUMENT" ownerContentId="BLG10000" dataResourceId="BLG10005" >>>>>>> statusId="CTNT_PUBLISHED" contentName="Chopped liver?" description="Look like your father" childBranchCount="0" >>>>>>> createdDate="2007-01-23 16:52:11.437" createdByUserLogin="blog_guest" lastModifiedDate="2007-01-23 16:52:11.437" >>>>>>> lastModifiedByUserLogin="blog_guest" lastUpdatedStamp="2007-01-23 16:52:23.204" lastUpdatedTxStamp="2007-01-23 16:52:22.546" >>>>>>> createdStamp="2007-01-23 16:52:11.453" createdTxStamp="2007-01-23 16:52:11.406"/> >>>>>>> >>>>>>> Modified: ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml >>>>>>> URL: >>>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml?rev=1001368&r1=1001367&r2=1001368&view=diff >>>>>>> ============================================================================== >>>>>>> --- ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml (original) >>>>>>> +++ ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml Sun Sep 26 06:41:58 2010 >>>>>>> @@ -23,12 +23,12 @@ under the License. >>>>>>> <ContentPurposeOperation contentPurposeTypeId="_NA_" contentOperationId="CONTENT_UPDATE" roleTypeId="CONTENT_ADMIN" >>>>>>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>>> <ContentPurposeOperation contentPurposeTypeId="RESPONSE" contentOperationId="CONTENT_CREATE" roleTypeId="_NA_" >>>>>>> statusId="_NA_" privilegeEnumId="CNT_PRV_NA_"/> >>>>>>> >>>>>>> - <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>>> - <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" >>>>>>> dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 >>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>>> + <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" >>>>>>> lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft"/> >>>>>>> + <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="URL_RESOURCE" >>>>>>> dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 >>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter"/> >>>>>>> >>>>>>> - <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>>> - <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>>> - <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>>> - <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>>> + <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator"/> >>>>>>> + <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator"/> >>>>>>> + <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" >>>>>>> createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator"/> >>>>>>> + <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED" >>>>>>> dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 >>>>>>> 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" >>>>>>> objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator"/> >>>>>>> >>>>>>> </entity-engine-xml> >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>>>> Myself on twitter: http://twitter.com/hansbak >>>>> Antwebsystems.com: Quality services for competitive rates. >>>>> >>>>> >>>>> >>>> >>> >>> -- >>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>> Myself on twitter: http://twitter.com/hansbak >>> Antwebsystems.com: Quality services for competitive rates. >>> >> > > |
In reply to this post by Scott Gray-2
On 09/29/2010 09:11 PM, Scott Gray wrote:
> Thanks Hans and no worries, I don't think it was as big of a deal as it was made it out to be. > > If people think it might be a good idea, we could always alter the way the data loader works so that loading errors result in a failed build. This would cause buildbot to notify us as soon as the problem occurs and allow the committer to fix the issue while the work is still fresh in their mind. Isn't that always the case? ant run-install fails, so the tester on buildbot fails. |
Administrator
|
From: "Adam Heath" <[hidden email]>
> On 09/29/2010 09:11 PM, Scott Gray wrote: >> Thanks Hans and no worries, I don't think it was as big of a deal as it was made it out to be. >> >> If people think it might be a good idea, we could always alter the way the data loader works so that loading errors result in a >> failed build. This would cause buildbot to notify us as soon as the problem occurs and allow the committer to fix the issue >> while the work is still fresh in their mind. > > Isn't that always the case? ant run-install fails, so the tester on buildbot fails. Right, that how I knew the issue was there. It's sent on dev ML BTW. Jacques |
On 1/10/2010, at 6:04 AM, Jacques Le Roux wrote:
> From: "Adam Heath" <[hidden email]> >> On 09/29/2010 09:11 PM, Scott Gray wrote: >>> Thanks Hans and no worries, I don't think it was as big of a deal as it was made it out to be. >>> >>> If people think it might be a good idea, we could always alter the way the data loader works so that loading errors result in a failed build. This would cause buildbot to notify us as soon as the problem occurs and allow the committer to fix the issue while the work is still fresh in their mind. >> >> Isn't that always the case? ant run-install fails, so the tester on buildbot fails. > > Right, that how I knew the issue was there. It's sent on dev ML BTW. > Regards Scott smime.p7s (3K) Download Attachment |
On 09/30/2010 01:03 PM, Scott Gray wrote:
> On 1/10/2010, at 6:04 AM, Jacques Le Roux wrote: > >> From: "Adam Heath"<[hidden email]> >>> On 09/29/2010 09:11 PM, Scott Gray wrote: >>>> Thanks Hans and no worries, I don't think it was as big of a deal as it was made it out to be. >>>> >>>> If people think it might be a good idea, we could always alter the way the data loader works so that loading errors result in a failed build. This would cause buildbot to notify us as soon as the problem occurs and allow the committer to fix the issue while the work is still fresh in their mind. >>> >>> Isn't that always the case? ant run-install fails, so the tester on buildbot fails. >> >> Right, that how I knew the issue was there. It's sent on dev ML BTW. >> > > No that's incorrect, data load problems never result in a failed build at the moment. Yes, I see that now. The fix has to be involved with the container/component subsystems. Working on it... |
On 1/10/2010, at 8:30 AM, Adam Heath wrote:
> On 09/30/2010 01:03 PM, Scott Gray wrote: >> On 1/10/2010, at 6:04 AM, Jacques Le Roux wrote: >> >>> From: "Adam Heath"<[hidden email]> >>>> On 09/29/2010 09:11 PM, Scott Gray wrote: >>>>> Thanks Hans and no worries, I don't think it was as big of a deal as it was made it out to be. >>>>> >>>>> If people think it might be a good idea, we could always alter the way the data loader works so that loading errors result in a failed build. This would cause buildbot to notify us as soon as the problem occurs and allow the committer to fix the issue while the work is still fresh in their mind. >>>> >>>> Isn't that always the case? ant run-install fails, so the tester on buildbot fails. >>> >>> Right, that how I knew the issue was there. It's sent on dev ML BTW. >>> >> >> No that's incorrect, data load problems never result in a failed build at the moment. > > Yes, I see that now. The fix has to be involved with the container/component subsystems. Working on it... smime.p7s (3K) Download Attachment |
On 09/30/2010 02:35 PM, Scott Gray wrote:
> On 1/10/2010, at 8:30 AM, Adam Heath wrote: > >> On 09/30/2010 01:03 PM, Scott Gray wrote: >>> On 1/10/2010, at 6:04 AM, Jacques Le Roux wrote: >>> >>>> From: "Adam Heath"<[hidden email]> >>>>> On 09/29/2010 09:11 PM, Scott Gray wrote: >>>>>> Thanks Hans and no worries, I don't think it was as big of a deal as it was made it out to be. >>>>>> >>>>>> If people think it might be a good idea, we could always alter the way the data loader works so that loading errors result in a failed build. This would cause buildbot to notify us as soon as the problem occurs and allow the committer to fix the issue while the work is still fresh in their mind. >>>>> >>>>> Isn't that always the case? ant run-install fails, so the tester on buildbot fails. >>>> >>>> Right, that how I knew the issue was there. It's sent on dev ML BTW. >>>> >>> >>> No that's incorrect, data load problems never result in a failed build at the moment. >> >> Yes, I see that now. The fix has to be involved with the container/component subsystems. Working on it... > > It's pretty straight forward, just throw a ContainerException and then check for the return status in the ant target. Except it'd be nice that if a container fails to load, all previously loaded/started containers are shutdown before just returning. |
Free forum by Nabble | Edit this page |