On 09/27/2010 09:04 AM,
[hidden email] wrote:
> Author: hansbak
> Date: Mon Sep 27 14:04:45 2010
> New Revision: 1001748
>
> URL:
http://svn.apache.org/viewvc?rev=1001748&view=rev> Log:
> change one file from blog function from demo to seed
>
> Added:
> ofbiz/trunk/applications/content/data/BlogSeedData.xml
> - copied unchanged from r1001702, ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml
> Removed:
> ofbiz/trunk/applications/content/data/DemoBlogMiscData.xml
> Modified:
> ofbiz/trunk/applications/content/ofbiz-component.xml
>
> Modified: ofbiz/trunk/applications/content/ofbiz-component.xml
> URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/ofbiz-component.xml?rev=1001748&r1=1001747&r2=1001748&view=diff> ==============================================================================
> --- ofbiz/trunk/applications/content/ofbiz-component.xml (original)
> +++ ofbiz/trunk/applications/content/ofbiz-component.xml Mon Sep 27 14:04:45 2010
> @@ -46,11 +46,11 @@ under the License.
> <entity-resource type="data" reader-name="seed" loader="main" location="data/WebtoolsHelpData.xml"/>
> <entity-resource type="data" reader-name="seed" loader="main" location="data/ExampleHelpData.xml"/>
> <entity-resource type="data" reader-name="seed" loader="main" location="data/BirtHelpData.xml"/>
> +<entity-resource type="data" reader-name="seed" loader="main" location="data/BlogSeedData.xml"/>
>
> <entity-resource type="data" reader-name="demo" loader="main" location="data/UsersDemoData.xml"/>
> <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogPubPtData.xml"/>
> <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogUsersData.xml"/>
> -<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogMiscData.xml"/>
> <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogEntryData.xml"/>
> <entity-resource type="data" reader-name="demo" loader="main" location="data/WebSitePublishPointData.xml"/>
> <entity-resource type="data" reader-name="demo" loader="main" location="data/CompDocData.xml"/>
This change breaks ofbiz. DemoBlogMiscData has references to
UserLogin[admin] id. However, when seed-install is running, there is
no such entry in the database.
Please, Hans, do a *clean-all*, and a fresh checkout, before doing
these things. And, at the very least, when someone *does* find a
problem, at least try to look into it.
(git bisect helped me identity the *real* commit; the other version,
1001368 wasn't the actual problem).
>
>