[jira] [Commented] (OFBIZ-9243) load demo data failure

2020-05-06 Thread Deepak Dixit (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17100491#comment-17100491
 ] 

Deepak Dixit commented on OFBIZ-9243:
-

I think we can close this issue now, As we did an significant effort to move 
demo data in data model component. 

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Deepak Dixit
>Priority: Major
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2020-05-05 Thread Pierre Smits (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17100016#comment-17100016
 ] 

Pierre Smits commented on OFBIZ-9243:
-

Hi [~deepak]

Is this still an issue?

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Deepak Dixit
>Priority: Major
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2019-01-12 Thread Deepak Dixit (JIRA)


[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16741360#comment-16741360
 ] 

Deepak Dixit commented on OFBIZ-9243:
-

[~mbrohl] Let me check will pick it ASAP

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Deepak Dixit
>Priority: Major
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2019-01-12 Thread Michael Brohl (JIRA)


[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16741197#comment-16741197
 ] 

Michael Brohl commented on OFBIZ-9243:
--

[~deepak.dixit], any plans with this issue?

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Deepak Dixit
>Priority: Major
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941728#comment-15941728
 ] 

Jacques Le Roux commented on OFBIZ-9243:


Pierre,
If I have well understood, r1788660 is only temporary and indeed the real 
solution is to move all common data in plugins in applications where they fit, 
here product and party. I'm not sure why Deepak did not do it in 1st place, so 
I let Deepak answer.

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Deepak Dixit
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Pierre Smits (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941717#comment-15941717
 ] 

Pierre Smits commented on OFBIZ-9243:
-

Would it not be better to move
{code}
+
+
+
+
+
+
+
+
+
+
+
{code}
 to the demo data set of product?

And 
{code}

+
+
+
+
+
+
{code}
to the demo data set of the party component?

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Deepak Dixit
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941692#comment-15941692
 ] 

Deepak Dixit commented on OFBIZ-9243:
-

This has been fixed as workaround at r#1788660, copy demo data in respective 
plugin data file that was used in ebay and myportal plugin, 
This will fix the data load issue, I am not closing this ticket as this is not 
proper.

 

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Deepak Dixit
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941685#comment-15941685
 ] 

Jacques Le Roux commented on OFBIZ-9243:


Interesting discussion, I also mentionned recently that some applications have 
still references in code to plugins. I think it's only product to ecommerce but 
could be more.

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941682#comment-15941682
 ] 

Deepak Dixit commented on OFBIZ-9243:
-

I agree Taher, 

It depends on condition to condition. 
Here I am not forcing to include the component-load, but yes if user want to do 
this user can do this by adding component-load.xml.

I'll do the quick fix related to data, so that data will be loaded properly, 
and once OFBIZ-6976 this has been done (as Pierre Mentioned) It will fix 
properly. 

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Taher Alkhateeb (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941678#comment-15941678
 ] 

Taher Alkhateeb commented on OFBIZ-9243:


Hi Deepak,

Well, this depends on what you are trying to do. The plugins will always load 
_after_ framework and applications. So the only concern is for a plugin after 
another plugin. So for a plugin to override the webapp of another plugin might 
be a bad design taste IMO because it indicates a non-modular design where you 
have to hack the guts of another plugin for your plugin to work.

Also, having a forced loading sequence among the plugins means they depend on 
shared stuff. This shared stuff should be taken a level lower (take it to the 
common component, or data-model for example). Fixing the root cause in my 
opinion is a much more clean solution that resorting to hacks like ordering the 
load. This becomes especially relevant if you want to consider a plugin to be a 
stand-alone piece of code that delivers value as opposed to something that 
hacks other components and is deeply entangled with them.

So in my opinion, a plugin should only depend on another plugin in case of some 
_functionality_ or _feature_ (services, entities, widgets, or other code 
artifacts) but not because of some _state_ (data-loading, webapp loading, etc 
...). I think depending on _state_ makes things much, much more complex. Heck 
that's the reason why the world is shifting to functional programming.

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941676#comment-15941676
 ] 

Deepak Dixit commented on OFBIZ-9243:
-

Component load will be useful to override the webapp as well. 
like in case of custom ecommerce development,  we can override the OOTB 
ecommerce webapp along with mimum custom development. 
This is an example it can be apply for any kind of custom development. 

So in this case component load will affect the workflow. 

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Pierre Smits (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941668#comment-15941668
 ] 

Pierre Smits commented on OFBIZ-9243:
-

The component load sequence is primarily applicable when loading demo data. It 
is not as much required for implementing an OFBiz system with only 
seed/seed-ext data, and even less for a blank OFBiz system (whichever a smart 
adopter would go for).

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Taher Alkhateeb (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941643#comment-15941643
 ] 

Taher Alkhateeb commented on OFBIZ-9243:


To define the component load sequence there are two ways:
- reintroduce component-load.xml (not recommended)
- define plugin dependencies

However in either case I believe we are not solving root cause. To fix such 
problems we need to disentangle the dependencies when they arise by taking them 
down to a shared lower level.

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941634#comment-15941634
 ] 

Deepak Dixit commented on OFBIZ-9243:
-

Hi [~pfm.smits],

I think it different from moving data to base component, as we need to define 
the component load sequence in plugins directly. If we define an way to load 
component sequence in plugins then it will automatically fixed. 



> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-25 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941632#comment-15941632
 ] 

Deepak Dixit commented on OFBIZ-9243:
-

Hi [~taher],

How can we define the component load sequence in plugins directory?

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: ofbiz-framework-buildbot gradlew loadDefault.log.txt
>
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-03 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15894001#comment-15894001
 ] 

Jacques Le Roux commented on OFBIZ-9243:


Right, I reproduced in Buildbot 
https://ci.apache.org/builders/ofbiz-trunk-framework/builds/5/steps/shell_1/logs/stdio,
 weird I did not locally :-o

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-03 Thread Pierre Smits (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15893944#comment-15893944
 ] 

Pierre Smits commented on OFBIZ-9243:
-

This issue is related to OFBIZ-7016, which is about moving demo data to base 
components.

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-03 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15893938#comment-15893938
 ] 

Deepak Dixit commented on OFBIZ-9243:
-

This is due to data dependency, 
{code}
2017-03-03 14:02:36,208 |main |GenericDelegator  
|E| Failure in create operation for entity [ProductCategoryMember]: 
org.apache.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:ProductCategoryMember][createdStamp,2017-03-03 
14:02:36.163(java.sql.Timestamp)][createdTxStamp,2017-03-03 
14:02:35.741(java.sql.Timestamp)][fromDate,2009-11-05 
12:15:00.0(java.sql.Timestamp)][lastUpdatedStamp,2017-03-03 
14:02:36.163(java.sql.Timestamp)][lastUpdatedTxStamp,2017-03-03 
14:02:35.741(java.sql.Timestamp)][productCategoryId,eBay_ECom_Category(java.lang.String)][productId,GZ-1001(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO 
OFBIZ.PRODUCT_CATEGORY_MEMBER (PRODUCT_CATEGORY_ID, PRODUCT_ID, FROM_DATE, 
THRU_DATE, COMMENTS, SEQUENCE_NUM, QUANTITY, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, 
?, ?, ?, ?, ?, ?) (INSERT on table 'PRODUCT_CATEGORY_MEMBER' caused a violation 
of foreign key constraint 'PROD_CMBR_PRODUCT' for key (GZ-1001).  The statement 
has been rolled back.)). Rolling back transaction.
2017-03-03 14:02:36,208 |main |TransactionUtil   
|W| Calling transaction setRollbackOnly; this stack trace shows where this is 
happening:
java.lang.Exception: Failure in create operation for entity 
[ProductCategoryMember]: org.apache.ofbiz.entity.GenericEntityException: Error 
while inserting: [GenericEntity:ProductCategoryMember][createdStamp,2017-03-03 
14:02:36.163(java.sql.Timestamp)][createdTxStamp,2017-03-03 
14:02:35.741(java.sql.Timestamp)][fromDate,2009-11-05 
12:15:00.0(java.sql.Timestamp)][lastUpdatedStamp,2017-03-03 
14:02:36.163(java.sql.Timestamp)][lastUpdatedTxStamp,2017-03-03 
14:02:35.741(java.sql.Timestamp)][productCategoryId,eBay_ECom_Category(java.lang.String)][productId,GZ-1001(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO 
OFBIZ.PRODUCT_CATEGORY_MEMBER (PRODUCT_CATEGORY_ID, PRODUCT_ID, FROM_DATE, 
THRU_DATE, COMMENTS, SEQUENCE_NUM, QUANTITY, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, 
?, ?, ?, ?, ?, ?) (INSERT on table 'PRODUCT_CATEGORY_MEMBER' caused a violation 
of foreign key constraint 'PROD_CMBR_PRODUCT' for key (GZ-1001).  The statement 
has been rolled back.)). Rolling back transaction.
{code}

productId GZ-1001 is define in ecommerce component and ecommerce is loading 
after ebay
{code}
2017-03-03 13:58:06,151 |main |ComponentContainer
|I| Auto-Loading component directory : 
[/Users/deepakdixit/sandbox/plain_ofbiz/plugins]
2017-03-03 13:58:06,172 |main |ComponentContainer
|I| Added class path for component : [assetmaint]
2017-03-03 13:58:06,223 |main |ComponentContainer
|I| Added class path for component : [bi]
2017-03-03 13:58:06,253 |main |ComponentContainer
|I| Added class path for component : [birt]
2017-03-03 13:58:06,316 |main |ComponentContainer
|W| Location '/Users/deepakdixit/sandbox/plain_ofbiz/plugins/cmssite/build/lib' 
does not exist
2017-03-03 13:58:06,316 |main |ComponentContainer
|I| Added class path for component : [cmssite]
2017-03-03 13:58:06,332 |main |ComponentContainer
|I| Added class path for component : [ebay]
2017-03-03 13:58:06,352 |main |ComponentContainer
|I| Not loading component [ebaystore] because it is disabled
2017-03-03 13:58:06,369 |main |ComponentContainer
|I| Added class path for component : [ecommerce]
2017-03-03 13:58:06,414 |main |ComponentContainer
|I| Added class path for component : [example]
2017-03-03 13:58:06,432 |main |ComponentContainer
|I| Added class path for component : [exampleext]
2017-03-03 13:58:06,472 |main |ComponentContainer
|I| Added class path for component : [hhfacility]
2017-03-03 13:58:06,503 |main |ComponentContainer
|I| Added class path for component : [ldap]
2017-03-03 13:58:06,520 |main |ComponentContainer
|I| Added class path for component : [lucene]
2017-03-03 13:58:06,538 |main |ComponentContainer
|I| Added class path for component : [myportal]
2017-03-03 13:58:06,559 |main |ComponentContainer
|I| Added class path for component : [passport]
2017-03-03 13:58:06,579 |main |ComponentContainer
|I| Added class path for component : 

[jira] [Commented] (OFBIZ-9243) load demo data failure

2017-03-02 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15893875#comment-15893875
 ] 

Jacques Le Roux commented on OFBIZ-9243:


I don't reproduce this issue using 
https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework-buildbot/trunk
{code}
Line 695: 2017-03-03 08:47:43,387 |main 
|EntityDataLoadContainer   |I| 
file:/C:/projectsASF/ofbiz-framework-buildbot/plugins/myportal/data/MyPortalDemoData.xml
Line 2808: 2017-03-03 08:48:05,393 |main 
|EntitySaxReader   |I| Beginning import from URL: 
file:/C:/projectsASF/ofbiz-framework-buildbot/plugins/myportal/data/MyPortalDemoData.xml
Line 2810: 2017-03-03 08:48:05,413 |main 
|EntitySaxReader   |I| Finished 10 values from 
file:/C:/projectsASF/ofbiz-framework-buildbot/plugins/myportal/data/MyPortalDemoData.xml
Line 3105: 2017-03-03 08:48:06,231 |main 
|EntityDataLoadContainer   |I| 00010 of 16625 from 
file:/C:/projectsASF/ofbiz-framework-buildbot/plugins/myportal/data/MyPortalDemoData.xml
{code}

https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework-buildbot/trunk use 
externals . It's used in Buildbot for test and for trunk demo. You can also use 
it locally for your tests. Later a pullAllPluginsSource Gradle task will be 
used for the same but w/o the externals coupling.

> load demo data failure
> --
>
> Key: OFBIZ-9243
> URL: https://issues.apache.org/jira/browse/OFBIZ-9243
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>
> checkout latest ofbiz-framework and ofbiz-plugins
> $ gradlew cleanAll build
> $ gradlew loadDefault...using derby
> console output...
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| 00040 of 17229 from 
> file:/ofbiz-framework/plugins/webpos/data/PosSyncSettings.xml
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| The following errors occurred in the data load:
> 2017-03-02 17:18:32,143 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/ebay/data/DemoEbayData.xml"; Error was: A 
> transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| [loadData]: Error loading XML Resource 
> "file:/ofbiz-framework/plugins/myportal/data/MyPortalDemoData.xml"; Error 
> was: A transaction error occurred reading data
> 2017-03-02 17:18:32,144 |main |EntityDataLoadContainer   
> |I| =-=-=-=-=-=-= Finished the data load with 17229 rows changed.
> }}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)