Converting minilang to groovy

2018-02-21 Thread Wai
Is converting minilang to groovy the standard now?  Any objections to
converting minilang to java.



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html


Re: svn commit: r1807045 - /ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbi z/common/CommonEvents.java

2017-09-04 Thread Wai
I'll contribute a patch. Thanks.



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html


Re: Request for enhance entity:SystemProperty.

2017-08-14 Thread Wai
Since entity:UserPreference provides a reference to entity:UserLogin, it
seems a good fit for what I need.
You implied that a party-based preference would be more appropriate. What
would be the advantage of a party-based version.
If I were to use a party-based version then I would have to create another
entity (eg. PartyPreference)
Thanks



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Re-Request-for-enhance-entity-SystemProperty-tp4709235p4709655.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Request for enhance entity:SystemProperty.

2017-08-14 Thread Wai
The confusion was my original posting containing 2 separate items.
1) request to add readWriteType and valueType into entity:SystemProperty.
2) A question about user specific properties.

This reply addresses item#1. I request to add 2 fields called readWriteType
(formerly called accessType) and valueType to entity:SystemProperty. For
each entry of entity:SystemProperty, valid values for readWriteType is
'hidden', 'readOnly', and 'readWrite'. The valid values for valueType is
'TEXT', 'NUMERIC', 'BOOLEAN', 'DATE', 'LIST', etc.

The reason for these 2 new fields is to help with visibility and validation
purposes. For validation, when ofbiz outputs html to the browser, an entry
with valueType=DATE, for example, would indicate that a date value is
expected and hence ofbiz could add a javascript calendar to help a user pick
a date for that entry. On update of entry at postback, ofbiz could validate
that it is indeed a date value before storing to database.

Regarding readWriteType field. This would be used to control the visibility
of an entry to the user. Note, this has nothing to do with ofbiz
security.Even when a user has authorization to view a page showing the
entries of entity:SystemProperty, there could be fields that should be
hidden or readOnly. These fields are normally manipulated by the
ofbizDeveloper and not meant for the ofbizOwner to manipulate.  This might
seem strange for a non-multitenant ofbiz installation but it makes sense
when ofbiz is running in multitenant mode.  OfbizOwner can configure ofbiz
to behave differently for each tenant.  The tenant would not be able to see
nor manipulate such an entry.

Hope this clear things up.



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Re-Request-for-enhance-entity-SystemProperty-tp4709235p4709642.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Request for enhance entity:SystemProperty.

2017-08-12 Thread Wai
Is anyone interested in this enhancement?
Thanks



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Re-Request-for-enhance-entity-SystemProperty-tp4709235p4709546.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Request for enhance entity:SystemProperty.

2017-08-10 Thread Wai
Regarding the need for a user specific entity to store user specific
settings, the structure for entity:UserPreference looks like a good match
for what I need. Seeing that there is only one value defined for
userPrefGroupTypeId (ie. GLOBAL_PREFERENCES), I can define USER_PREFERENCES
for this field.

Thanks.



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Re-Request-for-enhance-entity-SystemProperty-tp4709235p4709448.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Request for enhance entity:SystemProperty.

2017-08-10 Thread Wai
There was also a second question for this posting.  It was whether another
entity should be created to address party specific properties.

Arun Patidar-2, made reference to entity:PartyAcctgPreference. I shall take
a look at that to see if that would meet my needs.

Thanks.



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Re-Request-for-enhance-entity-SystemProperty-tp4709235p4709446.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Request for enhance entity:SystemProperty.

2017-08-10 Thread Wai
Sorry it took so long to reply. I was not notified by Nabble that anybody
responded.When I use the term "access", it is _not_ related to ofbiz
security. Perhaps I should have used a different term to describe these
fields.  I shall replace "access" with readWriteType.readWriteType means how
ofbiz treats the property when a user interacts with it.  Of course, only
users with the proper ofbiz authorization may access the properties. Some
properties are mean to be viewed and not modified (ie.
readWriteType=readOnly).  Some are hidden altogether (ie.
readWriteType=hidden).Example of a read only property field:An ofbiz owner
may subscribe to a third party service via oauth2 authentication.  This 3rd
party service is used by ofbiz to provide a functionality.  A user with
proper ofbiz authorization may modify the oauth2 authentication
parameters(ie. readWriteType=readWrite) and can also view the current oauth2
status (ie. readWriteType=readOnly). (Note: this is not related to ofbiz
passport component).In the case of readWriteType=hidden, lets define 2
terms. ofbizOwner and ofbizTenantOwner.  ofbizOwner is an entity that owns
an ofbiz system. Such an entity is responsible for installation, setup,
upgrades, database upgrades and tenant administrations. A ofbizInstanceOwner
is a tenant of an ofbiz system configured for multitenant mode of operation. 
A property with readWriteType=hidden is one which is administered by the
ofbizOwner and stored in the database of an ofbizTenantOwner and affects the
instance of that tenant.  As such, the ofbizTenantOwner cannot view nor edit
such a property.Hope this clear things up.



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Re-Request-for-enhance-entity-SystemProperty-tp4709235p4709445.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: [discussion] With plugins, is hot-deploy necessary?

2017-03-04 Thread Wai
Either way is fine for me. I'll name my components directories in 'plugins'
with a specific prefix.
Thanks



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/discussion-With-plugins-is-hot-deploy-necessary-tp4702976p4702995.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


[discussion] With plugins, is hot-deploy necessary?

2017-03-03 Thread Wai
This discussion is in reference to...
https://issues.apache.org/jira/browse/OFBIZ-9244
http://ofbiz.135035.n4.nabble.com/plugin-and-hotdeploy-td4702922.html

Now that plugins has been implemented, would hot-deploy be necessary?

As I've mentions in OFBIZ-9244, I think keeping hot-deploy would be useful
for those that are prototyping new components that might or might not be
open sourced later. My view is that the plugins directory are for open
sourced or commercial components that could be downloaded from known
repositories.  Whereas, the hot-deploy directory is for local
developments/prototypings.  From an in-house developer's view point with
multiple proprietary components in development, I find that mixing in-house
and downloadable components confusing. I.e. difficult to locate my own
components in the midst of all the available downloaded components (there
are 12 of them).

On the other hand, Jacques Le Roux takes the position that all plugins (open
sourced, commercial, in-house prototypes) should all be located in one
place.

You opinions are greatly appreciated.

Kind regards,
Wai



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/discussion-With-plugins-is-hot-deploy-necessary-tp4702976.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: [VOTE] Put the Flatgrey theme in Attic

2016-09-25 Thread Wai
-1



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/VOTE-Put-the-Flatgrey-theme-in-Attic-tp4695129p4695262.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Michael Brohl joins OFBiz PMC

2016-09-05 Thread Wai
Congratulations!
Wai



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Michael-Brohl-joins-OFBiz-PMC-tp4692278p4692811.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


[jira] [Comment Edited] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

2016-08-12 Thread Wai (JIRA)

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

Wai edited comment on OFBIZ-7910 at 8/12/16 8:49 PM:
-

In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block
{code}
dependencies {
...
compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
...
}
{code}
Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.





was (Author: wt):
In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block
{{monospaced}}
dependencies {
...
compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
...
}
{{monospaced}}
Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.




> Improve component template(s) to work with the Gradle solution
> --
>
> Key: OFBIZ-7910
> URL: https://issues.apache.org/jira/browse/OFBIZ-7910
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-7910-Resources-build.gradle.patch
>
>
> Currently the component generated with the createComponent task doesn't have 
> the means to work with the Gradle build solution visavis dependency 
> management.
> The reason for this is that no build.gradle template exists that need to be 
> copied into the new component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

2016-08-12 Thread Wai (JIRA)

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

Wai edited comment on OFBIZ-7910 at 8/12/16 8:48 PM:
-

In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block
{{monospaced}}
dependencies {
...
compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
...
}
{{monospaced}}
Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.





was (Author: wt):
In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block
{{monospaced
dependencies {
...
compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
...
}
}}
Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.




> Improve component template(s) to work with the Gradle solution
> --
>
> Key: OFBIZ-7910
> URL: https://issues.apache.org/jira/browse/OFBIZ-7910
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-7910-Resources-build.gradle.patch
>
>
> Currently the component generated with the createComponent task doesn't have 
> the means to work with the Gradle build solution visavis dependency 
> management.
> The reason for this is that no build.gradle template exists that need to be 
> copied into the new component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

2016-08-12 Thread Wai (JIRA)

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

Wai edited comment on OFBIZ-7910 at 8/12/16 8:48 PM:
-

In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block
{{monospaced
dependencies {
...
compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
...
}
}}
Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.





was (Author: wt):
In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block

dependencies {
...
compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
...
}

Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.




> Improve component template(s) to work with the Gradle solution
> --
>
> Key: OFBIZ-7910
> URL: https://issues.apache.org/jira/browse/OFBIZ-7910
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-7910-Resources-build.gradle.patch
>
>
> Currently the component generated with the createComponent task doesn't have 
> the means to work with the Gradle build solution visavis dependency 
> management.
> The reason for this is that no build.gradle template exists that need to be 
> copied into the new component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

2016-08-12 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7910:


In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block

dependencies {
...
compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
...
}

Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.




> Improve component template(s) to work with the Gradle solution
> --
>
> Key: OFBIZ-7910
> URL: https://issues.apache.org/jira/browse/OFBIZ-7910
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-7910-Resources-build.gradle.patch
>
>
> Currently the component generated with the createComponent task doesn't have 
> the means to work with the Gradle build solution visavis dependency 
> management.
> The reason for this is that no build.gradle template exists that need to be 
> copied into the new component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

2016-08-12 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7910:


Thanks, that worked.
Wai

> Improve component template(s) to work with the Gradle solution
> --
>
> Key: OFBIZ-7910
> URL: https://issues.apache.org/jira/browse/OFBIZ-7910
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-7910-Resources-build.gradle.patch
>
>
> Currently the component generated with the createComponent task doesn't have 
> the means to work with the Gradle build solution visavis dependency 
> management.
> The reason for this is that no build.gradle template exists that need to be 
> copied into the new component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

2016-08-12 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7910:


I followed your suggestion by modifying /ofbiz/build.gradle and replace the 
dependency to 
compile files('$OFBIZ_HOME/lib') and placing myInHouse.jar into /ofbiz/lib
After running $ gradlew cleanAll build, a compilation error occurs with 
mycomponent1 with symbol not found.

> Improve component template(s) to work with the Gradle solution
> --
>
> Key: OFBIZ-7910
> URL: https://issues.apache.org/jira/browse/OFBIZ-7910
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-7910-Resources-build.gradle.patch
>
>
> Currently the component generated with the createComponent task doesn't have 
> the means to work with the Gradle build solution visavis dependency 
> management.
> The reason for this is that no build.gradle template exists that need to be 
> copied into the new component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

2016-08-12 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7910:


Hello Taher, Jacques

Here are my findings.

My source tree contains the following relevant details...
/ofbiz
/ofbiz/lib
/ofbiz/hot-deploy/mycomponent1
/ofbiz/hot-deploy/mycomponent1/lib


mycomponent1 references a class in myInHouse.jar

Try1:
I placed the myInHouse.jar in /ofbiz/lib
Modified /ofbiz/build.gradle and added the following to dependencies
compile files('lib')
Ran $gradlew cleanAll build
The compilation failed on mycomponent1.
-the failure is due to mycomponent1 referencing a class that is not found.  
This class is in myInHouse.jar

Try2:
I placed the myInHouse.jar into /ofbiz/hot-deploy/mycomponent1/lib
Ran $gradlew cleanAll build
The compilation was sucessful.


Conclusion:
My findinds corroborates Taher's comment about searching in the local 'lib' 
directory of each component to locate the custom jars.
I also noticed a deficiency with the build script. Consider a developer creates 
multiple hot-deploy components.  Each component references classes from the 
same myInHouse.jar.  This would require a copy of the same jar in each of the 
components 'lib' directory.  This is very inconvenient.
I suggest to modify the script so that each hot-deploy component can reference 
one myInHouse.jar located in /ofbiz/lib.


I hope this helps.
Wai

> Improve component template(s) to work with the Gradle solution
> --
>
> Key: OFBIZ-7910
> URL: https://issues.apache.org/jira/browse/OFBIZ-7910
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-7910-Resources-build.gradle.patch
>
>
> Currently the component generated with the createComponent task doesn't have 
> the means to work with the Gradle build solution visavis dependency 
> management.
> The reason for this is that no build.gradle template exists that need to be 
> copied into the new component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-7948) gradle does not recognize paths to 3rd party jars in hot-deploy components

2016-08-11 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-7948.
--
Resolution: Not A Problem

> gradle does not recognize paths to 3rd party jars in hot-deploy components
> --
>
> Key: OFBIZ-7948
> URL: https://issues.apache.org/jira/browse/OFBIZ-7948
> Project: OFBiz
>  Issue Type: Bug
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Wai
>
> I have a hot-deploy component.  This component relies on 3rd party jars.  I 
> have added the paths to the 3rd party jars in the component's 
> ofbiz-component.xml but the gradle build process complains about not being 
> able to find symbols in those jars.
> This component used to build successfully with ant but now that ofbiz has 
> switched to gradle, the build process fails



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7948) gradle does not recognize paths to 3rd party jars in hot-deploy components

2016-08-11 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7948:


That worked. Thanks.

> gradle does not recognize paths to 3rd party jars in hot-deploy components
> --
>
> Key: OFBIZ-7948
> URL: https://issues.apache.org/jira/browse/OFBIZ-7948
> Project: OFBiz
>  Issue Type: Bug
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Wai
>
> I have a hot-deploy component.  This component relies on 3rd party jars.  I 
> have added the paths to the 3rd party jars in the component's 
> ofbiz-component.xml but the gradle build process complains about not being 
> able to find symbols in those jars.
> This component used to build successfully with ant but now that ofbiz has 
> switched to gradle, the build process fails



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7948) gradle does not recognize paths to 3rd party jars in hot-deploy components

2016-08-10 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7948:


Following your instruction by placing the build.gradle into the hot-deploy 
component, I ran gradlew and received the following error.

$ gradlew  cleanAll

FAILURE: Build failed with an exception.

* Where:
Build file '/home/me/workspace/ofbiz-trunk/hot-deploy/mycomponent/build.gradle' 
line: 3

* What went wrong:
A problem occurred evaluating project ':hot-deploy:mycomponent'.
> Could not find method compile() for arguments [file collection] on project 
> ':hot-deploy:mycomponent'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED


> gradle does not recognize paths to 3rd party jars in hot-deploy components
> --
>
> Key: OFBIZ-7948
> URL: https://issues.apache.org/jira/browse/OFBIZ-7948
> Project: OFBiz
>  Issue Type: Bug
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Wai
>
> I have a hot-deploy component.  This component relies on 3rd party jars.  I 
> have added the paths to the 3rd party jars in the component's 
> ofbiz-component.xml but the gradle build process complains about not being 
> able to find symbols in those jars.
> This component used to build successfully with ant but now that ofbiz has 
> switched to gradle, the build process fails



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-7948) gradle does not recognize paths to 3rd party jars in hot-deploy components

2016-08-09 Thread Wai (JIRA)

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

Wai edited comment on OFBIZ-7948 at 8/10/16 1:12 AM:
-

What if my component makes use of custom in-house jars.  Where would one put 
these jars and how to configure gradle to look for them when compiling? Also 
how to configure ofbiz to look for these jars when it is run?


was (Author: wt):
What if my component makes use of custom in-house jars.  Where would one put 
these jars and how to configure gradle to look for them?

> gradle does not recognize paths to 3rd party jars in hot-deploy components
> --
>
> Key: OFBIZ-7948
> URL: https://issues.apache.org/jira/browse/OFBIZ-7948
> Project: OFBiz
>  Issue Type: Bug
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Wai
>
> I have a hot-deploy component.  This component relies on 3rd party jars.  I 
> have added the paths to the 3rd party jars in the component's 
> ofbiz-component.xml but the gradle build process complains about not being 
> able to find symbols in those jars.
> This component used to build successfully with ant but now that ofbiz has 
> switched to gradle, the build process fails



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7948) gradle does not recognize paths to 3rd party jars in hot-deploy components

2016-08-09 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7948:


What if my component makes use of custom in-house jars.  Where would one put 
these jars and how to configure gradle to look for them?

> gradle does not recognize paths to 3rd party jars in hot-deploy components
> --
>
> Key: OFBIZ-7948
> URL: https://issues.apache.org/jira/browse/OFBIZ-7948
> Project: OFBiz
>  Issue Type: Bug
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Wai
>
> I have a hot-deploy component.  This component relies on 3rd party jars.  I 
> have added the paths to the 3rd party jars in the component's 
> ofbiz-component.xml but the gradle build process complains about not being 
> able to find symbols in those jars.
> This component used to build successfully with ant but now that ofbiz has 
> switched to gradle, the build process fails



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-7948) gradle does not recognize paths to 3rd party jars in hot-deploy components

2016-08-09 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-7948:
---
Summary: gradle does not recognize paths to 3rd party jars in hot-deploy 
components  (was: ofbiz does not recognize paths of 3rd party jars in 
hot-deploy components)

> gradle does not recognize paths to 3rd party jars in hot-deploy components
> --
>
> Key: OFBIZ-7948
> URL: https://issues.apache.org/jira/browse/OFBIZ-7948
> Project: OFBiz
>  Issue Type: Bug
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Wai
>
> I have a hot-deploy component.  This component relies on 3rd party jars.  I 
> have added the paths to the 3rd party jars in the component's 
> ofbiz-component.xml but the gradle build process complains about not being 
> able to find symbols in those jars.
> This component used to build successfully with ant but now that ofbiz has 
> switched to gradle, the build process fails



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-7948) ofbiz does not recognize paths of 3rd party jars in hot-deploy components

2016-08-09 Thread Wai (JIRA)
Wai created OFBIZ-7948:
--

 Summary: ofbiz does not recognize paths of 3rd party jars in 
hot-deploy components
 Key: OFBIZ-7948
 URL: https://issues.apache.org/jira/browse/OFBIZ-7948
 Project: OFBiz
  Issue Type: Bug
  Components: Gradle
Affects Versions: Trunk
Reporter: Wai


I have a hot-deploy component.  This component relies on 3rd party jars.  I 
have added the paths to the 3rd party jars in the component's 
ofbiz-component.xml but the gradle build process complains about not being able 
to find symbols in those jars.
This component used to build successfully with ant but now that ofbiz has 
switched to gradle, the build process fails



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7942) problem with running hot-deploy component

2016-08-05 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7942:


Thanks for the command.  Having used the command you provided, ofbiz is 
complaining about another issue...
Branch: http://svn.apache.org/repos/asf/ofbiz/trunk Revision: [1755113] Built 
on: 2016-08-05 05:29:43 Java Version: 1.8.0_92 (Oracle Corporation 25.92-b14) 
FreeMarker template error: Template inclusion failed (for parameter value 
"ofbizhome://runtime/GitInfo.ftl"): 
/home/wt/wt-mystuff/eclipse/workspace/ofbiz-trunk-test/runtime/GitInfo.ftl (No 
such file or directory)

I ran $./gradlew gitInfoFooter with the following console error.  Note, I did 
not checkout the ofbiz source using git.
$ gradlew gitInfoFooter
:gitInfoFooter
fatal: Not a git repository (or any parent up to mount point /home/wt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
:gitInfoFooter FAILED

FAILURE: Build failed with an exception.

* Where:
Build file 
'/home/wt/wt-mystuff/eclipse/workspace/ofbiz-trunk-test/build.gradle' line: 665

* What went wrong:
Execution failed for task ':gitInfoFooter'.
> Process 'command 'git'' finished with non-zero exit value 128

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 6.878 secs


> problem with running hot-deploy component
> -
>
> Key: OFBIZ-7942
> URL: https://issues.apache.org/jira/browse/OFBIZ-7942
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: mycomponent.tar.bz2
>
>
> When running a hot-deploy component and exception occurs. I have included the 
> component for reference purposes.
> Used the following steps to create the component...
> -ran $ gradlew  createComponent -PcomponentName=mycomponent 
> -PcomponentResourceName=myrscname -PwebappName=mywebapp -PbasePermission=NONE
> -added request and associated screen.
> -ran $ gradlew cleanAll loadDefault
> -ran $ gradlew ofbiz
> The console shows the following exception...
> FreeMarker template error: Template inclusion failed (for parameter value 
> "ofbizhome://runtime/SvnInfo.ftl"): 
> /home/wt/wt-mystuff/eclipse/workspace/ofbiz-trunk-test/runtime/SvnInfo.ftl 
> (No such file or directory)  FTL stack trace ("~" means nesting-related): 
> - Failed at: #include "ofbizhome://runtime/SvnInfo... [in template 
> "component://tomahawk/template/Footer.ftl" at line 26, column 104]  Java 
> stack trace (for programmers):  freemarker.core._MiscTemplateException: 
> [... Exception message was already printed; see it above ...] at 
> freemarker.core.Include.accept(Include.java:164) at 
> freemarker.core.Environment.visit(Environment.java:326) at 
> freemarker.core.Environment.visit(Environment.java:332) at 
> freemarker.core.Environment.process(Environment.java:305) at 
> org.apache.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:261)
>  at 
> org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167)
>  at 
> org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
>  at 
> org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1321)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>  at 
> org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-7942) problem with running hot-deploy component

2016-08-04 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-7942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-7942:
---
Attachment: mycomponent.tar.bz2

the hot-deploy component to help create the issue.

> problem with running hot-deploy component
> -
>
> Key: OFBIZ-7942
> URL: https://issues.apache.org/jira/browse/OFBIZ-7942
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: mycomponent.tar.bz2
>
>
> When running a hot-deploy component and exception occurs. I have included the 
> component for reference purposes.
> Used the following steps to create the component...
> -ran $ gradlew  createComponent -PcomponentName=mycomponent 
> -PcomponentResourceName=myrscname -PwebappName=mywebapp -PbasePermission=NONE
> -added request and associated screen.
> -ran $ gradlew cleanAll loadDefault
> -ran $ gradlew ofbiz
> The console shows the following exception...
> FreeMarker template error: Template inclusion failed (for parameter value 
> "ofbizhome://runtime/SvnInfo.ftl"): 
> /home/wt/wt-mystuff/eclipse/workspace/ofbiz-trunk-test/runtime/SvnInfo.ftl 
> (No such file or directory)  FTL stack trace ("~" means nesting-related): 
> - Failed at: #include "ofbizhome://runtime/SvnInfo... [in template 
> "component://tomahawk/template/Footer.ftl" at line 26, column 104]  Java 
> stack trace (for programmers):  freemarker.core._MiscTemplateException: 
> [... Exception message was already printed; see it above ...] at 
> freemarker.core.Include.accept(Include.java:164) at 
> freemarker.core.Environment.visit(Environment.java:326) at 
> freemarker.core.Environment.visit(Environment.java:332) at 
> freemarker.core.Environment.process(Environment.java:305) at 
> org.apache.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:261)
>  at 
> org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167)
>  at 
> org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
>  at 
> org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1321)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>  at 
> org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780)
>  at 
> org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-7942) problem with running hot-deploy component

2016-08-04 Thread Wai (JIRA)
Wai created OFBIZ-7942:
--

 Summary: problem with running hot-deploy component
 Key: OFBIZ-7942
 URL: https://issues.apache.org/jira/browse/OFBIZ-7942
 Project: OFBiz
  Issue Type: Bug
Affects Versions: Trunk
Reporter: Wai


When running a hot-deploy component and exception occurs. I have included the 
component for reference purposes.

Used the following steps to create the component...
-ran $ gradlew  createComponent -PcomponentName=mycomponent 
-PcomponentResourceName=myrscname -PwebappName=mywebapp -PbasePermission=NONE
-added request and associated screen.
-ran $ gradlew cleanAll loadDefault
-ran $ gradlew ofbiz

The console shows the following exception...

FreeMarker template error: Template inclusion failed (for parameter value 
"ofbizhome://runtime/SvnInfo.ftl"): 
/home/wt/wt-mystuff/eclipse/workspace/ofbiz-trunk-test/runtime/SvnInfo.ftl (No 
such file or directory)  FTL stack trace ("~" means nesting-related): - 
Failed at: #include "ofbizhome://runtime/SvnInfo... [in template 
"component://tomahawk/template/Footer.ftl" at line 26, column 104]  Java 
stack trace (for programmers):  freemarker.core._MiscTemplateException: 
[... Exception message was already printed; see it above ...] at 
freemarker.core.Include.accept(Include.java:164) at 
freemarker.core.Environment.visit(Environment.java:326) at 
freemarker.core.Environment.visit(Environment.java:332) at 
freemarker.core.Environment.process(Environment.java:305) at 
org.apache.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:261)
 at 
org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167)
 at 
org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
 at 
org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140)
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1321)
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
 at 
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
 at 
org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780)
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
 at 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7754) The big problem when load seed.

2016-07-08 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7754:


Seeing this solution from a customer's point of view may seem counter-intuitive.
As previously suggested, I think using a separate readerName such as 'seed' and 
'seed-initial' for such a file would be a good idea and have it loaded when it 
is actually required as a separate step.

> The big problem when load seed.
> ---
>
> Key: OFBIZ-7754
> URL: https://issues.apache.org/jira/browse/OFBIZ-7754
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Kongrath Suankaewmanee
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-7754.patch
>
>
> Hi All,
> Regarding, [OFBIZ-7112|https://issues.apache.org/jira/browse/OFBIZ-7112]
> That's good for who start on use the ofbiz with initial setup, but not for 
> the site that already online and has to update the OFBiz core. Because when 
> has update OFBiz core they will use command load-seed for update.
> The problem is if we use load-seed mean the configuration data that's already 
> exists will be replaced by the data from this file,
> *CommonSystemPropertyData.xml*
> So, for my suggestion should change the reader from *seed* to *seed-initial*  
> or remove systemPropertyValue from the data file.
> Thank you,
> Kongrath



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7754) The big problem when load seed.

2016-07-08 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7754:


A property value can be empty.  It is the same as commenting out a property.  
In such a case, a default value in ofbiz code would be used.

"...But is it required? Please give me a number of examples where this is 
needed. As far as I can see a properties value always has content either Y/N or 
False/True or a value"

>>>A sample case in which an issue would result is if nothing is a valid 
value for a property.  In such a scenario, if the user wants to set the 
database-based version of the property to nothing, the code would proceed to 
get a value from the file-based counterpart. Which is not what is desired.

"...Further, anybody just starting with the system will try to change the most 
important properties file 'general.properties' and will see no result"

>>>It should be noted that the database-based version of property is a 
special case.  Generally, a user using ofbiz in single tenant mode would be 
using the file-based properties.  In such a situation, the user should not have 
loaded the database-base version into the database.
>>>And if seed data for database-based properties need to be loaded, it 
should be customized according to the user's requirements.  In other words, 
those properties that are not required should be edited out before seeding.


> The big problem when load seed.
> ---
>
> Key: OFBIZ-7754
> URL: https://issues.apache.org/jira/browse/OFBIZ-7754
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Kongrath Suankaewmanee
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-7754.patch
>
>
> Hi All,
> Regarding, [OFBIZ-7112|https://issues.apache.org/jira/browse/OFBIZ-7112]
> That's good for who start on use the ofbiz with initial setup, but not for 
> the site that already online and has to update the OFBiz core. Because when 
> has update OFBiz core they will use command load-seed for update.
> The problem is if we use load-seed mean the configuration data that's already 
> exists will be replaced by the data from this file,
> *CommonSystemPropertyData.xml*
> So, for my suggestion should change the reader from *seed* to *seed-initial*  
> or remove systemPropertyValue from the data file.
> Thank you,
> Kongrath



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-7754) The big problem when load seed.

2016-07-08 Thread Wai (JIRA)

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

Wai edited comment on OFBIZ-7754 at 7/8/16 5:28 PM:


Regarding property values:

A property can have both a value or empty. 'empty' simply means that a property 
is commented out or present but contain an empty value.  If the value is empty, 
then a default value would be that coded in the software.

Ofbiz modes:

I think we need to consider ofbiz in the 1)single tenant mode and 2) 
multitenant mode.
In single tenant mode, ofbiz should only be using the properties files.  Using 
the database to store similar properties would be redundant.  If the owner 
wished to change the properties, one would just modify the relevant properties 
file.


Methods of deployment:

I can think of a few methods of ofbiz deployment.

Deployment#1) owner of ofbiz(in single tenant mode) is also the user

In such a setup. The user would not require a database version of property 
files. The owner can simply modify the appropriate files.

Deployment#2) owner of ofbiz(in single tenant mode) is a provider of ofbiz 
service to  paid users.

In such a setup, multiple instances of ofbiz is run on separate 
ports(perhaps in separate virtual machines).  Each ofbiz instance is assigned 
to a paid user.
Hence, a database equivalent of changeable properties is placed in the 
database associated with each paid user.  This would allow the owner to simply 
modify the property values tailored to each paid user. Based on the previous 
comments, it seems the paid user is able to load seed data himself.

Note#1: I believe this is the original intent of why a database version of 
properties was created.  In such a scenario, if the database property is 
missing or contains an empty value for a given paid user, ofbiz would fallback 
on the value of the file-based property value.
Note#2: The peculiar interaction between the file-based property and the 
database-based property as it was coded (ie. before my patch) is as follows. 
The peculiar aspect is useCase#3. why have a database-based property if it is 
not going to override the file-based version. Hence, if database-based property 
has an empty value then it is meant to be empty (and thus use the hardcoded 
default in ofbiz code).  As mentioned in the section "Regarding property 
values" above. it is possible to have a property that contains an empty value. 
it is the same as commenting out the property in the file.
{noformat}
 database-based property file-based property result
 --- --- --
useCase#1:property1=value1property1=value2use 
property1=value1
useCase#2:nil property1=value2use 
property1=value2
useCase#3:property1=  property1=value2use 
property1=value2 (this scenario is strange???)
{noformat}

Deployment#3) owner of ofbiz(in multitenant mode) is a provider of ofbiz 
service to paid users.

In such a setup, one instance of ofbiz is serving multiple paid users. Each 
paid user accesses his assigned database via the one instance of ofbiz.  Each 
database would contain it's own property values and the paid user has access 
and is responsible for configuring his own property values.  The properties 
that are available for the paid user to modify is determined by the ofbiz owner.

The interaction between database-based property and file-based property is 
as follows. Notice that if a database-entry is present, its value(or lack 
thereof) would always override that of the file-based version.
{noformat}
 database-based property file-based property result
 --- --- --
useCase#1:property1=value1property1=value2use 
property1=value1
useCase#2:nil property1=value2use 
property1=value2
useCase#3:property1=  property1=value2use 
property1=
{noformat}


was (Author: wt):
Regarding property values:

A property can have both a value or empty. 'empty' simply means that a property 
is commented out or present but contain an empty value.  If the value is empty, 
then a default value would be that coded in the software.

Ofbiz modes:

I think we need to consider ofbiz in the 1)single tenant mode and 2) 
multitenant mode.
In single tenant mode, ofbiz should only be using the properties files.  Using 
the database to store similar properties would be redundant.  If the owner 
wished to change the properties, one would just modify the relevant properties 
file.


Methods of deployment:

I can think of a few methods of ofbiz deployment.

Deployment#1) owner of ofbiz(in single tenant mode) is als

[jira] [Commented] (OFBIZ-7754) The big problem when load seed.

2016-07-08 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7754:


Regarding property values:

A property can have both a value or empty. 'empty' simply means that a property 
is commented out or present but contain an empty value.  If the value is empty, 
then a default value would be that coded in the software.

Ofbiz modes:

I think we need to consider ofbiz in the 1)single tenant mode and 2) 
multitenant mode.
In single tenant mode, ofbiz should only be using the properties files.  Using 
the database to store similar properties would be redundant.  If the owner 
wished to change the properties, one would just modify the relevant properties 
file.


Methods of deployment:

I can think of a few methods of ofbiz deployment.

Deployment#1) owner of ofbiz(in single tenant mode) is also the user

In such a setup. The user would not require a database version of property 
files. The owner can simply modify the appropriate files.

Deployment#2) owner of ofbiz(in single tenant mode) is a provider of ofbiz 
service to  paid users.

In such a setup, multiple instances of ofbiz is run on separate 
ports(perhaps in separate virtual machines).  Each ofbiz instance is assigned 
to a paid user.
Hence, a database equivalent of changeable properties is placed in the 
database associated with each paid user.  This would allow the owner to simply 
modify the property values tailored to each paid user. Based on the previous 
comments, it seems the paid user is able to load seed data himself.

Note#1: I believe this is the original intent of why a database version of 
properties was created.  In such a scenario, if the database property is 
missing or contains an empty value for a given paid user, ofbiz would fallback 
on the value of the file-based property value.
Note#2: The peculiar interaction between the file-based property and the 
database-based property as it was coded (ie. before my patch) is as follows. 
The peculiar aspect is useCase#3. why have a database-based property if it is 
not going to override the file-based version. Hence, if database-based property 
has an empty value then it is meant to be empty (and thus use the hardcoded 
default in ofbiz code).  As mentioned in the section "Regarding property 
values" above. it is possible to have a property that contains an empty value. 
it is the same as commenting out the property in the file.
{{monospaced}}
 database-based property file-based property result
 --- --- --
useCase#1:property1=value1property1=value2use 
property1=value1
useCase#2:nil property1=value2use 
property1=value2
useCase#3:property1=  property1=value2use 
property1=value2 (this scenario is strange???)
{{monospaced}}
Deployment#3) owner of ofbiz(in multitenant mode) is a provider of ofbiz 
service to paid users.

In such a setup, one instance of ofbiz is serving multiple paid users. Each 
paid user accesses his assigned database via the one instance of ofbiz.  Each 
database would contain it's own property values and the paid user has access 
and is responsible for configuring his own property values.  The properties 
that are available for the paid user to modify is determined by the ofbiz owner.

The interaction between database-based property and file-based property is 
as follows. Notice that if a database-entry is present, its value(or lack 
thereof) would always override that of the file-based version.
{{
 database-based property file-based property result
 --- --- --
useCase#1:property1=value1property1=value2use 
property1=value1
useCase#2:nil property1=value2use 
property1=value2
useCase#3:property1=  property1=value2use 
property1=
}}

> The big problem when load seed.
> ---
>
> Key: OFBIZ-7754
> URL: https://issues.apache.org/jira/browse/OFBIZ-7754
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Kongrath Suankaewmanee
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-7754.patch
>
>
> Hi All,
> Regarding, [OFBIZ-7112|https://issues.apache.org/jira/browse/OFBIZ-7112]
> That's good for who start on use the ofbiz with initial setup, but not for 
> the site that already online and has to update the OFBiz core. Because when 
> has update OFBiz core they will use command load-seed for update.
>

[jira] [Commented] (OFBIZ-7311) Formatting and renaming of the CSS files as per best practices

2016-06-18 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7311:


There is some cleanup required.
when the css file name changed to use style.css and stylertl.css, there are 
still references to maincss.css and mainrtl.css thoughout the source code.

> Formatting and renaming of the CSS files as per best practices
> --
>
> Key: OFBIZ-7311
> URL: https://issues.apache.org/jira/browse/OFBIZ-7311
> Project: OFBiz
>  Issue Type: Improvement
>  Components: themes
>Affects Versions: Trunk
>Reporter: Swapnil M Mane
>Assignee: Pranay Pandey
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7311-bizznesstime.patch, 
> OFBIZ-7311-bluelight.patch, OFBIZ-7311-droppingcrumbs.patch, 
> OFBIZ-7311-flatgrey.patch, OFBIZ-7311-multiflex.patch, 
> OFBIZ-7311-rainbowstone.patch, OFBIZ-7311-renamed-maincss-to-style.patch, 
> OFBIZ-7311-tomahawk.patch
>
>
> In CSS files, we are having various inconsistency in the formatting of the 
> code for e.g. we have following types of code formatting
> // No space
> {code}
> ul#preferences-menu a:hover {
> text-decoration: none;
> }
> {code}
> // Space of 2
> {code}
> div.autocomplete ul {
>   list-style-type:none;
>   margin:0;
>   padding:0;
> }
> {code}
> // Space of 4
> {code}
> .control-area a {
> font-size: 1.1em;
> color: #5CA3D7;
> }
> {code}
> For better readability we should format the existing files with space of 4.
> Also for some theme, we named CSS files as *maincss.css* and for some, we 
> named it as *style.css*. We can rename these file as per best practices for 
> consistency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-7112) EntityUtilProperties

2016-06-15 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-7112:
---
Attachment: OFBIZ-7112.patch

bug fix and update seed data

> EntityUtilProperties
> 
>
> Key: OFBIZ-7112
> URL: https://issues.apache.org/jira/browse/OFBIZ-7112
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-7112.patch, OFBIZ-7112.patch, OFBIZ-7112.patch, 
> OFBIZ-7112.patch
>
>
> Ofbiz reads properties from either a properties file or the 
> entity:SystemProperty. The way it works previously is that ofbiz reads from 
> the entity:SystemProperty first and if there is no value associated with the 
> target propertyname, it would then locate the value from the relevant 
> properties file.
> In other words, if there is a database entry for a property, the database 
> entry should override the associated properties file.
> The issue is that if a database entry exist but the value is empty, it would 
> look for a value from the properties file.  It should not do so.  If a 
> database entry exists for the propertyname of interest, the value should be 
> taken from the database even if it holds an empty value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7112) EntityUtilProperties

2016-06-14 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7112:


Hi Jacques,
I ran the test but I do not see any errors that relates to my modification.  
Could you provide a console output of your test results.
I ran this test...
$ ant run-test-suite -Dtest.component=entity -Dtest.suiteName=entitytests
Thanks

> EntityUtilProperties
> 
>
> Key: OFBIZ-7112
> URL: https://issues.apache.org/jira/browse/OFBIZ-7112
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-7112.patch, OFBIZ-7112.patch, OFBIZ-7112.patch
>
>
> Ofbiz reads properties from either a properties file or the 
> entity:SystemProperty. The way it works previously is that ofbiz reads from 
> the entity:SystemProperty first and if there is no value associated with the 
> target propertyname, it would then locate the value from the relevant 
> properties file.
> In other words, if there is a database entry for a property, the database 
> entry should override the associated properties file.
> The issue is that if a database entry exist but the value is empty, it would 
> look for a value from the properties file.  It should not do so.  If a 
> database entry exists for the propertyname of interest, the value should be 
> taken from the database even if it holds an empty value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7112) EntityUtilProperties

2016-05-25 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7112:


"isExistInDb" is first defined in Map<String, String> 
getSystemPropertyValue(String, String, Delegator).  This method is call by many 
other methods.  "isExistInDb" is used to indicate whether the method is 
returning an empty value for the property that 'exists' in the database rather 
than as a result of an absent database entry for the property.

The other methods...
  boolean propertyValueEqualsIgnoreCase(String, String, String, Delegator)
  String getPropertyValue(String, String, String, Delegator)
  String getPropertyValue(String, String, Delegator) 
  String getMessage(String, String, Locale, Delegator)
uses the above method and needs to decide whether to use the empty value 
returned (ie. empty value from an existing property entry in database) or 
decide if it needs to read from the property file (ie. property entry does not 
exist in database)


> EntityUtilProperties
> 
>
> Key: OFBIZ-7112
> URL: https://issues.apache.org/jira/browse/OFBIZ-7112
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>    Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-7112.patch, OFBIZ-7112.patch
>
>
> Ofbiz reads properties from either a properties file or the 
> entity:SystemProperty. The way it works previously is that ofbiz reads from 
> the entity:SystemProperty first and if there is no value associated with the 
> target propertyname, it would then locate the value from the relevant 
> properties file.
> In other words, if there is a database entry for a property, the database 
> entry should override the associated properties file.
> The issue is that if a database entry exist but the value is empty, it would 
> look for a value from the properties file.  It should not do so.  If a 
> database entry exists for the propertyname of interest, the value should be 
> taken from the database even if it holds an empty value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7112) EntityUtilProperties

2016-05-23 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7112:


I meant that if propertyName exist in the database(even if it's corresponding 
value is empty), the database should override the properties file.

> EntityUtilProperties
> 
>
> Key: OFBIZ-7112
> URL: https://issues.apache.org/jira/browse/OFBIZ-7112
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-7112.patch, OFBIZ-7112.patch
>
>
> Ofbiz reads properties from either a properties file or the 
> entity:SystemProperty. The way it works previously is that ofbiz reads from 
> the entity:SystemProperty first and if there is no value associated with the 
> target propertyname, it would then locate the value from the relevant 
> properties file.
> In other words, if there is a database entry for a property, the database 
> entry should override the associated properties file.
> The issue is that if a database entry exist but the value is empty, it would 
> look for a value from the properties file.  It should not do so.  If a 
> database entry exists for the propertyname of interest, the value should be 
> taken from the database even if it holds an empty value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7112) EntityUtilProperties

2016-05-23 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7112:


Initially ofbiz was primarily using properties files.  Then corresponding 
entries were added to database. I'm assuming that we are moving one step 
towards multitenant support.

> EntityUtilProperties
> 
>
> Key: OFBIZ-7112
> URL: https://issues.apache.org/jira/browse/OFBIZ-7112
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-7112.patch, OFBIZ-7112.patch
>
>
> Ofbiz reads properties from either a properties file or the 
> entity:SystemProperty. The way it works previously is that ofbiz reads from 
> the entity:SystemProperty first and if there is no value associated with the 
> target propertyname, it would then locate the value from the relevant 
> properties file.
> In other words, if there is a database entry for a property, the database 
> entry should override the associated properties file.
> The issue is that if a database entry exist but the value is empty, it would 
> look for a value from the properties file.  It should not do so.  If a 
> database entry exists for the propertyname of interest, the value should be 
> taken from the database even if it holds an empty value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7112) EntityUtilProperties

2016-05-23 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7112:


That's correct Jacques. My reasoning is that the database overrides the 
properties file.  Otherwise it wouldn't make sense.
Hence, if there is an entry in the database (even thought the assoc value is 
empty) we should use the database.  If the properties files are preferred, then 
remove the entry from the database.

> EntityUtilProperties
> 
>
> Key: OFBIZ-7112
> URL: https://issues.apache.org/jira/browse/OFBIZ-7112
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-7112.patch, OFBIZ-7112.patch
>
>
> Ofbiz reads properties from either a properties file or the 
> entity:SystemProperty. The way it works previously is that ofbiz reads from 
> the entity:SystemProperty first and if there is no value associated with the 
> target propertyname, it would then locate the value from the relevant 
> properties file.
> In other words, if there is a database entry for a property, the database 
> entry should override the associated properties file.
> The issue is that if a database entry exist but the value is empty, it would 
> look for a value from the properties file.  It should not do so.  If a 
> database entry exists for the propertyname of interest, the value should be 
> taken from the database even if it holds an empty value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-7112) EntityUtilProperties

2016-05-23 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-7112:
---
Attachment: OFBIZ-7112.patch

comment cleanup

> EntityUtilProperties
> 
>
> Key: OFBIZ-7112
> URL: https://issues.apache.org/jira/browse/OFBIZ-7112
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-7112.patch, OFBIZ-7112.patch
>
>
> Ofbiz reads properties from either a properties file or the 
> entity:SystemProperty. The way it works previously is that ofbiz reads from 
> the entity:SystemProperty first and if there is no value associated with the 
> target propertyname, it would then locate the value from the relevant 
> properties file.
> In other words, if there is a database entry for a property, the database 
> entry should override the associated properties file.
> The issue is that if a database entry exist but the value is empty, it would 
> look for a value from the properties file.  It should not do so.  If a 
> database entry exists for the propertyname of interest, the value should be 
> taken from the database even if it holds an empty value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-7112) EntityUtilProperties

2016-05-23 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-7112:
---
Attachment: OFBIZ-7112.patch

> EntityUtilProperties
> 
>
> Key: OFBIZ-7112
> URL: https://issues.apache.org/jira/browse/OFBIZ-7112
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-7112.patch
>
>
> Ofbiz reads properties from either a properties file or the 
> entity:SystemProperty. The way it works previously is that ofbiz reads from 
> the entity:SystemProperty first and if there is no value associated with the 
> target propertyname, it would then locate the value from the relevant 
> properties file.
> In other words, if there is a database entry for a property, the database 
> entry should override the associated properties file.
> The issue is that if a database entry exist but the value is empty, it would 
> look for a value from the properties file.  It should not do so.  If a 
> database entry exists for the propertyname of interest, the value should be 
> taken from the database even if it holds an empty value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-7112) EntityUtilProperties

2016-05-23 Thread Wai (JIRA)
Wai created OFBIZ-7112:
--

 Summary: EntityUtilProperties
 Key: OFBIZ-7112
 URL: https://issues.apache.org/jira/browse/OFBIZ-7112
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
Reporter: Wai


Ofbiz reads properties from either a properties file or the 
entity:SystemProperty. The way it works previously is that ofbiz reads from the 
entity:SystemProperty first and if there is no value associated with the target 
propertyname, it would then locate the value from the relevant properties file.
In other words, if there is a database entry for a property, the database entry 
should override the associated properties file.
The issue is that if a database entry exist but the value is empty, it would 
look for a value from the properties file.  It should not do so.  If a database 
entry exists for the propertyname of interest, the value should be taken from 
the database even if it holds an empty value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7071) CategoryContent & ProductContent cachekey problem on multi tenant environment

2016-05-19 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7071:


The jira I reported earlier is the one you're referring to.

> CategoryContent & ProductContent cachekey problem on multi tenant environment
> -
>
> Key: OFBIZ-7071
> URL: https://issues.apache.org/jira/browse/OFBIZ-7071
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
> Environment: Multitenant
>Reporter: Ingo Wolfmayr
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, 15.12.01
>
> Attachments: ofbiz.patch
>
>
> Two tenants: 
> DEMO1
> DEMO2
> Category Demo 1:
> c-0001
> Title: Demo1
> Category Demo 2: 
> c-0001
> Title: Demo2
> Depending on which tenant did create the cachekey, both tenants will display 
> the same title.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-7066) temporal expression screen missing date dialogbox

2016-05-11 Thread Wai (JIRA)
Wai created OFBIZ-7066:
--

 Summary: temporal expression screen missing date dialogbox
 Key: OFBIZ-7066
 URL: https://issues.apache.org/jira/browse/OFBIZ-7066
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Wai


go to https://localhost:8443/webtools/control/editTemporalExpression
go to frequency expression section
notice date dialog button is missing




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7013) party search form does not properly collapse sections when none|postal|telecom|other selected

2016-04-20 Thread Wai (JIRA)

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

Wai commented on OFBIZ-7013:


Thanks,Wai

> party search form does not properly collapse sections when 
> none|postal|telecom|other selected
> -
>
> Key: OFBIZ-7013
> URL: https://issues.apache.org/jira/browse/OFBIZ-7013
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: Upcoming Branch
>
> Attachments: collapseFindParty.patch
>
>
> go to: /partymgr/control/findparty
> click on either none, postal, telecom,other radiobutton.
> notice that after clicking on another radiobutton, the section that was 
> previously expanded is not automatically collapsed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-7014) listing always contain empty first entry

2016-04-16 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-7014.
--
Resolution: Not A Problem

the context variable previousItem was meant to be used with 'position' 
attribute in form fields.  Not in the way that was used in the sample form.

>  listing always contain empty first entry
> -
>
> Key: OFBIZ-7014
> URL: https://issues.apache.org/jira/browse/OFBIZ-7014
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>
> when creating a  or  to display a listing. 
> the first entry is alway empty
> Use this sample form to see the symptom:
> 
> 
> 
> 
>  operator="equals" value="FINISHED_GOOD"/>
> 
> 
> 
> 
> 
>  />
> 
>   
>   
> 
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-7014) listing always contain empty first entry

2016-04-16 Thread Wai (JIRA)
Wai created OFBIZ-7014:
--

 Summary:  listing always contain empty first entry
 Key: OFBIZ-7014
 URL: https://issues.apache.org/jira/browse/OFBIZ-7014
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
Reporter: Wai


when creating a  or  to display a listing. the 
first entry is alway empty

Use this sample form to see the symptom:













  
  






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-7013) party search form does not properly collapse sections when none|postal|telecom|other selected

2016-04-16 Thread Wai (JIRA)
Wai created OFBIZ-7013:
--

 Summary: party search form does not properly collapse sections 
when none|postal|telecom|other selected
 Key: OFBIZ-7013
 URL: https://issues.apache.org/jira/browse/OFBIZ-7013
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: Trunk
Reporter: Wai


go to: /partymgr/control/findparty
click on either none, postal, telecom,other radiobutton.
notice that after clicking on another radiobutton, the section that was 
previously expanded is not automatically collapsed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6997) code correction for service=findContentParents

2016-04-08 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6997:
---
Attachment: OFBIZ-6997.patch

> code correction for service=findContentParents
> --
>
> Key: OFBIZ-6997
> URL: https://issues.apache.org/jira/browse/OFBIZ-6997
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-6997.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6997) code correction for service=findContentParents

2016-04-08 Thread Wai (JIRA)
Wai created OFBIZ-6997:
--

 Summary: code correction for service=findContentParents
 Key: OFBIZ-6997
 URL: https://issues.apache.org/jira/browse/OFBIZ-6997
 Project: OFBiz
  Issue Type: Bug
  Components: content
Affects Versions: Trunk
Reporter: Wai






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6979) All static variables should be revisited for multitenant operation

2016-04-03 Thread Wai (JIRA)
Wai created OFBIZ-6979:
--

 Summary: All static variables should be revisited for multitenant 
operation
 Key: OFBIZ-6979
 URL: https://issues.apache.org/jira/browse/OFBIZ-6979
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
Reporter: Wai


All classes containing static variables should be revisited to make sure they 
do not present a problem when ofbiz if operating in multitenant mode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-6973) Flaw in content wrapper cache handling with encoderType

2016-04-01 Thread Wai (JIRA)

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

Wai edited comment on OFBIZ-6973 at 4/2/16 3:19 AM:


Since this cache is a static variable in ProductPromoContentWrapper, 
ProductContentWrapper
ProductConfigItemContentWrapper, CategoryContentWrapper, OrderContentWrapper. I 
think it would be useful to include the tenantId as well.  Since in multitenant 
mode all tenants would be using the same cache.

Come to think of it, this should be applied to all classes that define a static 
UtilCache.

Pascal Proulx, Jacque Leroux:
Should I create a report for this?



was (Author: wt):
Since this cache is a static variable in ProductPromoContentWrapper, 
ProductContentWrapper
ProductConfigItemContentWrapper, CategoryContentWrapper, OrderContentWrapper. I 
think it would be useful to include the tenantId as well.  Since in multitenant 
mode all tenants would be using the same cache.

Come to think of it, this should be applied to all classes that define a static 
UtilCache.

Jacque Leroux:
Should I create a report for this?


> Flaw in content wrapper cache handling with encoderType
> ---
>
> Key: OFBIZ-6973
> URL: https://issues.apache.org/jira/browse/OFBIZ-6973
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Release Branch 14.12
>Reporter: P Proulx
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, Upcoming Branch, 15.12.01
>
>
> In Ofbiz 14.12 branch there is a flaw in the patches added in ticket
> https://issues.apache.org/jira/browse/OFBIZ-6669
> In ProductContentWrapper#getProductContentAsText and all similar content 
> wrappers using a cache, the cacheKey does not include the new encoderType:
> {code}
> String cacheKey = productContentTypeId + SEPARATOR + locale + 
> SEPARATOR + mimeTypeId + SEPARATOR + product.get("productId");
> {code}
> This makes it possible for subsequent calls on the same wrapper using 
> different encoderTypes to return content having the wrong encoding and create 
> potential security flaws.
> The key should include the encoderType:
> {code}
> String cacheKey = productContentTypeId + SEPARATOR + locale + 
> SEPARATOR + mimeTypeId + SEPARATOR + product.get("productId")  + SEPARATOR + 
> encoderType;
> {code}
> I leave you to find all the occurrences.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-6973) Flaw in content wrapper cache handling with encoderType

2016-04-01 Thread Wai (JIRA)

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

Wai edited comment on OFBIZ-6973 at 4/2/16 3:18 AM:


Since this cache is a static variable in ProductPromoContentWrapper, 
ProductContentWrapper
ProductConfigItemContentWrapper, CategoryContentWrapper, OrderContentWrapper. I 
think it would be useful to include the tenantId as well.  Since in multitenant 
mode all tenants would be using the same cache.

Come to think of it, this should be applied to all classes that define a static 
UtilCache.

Jacque Leroux:
Should I create a report for this?



was (Author: wt):
Since this cache is a static variable in ProductPromoContentWrapper, 
ProductContentWrapper
ProductConfigItemContentWrapper, CategoryContentWrapper, OrderContentWrapper. I 
think it would be useful to include the tenantId as well.  Since in multitenant 
mode all tenants would be using the same cache.


> Flaw in content wrapper cache handling with encoderType
> ---
>
> Key: OFBIZ-6973
> URL: https://issues.apache.org/jira/browse/OFBIZ-6973
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Release Branch 14.12
>Reporter: P Proulx
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, Upcoming Branch, 15.12.01
>
>
> In Ofbiz 14.12 branch there is a flaw in the patches added in ticket
> https://issues.apache.org/jira/browse/OFBIZ-6669
> In ProductContentWrapper#getProductContentAsText and all similar content 
> wrappers using a cache, the cacheKey does not include the new encoderType:
> {code}
> String cacheKey = productContentTypeId + SEPARATOR + locale + 
> SEPARATOR + mimeTypeId + SEPARATOR + product.get("productId");
> {code}
> This makes it possible for subsequent calls on the same wrapper using 
> different encoderTypes to return content having the wrong encoding and create 
> potential security flaws.
> The key should include the encoderType:
> {code}
> String cacheKey = productContentTypeId + SEPARATOR + locale + 
> SEPARATOR + mimeTypeId + SEPARATOR + product.get("productId")  + SEPARATOR + 
> encoderType;
> {code}
> I leave you to find all the occurrences.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-6973) Flaw in content wrapper cache handling with encoderType

2016-04-01 Thread Wai (JIRA)

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

Wai edited comment on OFBIZ-6973 at 4/2/16 3:14 AM:


Since this cache is a static variable in ProductPromoContentWrapper, 
ProductContentWrapper
ProductConfigItemContentWrapper, CategoryContentWrapper, OrderContentWrapper. I 
think it would be useful to include the tenantId as well.  Since in multitenant 
mode all tenants would be using the same cache.



was (Author: wt):
Since this cache is a static variable in ProductPromoContentWrapper. I think it 
would be useful to include the tenantId as well.  Since in multitenant mode all 
tenants would be using the same cache.

> Flaw in content wrapper cache handling with encoderType
> ---
>
> Key: OFBIZ-6973
> URL: https://issues.apache.org/jira/browse/OFBIZ-6973
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Release Branch 14.12
>Reporter: P Proulx
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, Upcoming Branch, 15.12.01
>
>
> In Ofbiz 14.12 branch there is a flaw in the patches added in ticket
> https://issues.apache.org/jira/browse/OFBIZ-6669
> In ProductContentWrapper#getProductContentAsText and all similar content 
> wrappers using a cache, the cacheKey does not include the new encoderType:
> {code}
> String cacheKey = productContentTypeId + SEPARATOR + locale + 
> SEPARATOR + mimeTypeId + SEPARATOR + product.get("productId");
> {code}
> This makes it possible for subsequent calls on the same wrapper using 
> different encoderTypes to return content having the wrong encoding and create 
> potential security flaws.
> The key should include the encoderType:
> {code}
> String cacheKey = productContentTypeId + SEPARATOR + locale + 
> SEPARATOR + mimeTypeId + SEPARATOR + product.get("productId")  + SEPARATOR + 
> encoderType;
> {code}
> I leave you to find all the occurrences.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6973) Flaw in content wrapper cache handling with encoderType

2016-04-01 Thread Wai (JIRA)

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

Wai commented on OFBIZ-6973:


Since this cache is a static variable in ProductPromoContentWrapper. I think it 
would be useful to include the tenantId as well.  Since in multitenant mode all 
tenants would be using the same cache.

> Flaw in content wrapper cache handling with encoderType
> ---
>
> Key: OFBIZ-6973
> URL: https://issues.apache.org/jira/browse/OFBIZ-6973
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Release Branch 14.12
>Reporter: P Proulx
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, Upcoming Branch, 15.12.01
>
>
> In Ofbiz 14.12 branch there is a flaw in the patches added in ticket
> https://issues.apache.org/jira/browse/OFBIZ-6669
> In ProductContentWrapper#getProductContentAsText and all similar content 
> wrappers using a cache, the cacheKey does not include the new encoderType:
> {code}
> String cacheKey = productContentTypeId + SEPARATOR + locale + 
> SEPARATOR + mimeTypeId + SEPARATOR + product.get("productId");
> {code}
> This makes it possible for subsequent calls on the same wrapper using 
> different encoderTypes to return content having the wrong encoding and create 
> potential security flaws.
> The key should include the encoderType:
> {code}
> String cacheKey = productContentTypeId + SEPARATOR + locale + 
> SEPARATOR + mimeTypeId + SEPARATOR + product.get("productId")  + SEPARATOR + 
> encoderType;
> {code}
> I leave you to find all the occurrences.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6846) party image not shown after upload. eg. page not refreshed

2016-01-22 Thread Wai (JIRA)

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

Wai commented on OFBIZ-6846:


You're right. closing.

> party image not shown after upload. eg. page not refreshed
> --
>
> Key: OFBIZ-6846
> URL: https://issues.apache.org/jira/browse/OFBIZ-6846
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Wai
>
> use this link. 
> https://localhost:8443/partymgr/control/viewprofile?partyId=DemoCustomer
> select 'logo  image'.
> select 'isPublic=Y'
> -after upload, notice the page is not refreshed. as a result, the image is 
> not shown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6846) party image not shown after upload. eg. page not refreshed

2016-01-22 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-6846.
--
Resolution: Duplicate

> party image not shown after upload. eg. page not refreshed
> --
>
> Key: OFBIZ-6846
> URL: https://issues.apache.org/jira/browse/OFBIZ-6846
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Wai
>
> use this link. 
> https://localhost:8443/partymgr/control/viewprofile?partyId=DemoCustomer
> select 'logo  image'.
> select 'isPublic=Y'
> -after upload, notice the page is not refreshed. as a result, the image is 
> not shown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6846) party image not shown after upload. eg. page not refreshed

2016-01-20 Thread Wai (JIRA)
Wai created OFBIZ-6846:
--

 Summary: party image not shown after upload. eg. page not refreshed
 Key: OFBIZ-6846
 URL: https://issues.apache.org/jira/browse/OFBIZ-6846
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: Trunk
Reporter: Wai


use this link. 
https://localhost:8443/partymgr/control/viewprofile?partyId=DemoCustomer
select 'logo  image'.
select 'isPublic=Y'
-after upload, notice the page is not refreshed. as a result, the image is not 
shown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6789) image management cannot share images

2016-01-06 Thread Wai (JIRA)
Wai created OFBIZ-6789:
--

 Summary: image management cannot share images
 Key: OFBIZ-6789
 URL: https://issues.apache.org/jira/browse/OFBIZ-6789
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Wai


-go to https://localhost:8443/catalog/control/Imagemanagement
-upload an image for a product
-go to https://localhost:8443/catalog/control/ListImageGallery
-select the product in question
-notice that clicking the 'share' button does nothing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6786) link does not invoke jquery dialog when clicked

2016-01-02 Thread Wai (JIRA)
Wai created OFBIZ-6786:
--

 Summary: link does not invoke jquery dialog when clicked
 Key: OFBIZ-6786
 URL: https://issues.apache.org/jira/browse/OFBIZ-6786
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Wai


-use demo database.
-go to 
http://demo-trunk-ofbiz.apache.org/example/control/authview/findExampleAjax
-click on link cell.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6700) Added some text for French language in ProductEntityLabels.xml, no functional change

2015-10-23 Thread Wai (JIRA)
Wai created OFBIZ-6700:
--

 Summary: Added some text for French language in 
ProductEntityLabels.xml, no functional change
 Key: OFBIZ-6700
 URL: https://issues.apache.org/jira/browse/OFBIZ-6700
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Wai


To the native French speaker, please review the translations to make sure that 
the diction is correct.
Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6700) Added some text for French language in ProductEntityLabels.xml, no functional change

2015-10-23 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6700:
---
Attachment: OFBIZ-6700.patch

> Added some text for French language in ProductEntityLabels.xml, no functional 
> change
> 
>
> Key: OFBIZ-6700
> URL: https://issues.apache.org/jira/browse/OFBIZ-6700
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-6700.patch
>
>
> To the native French speaker, please review the translations to make sure 
> that the diction is correct.
> Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6665) ecommerce screen exception

2015-10-09 Thread Wai (JIRA)
Wai created OFBIZ-6665:
--

 Summary: ecommerce screen exception
 Key: OFBIZ-6665
 URL: https://issues.apache.org/jira/browse/OFBIZ-6665
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Trunk
Reporter: Wai


Try this. http://localhost:8080/ecommerce/scanning-book-product-CFSV1001-p

console output...

2015-10-09 12:39:04,778 |http-bio-8080-exec-7 |ServiceDispatcher 
|T| Sync service [ecommerce/getProductFeatures] finished in [1] milliseconds
2015-10-09 12:39:04,789 |http-bio-8080-exec-7 |ServiceDispatcher 
|T| [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'ecommerce 
/ countProductView'
2015-10-09 12:39:04,789 |http-bio-8080-exec-7 |ServiceDispatcher 
|T| [[ASync service finished...- total:0.0,since last(ASync service 
sta...):0.0]] - 'ecommerce / countProductView'
2015-10-09 12:39:04,914 |http-bio-8080-exec-7 |ProductConfigWorker   
|I| New configId created:null
2015-10-09 12:39:04,964 |http-bio-8080-exec-7 |runtime   
|E| Error executing FreeMarker template
freemarker.core._TemplateModelException: Java method 
"org.ofbiz.product.config.ProductConfigItemContentWrapper.get(String)" takes 1 
argument, but 2 was given.


FTL stack trace ("~" means nesting-related):
- Failed at: #assign image = question.content.get(...  [in template 
"component://ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl" at 
line 464, column 17]

at 
freemarker.ext.beans.SimpleMethod.unwrapArguments(SimpleMethod.java:67) 
~[freemarker-2.3.22.jar:2.3.22]
at 
freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:72) 
~[freemarker-2.3.22.jar:2.3.22]
at freemarker.core.MethodCall._eval(MethodCall.java:62) 
~[freemarker-2.3.22.jar:2.3.22]
at freemarker.core.Expression.eval(Expression.java:78) 
~[freemarker-2.3.22.jar:2.3.22]
at 
freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:80) 
~[freemarker-2.3.22.jar:2.3.22]
at freemarker.core.Expression.eval(Expression.java:78) 
~[freemarker-2.3.22.jar:2.3.22]




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6627) multiple select dropdown listbox shows only one entry

2015-09-18 Thread Wai (JIRA)
Wai created OFBIZ-6627:
--

 Summary: multiple select dropdown listbox shows only one entry
 Key: OFBIZ-6627
 URL: https://issues.apache.org/jira/browse/OFBIZ-6627
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Wai


Use this link https://localhost:8443/ordermgr/control/FindRequest
Notice the customer request type id, status id, etc




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6600) Scrum total billing cause exception

2015-09-08 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-6600.
--
Resolution: Fixed

The patch works. Thanks Pierre.

> Scrum total billing cause exception
> ---
>
> Key: OFBIZ-6600
> URL: https://issues.apache.org/jira/browse/OFBIZ-6600
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/scrum
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Pierre Smits
> Attachments: OFBIZ-6600-ProductBilling.groovy.patch
>
>
> Use this link
> https://localhost:8443/scrum/control/TotalBilling



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6599) Scrum backlog status chart show errors

2015-09-03 Thread Wai (JIRA)
Wai created OFBIZ-6599:
--

 Summary: Scrum backlog status chart show errors
 Key: OFBIZ-6599
 URL: https://issues.apache.org/jira/browse/OFBIZ-6599
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/scrum
Affects Versions: Trunk
Reporter: Wai


Use this link
https://localhost:8443/scrum/control/ViewProduct?productId=DEMO-PRODUCT-1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6599) Scrum backlog status chart show errors

2015-09-03 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6599:
---
Description: 
Use this link
https://localhost:8443/scrum/control/ViewProduct?productId=DEMO-PRODUCT-1
Also found errors on screen via...
https://localhost:8443/scrum/control/ProductStatistics

  was:
Use this link
https://localhost:8443/scrum/control/ViewProduct?productId=DEMO-PRODUCT-1


> Scrum backlog status chart show errors
> --
>
> Key: OFBIZ-6599
> URL: https://issues.apache.org/jira/browse/OFBIZ-6599
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/scrum
>Affects Versions: Trunk
>Reporter: Wai
>
> Use this link
> https://localhost:8443/scrum/control/ViewProduct?productId=DEMO-PRODUCT-1
> Also found errors on screen via...
> https://localhost:8443/scrum/control/ProductStatistics



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6600) Scrum total billing cause exception

2015-09-03 Thread Wai (JIRA)
Wai created OFBIZ-6600:
--

 Summary: Scrum total billing cause exception
 Key: OFBIZ-6600
 URL: https://issues.apache.org/jira/browse/OFBIZ-6600
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/scrum
Affects Versions: Trunk
Reporter: Wai


Use this link
https://localhost:8443/scrum/control/TotalBilling



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6601) example component causes exceptions

2015-09-03 Thread Wai (JIRA)
Wai created OFBIZ-6601:
--

 Summary: example component causes exceptions
 Key: OFBIZ-6601
 URL: https://issues.apache.org/jira/browse/OFBIZ-6601
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/example
Affects Versions: Trunk
 Environment: Try this link
https://localhost:8443/exampleext/control/EditExample?exampleId=EX02
Reporter: Wai






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6591) ofbiz does not compile

2015-08-31 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6591:
---
Attachment: OFBIZ-6591.patch

> ofbiz does not compile
> --
>
> Key: OFBIZ-6591
> URL: https://issues.apache.org/jira/browse/OFBIZ-6591
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-6591.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6591) ofbiz does not compile

2015-08-31 Thread Wai (JIRA)
Wai created OFBIZ-6591:
--

 Summary: ofbiz does not compile
 Key: OFBIZ-6591
 URL: https://issues.apache.org/jira/browse/OFBIZ-6591
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Trunk
Reporter: Wai
 Attachments: OFBIZ-6591.patch





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6590) Cannot assign a product to a category

2015-08-29 Thread Wai (JIRA)
Wai created OFBIZ-6590:
--

 Summary: Cannot assign a product to a category
 Key: OFBIZ-6590
 URL: https://issues.apache.org/jira/browse/OFBIZ-6590
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Wai


Use this link: 
https://localhost:8443/catalog/control/EditProductCategories?productId=CFSV1001
-try adding this product to a category
-an exception happens

Console output
--
2015-08-29 17:06:42,171 |ttp-bio-8443-exec-11 |Log   
|I| [CategoryServices.xml#checkCategoryRelatedPermission line 736] Checking 
category permission, roleCategories=
2015-08-29 17:06:42,172 |ttp-bio-8443-exec-11 |ServiceDispatcher 
|T| Sync service [catalog/productCategoryGenericPermission] finished in [56] 
milliseconds
2015-08-29 17:06:42,179 |ttp-bio-8443-exec-11 |ServiceDispatcher 
|T| Sync service [catalog/checkCategoryPermissionWithViewPurchaseAllow] 
finished in [125] milliseconds
2015-08-29 17:06:42,180 |ttp-bio-8443-exec-11 |ServiceDispatcher 
|E| Incoming context (in runSync : safeAddProductToCategory) does not match 
expected requirements
org.ofbiz.service.ServiceValidationException: The following required parameter 
is missing: [safeAddProductToCategory.fromDate]
at org.ofbiz.service.ModelService.validate(ModelService.java:551) 
~[ofbiz-service.jar:?]
at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:376) 
[ofbiz-service.jar:?]
at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
[ofbiz-service.jar:?]
at 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
 [ofbiz-service.jar:?]
at 
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:340) 
[ofbiz-webapp.jar:?]
at 
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:781) 
[ofbiz-webapp.jar:?]
at 
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:490) 
[ofbiz-webapp.jar:?]




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6589) popup calendar does not work in all themes

2015-08-29 Thread Wai (JIRA)
Wai created OFBIZ-6589:
--

 Summary: popup calendar does not work in all themes
 Key: OFBIZ-6589
 URL: https://issues.apache.org/jira/browse/OFBIZ-6589
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Wai






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6583) simple coding cleanup

2015-08-27 Thread Wai (JIRA)
Wai created OFBIZ-6583:
--

 Summary: simple coding cleanup
 Key: OFBIZ-6583
 URL: https://issues.apache.org/jira/browse/OFBIZ-6583
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Trunk
Reporter: Wai


Code cleanup



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6583) simple coding cleanup

2015-08-27 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6583:
---
Attachment: OFBIZ-6583.patch

 simple coding cleanup
 -

 Key: OFBIZ-6583
 URL: https://issues.apache.org/jira/browse/OFBIZ-6583
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Trunk
Reporter: Wai
 Attachments: OFBIZ-6583.patch


 Code cleanup



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6555) errors and warning after load-extseed and running ofbiz

2015-08-26 Thread Wai (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14715947#comment-14715947
 ] 

Wai commented on OFBIZ-6555:


I logged this issue against the trunk. I do not know if it applies to prior 
versions.

 errors and warning after load-extseed and running ofbiz
 ---

 Key: OFBIZ-6555
 URL: https://issues.apache.org/jira/browse/OFBIZ-6555
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai
Assignee: Shi Jinghai
 Fix For: Upcoming Branch


 After running $ ant load-extseed
 The error.log file contains the following:
 {code}
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
 ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
 field: issuedDateTime
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could 
 not find ModelField for field name issuedDateTime on entity with name: 
 ItemIssuanceQuantitySum
 2015-07-09 14:23:09,750 |OFBiz-batch-3|DatabaseUtil  
 |E| Error adding foreign key: ModelEntity was null for related entity name 
 Tenant
 The ofbiz.log contains the following note worthy errors and warnings:
 2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
 |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: rawEncryptedValue
 2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
 |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: rawSaltedEncryptedValue
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOrdered
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOpen
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
 ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
 field: issuedDateTime
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could 
 not find ModelField for field name issuedDateTime on entity with name: 
 ItemIssuanceQuantitySum
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: quantityOrdered
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: quantityOpen
 2015-07-09 14:19:24,435 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderReportSalesGroupByProduct]: Conversion for complex-alias needs to 
 be implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: quantityOrdered
 2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOrdered
 2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: totQuantityAvailable
 2015-07-09 14:19:24,446 |delegator-startup-1  |ModelViewEntity   
 |W| [ProjectPhaseTaskActualRatedHoursView]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: totalRatedHours
 2015-07-09 14:19:24,453 |delegator-startup-1  |ModelViewEntity   
 |W| [ExampleStatusDetail]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly

[jira] [Commented] (OFBIZ-6569) popup calendar icon missing and dialog is transparent in flat grey theme

2015-08-16 Thread Wai (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14698919#comment-14698919
 ] 

Wai commented on OFBIZ-6569:


It works. Thanks Shi.


 popup calendar icon missing and dialog is transparent in flat grey theme
 

 Key: OFBIZ-6569
 URL: https://issues.apache.org/jira/browse/OFBIZ-6569
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk, Upcoming Branch
Reporter: Wai
Assignee: Shi Jinghai





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6569) popup calendar icon missing and dialog is transparent in flat grey theme

2015-08-16 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-6569.
--
Resolution: Fixed

 popup calendar icon missing and dialog is transparent in flat grey theme
 

 Key: OFBIZ-6569
 URL: https://issues.apache.org/jira/browse/OFBIZ-6569
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk, Upcoming Branch
Reporter: Wai
Assignee: Shi Jinghai





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6569) popup calendar icon missing and dialog is transparent in flat grey theme

2015-08-05 Thread Wai (JIRA)
Wai created OFBIZ-6569:
--

 Summary: popup calendar icon missing and dialog is transparent in 
flat grey theme
 Key: OFBIZ-6569
 URL: https://issues.apache.org/jira/browse/OFBIZ-6569
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Wai






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6555) errors and warning after load-extseed and running ofbiz

2015-07-24 Thread Wai (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14640717#comment-14640717
 ] 

Wai commented on OFBIZ-6555:


Thanks. Closing issue.

 errors and warning after load-extseed and running ofbiz
 ---

 Key: OFBIZ-6555
 URL: https://issues.apache.org/jira/browse/OFBIZ-6555
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai
Assignee: Shi Jinghai

 After running $ ant load-extseed
 The error.log file contains the following:
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
 ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
 field: issuedDateTime
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could 
 not find ModelField for field name issuedDateTime on entity with name: 
 ItemIssuanceQuantitySum
 2015-07-09 14:23:09,750 |OFBiz-batch-3|DatabaseUtil  
 |E| Error adding foreign key: ModelEntity was null for related entity name 
 Tenant
 The ofbiz.log contains the following note worthy errors and warnings:
 2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
 |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: rawEncryptedValue
 2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
 |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: rawSaltedEncryptedValue
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOrdered
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOpen
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
 ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
 field: issuedDateTime
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could 
 not find ModelField for field name issuedDateTime on entity with name: 
 ItemIssuanceQuantitySum
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: quantityOrdered
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: quantityOpen
 2015-07-09 14:19:24,435 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderReportSalesGroupByProduct]: Conversion for complex-alias needs to 
 be implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: quantityOrdered
 2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOrdered
 2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: totQuantityAvailable
 2015-07-09 14:19:24,446 |delegator-startup-1  |ModelViewEntity   
 |W| [ProjectPhaseTaskActualRatedHoursView]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: totalRatedHours
 2015-07-09 14:19:24,453 |delegator-startup-1  |ModelViewEntity   
 |W| [ExampleStatusDetail]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: statusDelay
 2015-07-09 14:19:24,484 |delegator-startup-1  |ModelReader

[jira] [Closed] (OFBIZ-6555) errors and warning after load-extseed and running ofbiz

2015-07-24 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-6555.
--
Resolution: Fixed

 errors and warning after load-extseed and running ofbiz
 ---

 Key: OFBIZ-6555
 URL: https://issues.apache.org/jira/browse/OFBIZ-6555
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai
Assignee: Shi Jinghai

 After running $ ant load-extseed
 The error.log file contains the following:
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
 ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
 field: issuedDateTime
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could 
 not find ModelField for field name issuedDateTime on entity with name: 
 ItemIssuanceQuantitySum
 2015-07-09 14:23:09,750 |OFBiz-batch-3|DatabaseUtil  
 |E| Error adding foreign key: ModelEntity was null for related entity name 
 Tenant
 The ofbiz.log contains the following note worthy errors and warnings:
 2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
 |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: rawEncryptedValue
 2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
 |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: rawSaltedEncryptedValue
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOrdered
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOpen
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
 ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
 field: issuedDateTime
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could 
 not find ModelField for field name issuedDateTime on entity with name: 
 ItemIssuanceQuantitySum
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: quantityOrdered
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: quantityOpen
 2015-07-09 14:19:24,435 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderReportSalesGroupByProduct]: Conversion for complex-alias needs to 
 be implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: quantityOrdered
 2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOrdered
 2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: totQuantityAvailable
 2015-07-09 14:19:24,446 |delegator-startup-1  |ModelViewEntity   
 |W| [ProjectPhaseTaskActualRatedHoursView]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: totalRatedHours
 2015-07-09 14:19:24,453 |delegator-startup-1  |ModelViewEntity   
 |W| [ExampleStatusDetail]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: statusDelay
 2015-07-09 14:19:24,484 |delegator-startup-1  |ModelReader   
 |I| Finished loading entities; #Entities=878 #ViewEntities

[jira] [Created] (OFBIZ-6555) ant load-extseed show some errors and warnings

2015-07-09 Thread Wai (JIRA)
Wai created OFBIZ-6555:
--

 Summary: ant load-extseed show some errors and warnings
 Key: OFBIZ-6555
 URL: https://issues.apache.org/jira/browse/OFBIZ-6555
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai


After running $ ant load-extseed
The error.log file contains the following:

2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
field: issuedDateTime
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could not 
find ModelField for field name issuedDateTime on entity with name: 
ItemIssuanceQuantitySum
2015-07-09 14:23:09,750 |OFBiz-batch-3|DatabaseUtil  
|E| Error adding foreign key: ModelEntity was null for related entity name 
Tenant

The ofbiz.log contains the following note worthy errors and warnings:

2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
|W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will not work 
for alias: rawEncryptedValue
2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
|W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will not work 
for alias: rawSaltedEncryptedValue
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to 
be implemented for cache and in-memory eval stuff to work correctly, will not 
work for alias: quantityOrdered
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to 
be implemented for cache and in-memory eval stuff to work correctly, will not 
work for alias: quantityOpen
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
field: issuedDateTime
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could not 
find ModelField for field name issuedDateTime on entity with name: 
ItemIssuanceQuantitySum
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOrdered
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOpen
2015-07-09 14:19:24,435 |delegator-startup-1  |ModelViewEntity   
|W| [OrderReportSalesGroupByProduct]: Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will not work 
for alias: quantityOrdered
2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOrdered
2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: totQuantityAvailable
2015-07-09 14:19:24,446 |delegator-startup-1  |ModelViewEntity   
|W| [ProjectPhaseTaskActualRatedHoursView]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: totalRatedHours
2015-07-09 14:19:24,453 |delegator-startup-1  |ModelViewEntity   
|W| [ExampleStatusDetail]: Conversion for complex-alias needs to be implemented 
for cache and in-memory eval stuff to work correctly, will not work for alias: 
statusDelay
2015-07-09 14:19:24,484 |delegator-startup-1  |ModelReader   
|I| Finished loading entities; #Entities=878 #ViewEntities=310 #Fields=9170 
#Relationships=2981 #AutoRelationships=2196
2015-07-09 14:19:24,497 |delegator-startup-1  |GenericDelegator  
|I| Doing entity definition check...
2015-07-09 14:19:24,500 |delegator-startup-1  |ModelEntityChecker
|I| [initReservedWords] array

[jira] [Commented] (OFBIZ-6553) ant load-extseed cause exception

2015-07-09 Thread Wai (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14620953#comment-14620953
 ] 

Wai commented on OFBIZ-6553:


Looks good. Closing issue. Thanks

 ant load-extseed cause exception
 

 Key: OFBIZ-6553
 URL: https://issues.apache.org/jira/browse/OFBIZ-6553
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai
Assignee: Shi Jinghai

 $ ant load-extseed on a fresh database
  [java] 2015-07-07 16:15:06,249 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Finished 3 values from 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2CommonSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Beginning import from URL: 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2LinkedInSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,309 |main |GenericDelegator   
|E| Failure in create operation for entity [ThirdPartyLogin]: 
 org.ofbiz.entity.GenericEntityException: Error while inserting: 
 [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
 00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
  (SQL Exception while executing the following:INSERT INTO 
 public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
 LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login 
 violates foreign key constraint prod_store_logins
  [java]   Detail: Key (product_store_id)=(9000) is not present in table 
 product_store.)). Rolling back transaction.
  [java] 2015-07-07 16:15:06,309 |main |TransactionUtil
|W| Calling transaction setRollbackOnly; this stack trace shows 
 where this is happening:
  [java] java.lang.Exception: Failure in create operation for entity 
 [ThirdPartyLogin]: org.ofbiz.entity.GenericEntityException: Error while 
 inserting: [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
 00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
  (SQL Exception while executing the following:INSERT INTO 
 public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
 LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login 
 violates foreign key constraint prod_store_logins
  [java]   Detail: Key (product_store_id)=(9000) is not present in table 
 product_store.)). Rolling back transaction.
  [java]   at 
 org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:374)
  [ofbiz-entity.jar:?]
  [java]   at 
 org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:313)
  [ofbiz-entity.jar:?]
  [java]   at 
 org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:925) 
 [ofbiz-entity.jar:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6553) ant load-extseed cause exception

2015-07-09 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-6553.
--
Resolution: Fixed

 ant load-extseed cause exception
 

 Key: OFBIZ-6553
 URL: https://issues.apache.org/jira/browse/OFBIZ-6553
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai
Assignee: Shi Jinghai

 $ ant load-extseed on a fresh database
  [java] 2015-07-07 16:15:06,249 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Finished 3 values from 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2CommonSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Beginning import from URL: 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2LinkedInSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,309 |main |GenericDelegator   
|E| Failure in create operation for entity [ThirdPartyLogin]: 
 org.ofbiz.entity.GenericEntityException: Error while inserting: 
 [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
 00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
  (SQL Exception while executing the following:INSERT INTO 
 public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
 LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login 
 violates foreign key constraint prod_store_logins
  [java]   Detail: Key (product_store_id)=(9000) is not present in table 
 product_store.)). Rolling back transaction.
  [java] 2015-07-07 16:15:06,309 |main |TransactionUtil
|W| Calling transaction setRollbackOnly; this stack trace shows 
 where this is happening:
  [java] java.lang.Exception: Failure in create operation for entity 
 [ThirdPartyLogin]: org.ofbiz.entity.GenericEntityException: Error while 
 inserting: [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
 00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
  (SQL Exception while executing the following:INSERT INTO 
 public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
 LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login 
 violates foreign key constraint prod_store_logins
  [java]   Detail: Key (product_store_id)=(9000) is not present in table 
 product_store.)). Rolling back transaction.
  [java]   at 
 org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:374)
  [ofbiz-entity.jar:?]
  [java]   at 
 org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:313)
  [ofbiz-entity.jar:?]
  [java]   at 
 org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:925) 
 [ofbiz-entity.jar:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6555) ant load-extseed show some errors and warnings

2015-07-09 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6555:
---
Description: 
After running $ ant load-extseed
The error.log file contains the following:

2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
field: issuedDateTime
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could not 
find ModelField for field name issuedDateTime on entity with name: 
ItemIssuanceQuantitySum
2015-07-09 14:23:09,750 |OFBiz-batch-3|DatabaseUtil  
|E| Error adding foreign key: ModelEntity was null for related entity name 
Tenant

The ofbiz.log contains the following note worthy errors and warnings:

2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
|W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will not work 
for alias: rawEncryptedValue
2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
|W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will not work 
for alias: rawSaltedEncryptedValue
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to 
be implemented for cache and in-memory eval stuff to work correctly, will not 
work for alias: quantityOrdered
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to 
be implemented for cache and in-memory eval stuff to work correctly, will not 
work for alias: quantityOpen
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
field: issuedDateTime
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could not 
find ModelField for field name issuedDateTime on entity with name: 
ItemIssuanceQuantitySum
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOrdered
2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOpen
2015-07-09 14:19:24,435 |delegator-startup-1  |ModelViewEntity   
|W| [OrderReportSalesGroupByProduct]: Conversion for complex-alias needs to be 
implemented for cache and in-memory eval stuff to work correctly, will not work 
for alias: quantityOrdered
2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: quantityOrdered
2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
|W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: totQuantityAvailable
2015-07-09 14:19:24,446 |delegator-startup-1  |ModelViewEntity   
|W| [ProjectPhaseTaskActualRatedHoursView]: Conversion for complex-alias needs 
to be implemented for cache and in-memory eval stuff to work correctly, will 
not work for alias: totalRatedHours
2015-07-09 14:19:24,453 |delegator-startup-1  |ModelViewEntity   
|W| [ExampleStatusDetail]: Conversion for complex-alias needs to be implemented 
for cache and in-memory eval stuff to work correctly, will not work for alias: 
statusDelay
2015-07-09 14:19:24,484 |delegator-startup-1  |ModelReader   
|I| Finished loading entities; #Entities=878 #ViewEntities=310 #Fields=9170 
#Relationships=2981 #AutoRelationships=2196
2015-07-09 14:19:24,497 |delegator-startup-1  |GenericDelegator  
|I| Doing entity definition check...
2015-07-09 14:19:24,500 |delegator-startup-1  |ModelEntityChecker
|I| [initReservedWords] array length = 1025
2015-07-09 14:19:24,602 |OFBiz-batch-1|GenericDelegator  
|I| Delegator default

[jira] [Updated] (OFBIZ-6555) errors and warning after load-extseed and running ofbiz

2015-07-09 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6555:
---
Summary: errors and warning after load-extseed and running ofbiz  (was: ant 
load-extseed show some errors and warnings)

 errors and warning after load-extseed and running ofbiz
 ---

 Key: OFBIZ-6555
 URL: https://issues.apache.org/jira/browse/OFBIZ-6555
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai

 After running $ ant load-extseed
 The error.log file contains the following:
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
 ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
 field: issuedDateTime
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could 
 not find ModelField for field name issuedDateTime on entity with name: 
 ItemIssuanceQuantitySum
 2015-07-09 14:23:09,750 |OFBiz-batch-3|DatabaseUtil  
 |E| Error adding foreign key: ModelEntity was null for related entity name 
 Tenant
 The ofbiz.log contains the following note worthy errors and warnings:
 2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
 |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: rawEncryptedValue
 2015-07-09 14:19:24,348 |delegator-startup-1  |ModelViewEntity   
 |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: rawSaltedEncryptedValue
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOrdered
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOpen
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] 
 ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and 
 field: issuedDateTime
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could 
 not find ModelField for field name issuedDateTime on entity with name: 
 ItemIssuanceQuantitySum
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: quantityOrdered
 2015-07-09 14:19:24,432 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: quantityOpen
 2015-07-09 14:19:24,435 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderReportSalesGroupByProduct]: Conversion for complex-alias needs to 
 be implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: quantityOrdered
 2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: quantityOrdered
 2015-07-09 14:19:24,438 |delegator-startup-1  |ModelViewEntity   
 |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs 
 to be implemented for cache and in-memory eval stuff to work correctly, will 
 not work for alias: totQuantityAvailable
 2015-07-09 14:19:24,446 |delegator-startup-1  |ModelViewEntity   
 |W| [ProjectPhaseTaskActualRatedHoursView]: Conversion for complex-alias 
 needs to be implemented for cache and in-memory eval stuff to work correctly, 
 will not work for alias: totalRatedHours
 2015-07-09 14:19:24,453 |delegator-startup-1  |ModelViewEntity   
 |W| [ExampleStatusDetail]: Conversion for complex-alias needs to be 
 implemented for cache and in-memory eval stuff to work correctly, will not 
 work for alias: statusDelay
 2015-07-09 14:19:24,484 |delegator-startup-1  |ModelReader

[jira] [Closed] (OFBIZ-6553) ant load-extseed cause exception

2015-07-08 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-6553.
--
Resolution: Fixed

 ant load-extseed cause exception
 

 Key: OFBIZ-6553
 URL: https://issues.apache.org/jira/browse/OFBIZ-6553
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai
Assignee: Shi Jinghai

 $ ant load-extseed on a fresh database
  [java] 2015-07-07 16:15:06,249 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Finished 3 values from 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2CommonSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Beginning import from URL: 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2LinkedInSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,309 |main |GenericDelegator   
|E| Failure in create operation for entity [ThirdPartyLogin]: 
 org.ofbiz.entity.GenericEntityException: Error while inserting: 
 [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
 00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
  (SQL Exception while executing the following:INSERT INTO 
 public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
 LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login 
 violates foreign key constraint prod_store_logins
  [java]   Detail: Key (product_store_id)=(9000) is not present in table 
 product_store.)). Rolling back transaction.
  [java] 2015-07-07 16:15:06,309 |main |TransactionUtil
|W| Calling transaction setRollbackOnly; this stack trace shows 
 where this is happening:
  [java] java.lang.Exception: Failure in create operation for entity 
 [ThirdPartyLogin]: org.ofbiz.entity.GenericEntityException: Error while 
 inserting: [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
 00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
  (SQL Exception while executing the following:INSERT INTO 
 public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
 LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login 
 violates foreign key constraint prod_store_logins
  [java]   Detail: Key (product_store_id)=(9000) is not present in table 
 product_store.)). Rolling back transaction.
  [java]   at 
 org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:374)
  [ofbiz-entity.jar:?]
  [java]   at 
 org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:313)
  [ofbiz-entity.jar:?]
  [java]   at 
 org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:925) 
 [ofbiz-entity.jar:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6553) ant load-extseed cause exception

2015-07-08 Thread Wai (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14618538#comment-14618538
 ] 

Wai commented on OFBIZ-6553:


Thanks for the fix. Closing the issue.

 ant load-extseed cause exception
 

 Key: OFBIZ-6553
 URL: https://issues.apache.org/jira/browse/OFBIZ-6553
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai
Assignee: Shi Jinghai

 $ ant load-extseed on a fresh database
  [java] 2015-07-07 16:15:06,249 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Finished 3 values from 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2CommonSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Beginning import from URL: 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2LinkedInSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,309 |main |GenericDelegator   
|E| Failure in create operation for entity [ThirdPartyLogin]: 
 org.ofbiz.entity.GenericEntityException: Error while inserting: 
 [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
 00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
  (SQL Exception while executing the following:INSERT INTO 
 public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
 LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login 
 violates foreign key constraint prod_store_logins
  [java]   Detail: Key (product_store_id)=(9000) is not present in table 
 product_store.)). Rolling back transaction.
  [java] 2015-07-07 16:15:06,309 |main |TransactionUtil
|W| Calling transaction setRollbackOnly; this stack trace shows 
 where this is happening:
  [java] java.lang.Exception: Failure in create operation for entity 
 [ThirdPartyLogin]: org.ofbiz.entity.GenericEntityException: Error while 
 inserting: [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
 00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
  (SQL Exception while executing the following:INSERT INTO 
 public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
 LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login 
 violates foreign key constraint prod_store_logins
  [java]   Detail: Key (product_store_id)=(9000) is not present in table 
 product_store.)). Rolling back transaction.
  [java]   at 
 org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:374)
  [ofbiz-entity.jar:?]
  [java]   at 
 org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:313)
  [ofbiz-entity.jar:?]
  [java]   at 
 org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:925) 
 [ofbiz-entity.jar:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6550) expand all/collapse all does not work

2015-07-08 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-6550.
--
Resolution: Fixed

 expand all/collapse all does not work
 -

 Key: OFBIZ-6550
 URL: https://issues.apache.org/jira/browse/OFBIZ-6550
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
Reporter: Wai

 go to https://localhost:8443/catalog/control/EditProduct?productId=GZ-1006-1
 click on 'expand all' button...does not work
 click on 'collapse all' button.does not work



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OFBIZ-6553) ant load-extseed cause exception

2015-07-08 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai reopened OFBIZ-6553:


After installing the seed data. I discovered some warning messages when ofbiz 
is run.
I'm using postgresql with character set utf8.

console output:

2015-07-08 19:29:07,345 |delegator-startup-1  |ModelReader   
|I| Finished loading entities; #Entities=878 #ViewEntities=323 #Fields=9170 
#Relationships=2982 #AutoRelationships=2197
2015-07-08 19:29:07,375 |delegator-startup-1  |GenericDelegator  
|I| Doing entity definition check...
2015-07-08 19:29:07,381 |delegator-startup-1  |ModelEntityChecker
|I| [initReservedWords] array length = 1025
2015-07-08 19:29:07,507 |delegator-startup-1  |GenericDelegator  
|W| =-=-=-=-= Found 4 warnings when checking the entity definitions:
2015-07-08 19:29:07,508 |delegator-startup-1  |GenericDelegator  
|W| [FieldNotUnique] Field [userLoginId of entity 
SecmgrSgrpAssignedUserMemberUsersView is not unique for that entity.
2015-07-08 19:29:07,508 |delegator-startup-1  |GenericDelegator  
|W| [RelFKNameGT18] The foreign key named LINKEDIN_USER_STORE (length:19) was 
greater than 18 characters in length for relation ProductStore of entity 
LinkedInUser.
2015-07-08 19:29:07,508 |delegator-startup-1  |GenericDelegator  
|W| [RelFKNameGT18] The foreign key named STORE_OAUTH_LINKEDIN (length:20) was 
greater than 18 characters in length for relation ProductStore of entity 
OAuth2LinkedIn.
2015-07-08 19:29:07,508 |delegator-startup-1  |GenericDelegator  
|W| [RelationNameNotUnique] Relation EnumerationType of entity ThirdPartyLogin 
is not unique for that entity.
2015-07-08 19:29:07,512 |OFBiz-batch-1|GenericDelegator  
|I| Delegator default initializing helper localposttenant for entity group 
org.ofbiz.tenant.
2015-07-08 19:29:07,512 |OFBiz-batch-2|GenericDelegator  
|I| Delegator default initializing helper localpostolap for entity group 
org.ofbiz.olap.
2015-07-08 19:29:07,516 |OFBiz-batch-3|GenericDelegator  
|I| Delegator default initializing helper localpostgres for entity group 
org.ofbiz.
2015-07-08 19:29:07,521 |OFBiz-batch-3|GenericDelegator  
|I| Doing database check as requested in entityengine.xml with addMissing=true
2015-07-08 19:29:07,521 |OFBiz-batch-1|GenericDelegator  
|I| Doing database check as requested in entityengine.xml with addMissing=true


 ant load-extseed cause exception
 

 Key: OFBIZ-6553
 URL: https://issues.apache.org/jira/browse/OFBIZ-6553
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai
Assignee: Shi Jinghai

 $ ant load-extseed on a fresh database
  [java] 2015-07-07 16:15:06,249 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Finished 3 values from 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2CommonSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Beginning import from URL: 
 file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2LinkedInSeedData.xml
  [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader
|I| Transaction Timeout set to 2 hours (7200 seconds)
  [java] 2015-07-07 16:15:06,309 |main |GenericDelegator   
|E| Failure in create operation for entity [ThirdPartyLogin]: 
 org.ofbiz.entity.GenericEntityException: Error while inserting: 
 [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
 00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
 16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
 16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
  (SQL Exception while executing the following:INSERT INTO 
 public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
 LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login 
 violates foreign key constraint prod_store_logins
  [java]   Detail: Key (product_store_id)=(9000) is not present in table 
 product_store.)). Rolling back transaction.
  [java] 2015-07-07 16:15:06,309 |main |TransactionUtil
|W| Calling transaction setRollbackOnly; this stack trace shows

[jira] [Commented] (OFBIZ-6548) setting new view size does not auto update screen.

2015-07-07 Thread Wai (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14617233#comment-14617233
 ] 

Wai commented on OFBIZ-6548:


Shi, thanks for looking into the issue.  I was using a postgresql when this 
report was created.
I reinstalled fresh demo data into ofbiz for postgresql and the issue does not 
happen anymore.
Perhaps it was stale data in my database related to themes that was causing the 
issue.
I'll close this issue.

 setting new view size does not auto update screen.
 --

 Key: OFBIZ-6548
 URL: https://issues.apache.org/jira/browse/OFBIZ-6548
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
 Environment: running on ubuntu 15.04
 java:
 Java version 1.8.0_31
 Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
 Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
 Using following browsers:
 Chromium v43.0.2357.81
 Firefox v38.0
Reporter: Wai
Assignee: Shi Jinghai

 Go to https://localhost:8443/catalog/control/EditFeatureTypes
 Select another value for 'items per page'.
 Notice the page does not refresh.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6548) setting new view size does not auto update screen.

2015-07-07 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai closed OFBIZ-6548.
--
Resolution: Not A Problem

 setting new view size does not auto update screen.
 --

 Key: OFBIZ-6548
 URL: https://issues.apache.org/jira/browse/OFBIZ-6548
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
 Environment: running on ubuntu 15.04
 java:
 Java version 1.8.0_31
 Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
 Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
 Using following browsers:
 Chromium v43.0.2357.81
 Firefox v38.0
Reporter: Wai
Assignee: Shi Jinghai

 Go to https://localhost:8443/catalog/control/EditFeatureTypes
 Select another value for 'items per page'.
 Notice the page does not refresh.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6553) ant load-extseed cause exception

2015-07-07 Thread Wai (JIRA)
Wai created OFBIZ-6553:
--

 Summary: ant load-extseed cause exception
 Key: OFBIZ-6553
 URL: https://issues.apache.org/jira/browse/OFBIZ-6553
 Project: OFBiz
  Issue Type: Bug
Reporter: Wai


$ ant load-extseed causes exception

 [java] 2015-07-07 16:15:06,249 |main |EntitySaxReader  
 |I| Transaction Timeout set to 2 hours (7200 seconds)
 [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader  
 |I| Finished 3 values from 
file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2CommonSeedData.xml
 [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader  
 |I| Beginning import from URL: 
file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2LinkedInSeedData.xml
 [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader  
 |I| Transaction Timeout set to 2 hours (7200 seconds)
 [java] 2015-07-07 16:15:06,309 |main |GenericDelegator 
 |E| Failure in create operation for entity [ThirdPartyLogin]: 
org.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO 
public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, 
?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login violates 
foreign key constraint prod_store_logins
 [java]   Detail: Key (product_store_id)=(9000) is not present in table 
product_store.)). Rolling back transaction.
 [java] 2015-07-07 16:15:06,309 |main |TransactionUtil  
 |W| Calling transaction setRollbackOnly; this stack trace shows where 
this is happening:
 [java] java.lang.Exception: Failure in create operation for entity 
[ThirdPartyLogin]: org.ofbiz.entity.GenericEntityException: Error while 
inserting: [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO 
public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, 
?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login violates 
foreign key constraint prod_store_logins
 [java]   Detail: Key (product_store_id)=(9000) is not present in table 
product_store.)). Rolling back transaction.
 [java] at 
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:374)
 [ofbiz-entity.jar:?]
 [java] at 
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:313) 
[ofbiz-entity.jar:?]
 [java] at 
org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:925) 
[ofbiz-entity.jar:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6553) ant load-extseed cause exception

2015-07-07 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6553:
---
Description: 

$ ant load-extseed on a fresh database

 [java] 2015-07-07 16:15:06,249 |main |EntitySaxReader  
 |I| Transaction Timeout set to 2 hours (7200 seconds)
 [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader  
 |I| Finished 3 values from 
file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2CommonSeedData.xml
 [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader  
 |I| Beginning import from URL: 
file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2LinkedInSeedData.xml
 [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader  
 |I| Transaction Timeout set to 2 hours (7200 seconds)
 [java] 2015-07-07 16:15:06,309 |main |GenericDelegator 
 |E| Failure in create operation for entity [ThirdPartyLogin]: 
org.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO 
public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, 
?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login violates 
foreign key constraint prod_store_logins
 [java]   Detail: Key (product_store_id)=(9000) is not present in table 
product_store.)). Rolling back transaction.
 [java] 2015-07-07 16:15:06,309 |main |TransactionUtil  
 |W| Calling transaction setRollbackOnly; this stack trace shows where 
this is happening:
 [java] java.lang.Exception: Failure in create operation for entity 
[ThirdPartyLogin]: org.ofbiz.entity.GenericEntityException: Error while 
inserting: [GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp)][lastUpdatedTxStamp,2015-07-07 
16:15:06.298(java.sql.Timestamp)][loginMethTypeId,OAuth2(java.lang.String)][loginProviderId,LinkedIn(java.lang.String)][productStoreId,9000(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO 
public.THIRD_PARTY_LOGIN (PRODUCT_STORE_ID, LOGIN_METH_TYPE_ID, 
LOGIN_PROVIDER_ID, FROM_DATE, THRU_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, 
?, ?, ?, ?, ?) (ERROR: insert or update on table third_party_login violates 
foreign key constraint prod_store_logins
 [java]   Detail: Key (product_store_id)=(9000) is not present in table 
product_store.)). Rolling back transaction.
 [java] at 
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:374)
 [ofbiz-entity.jar:?]
 [java] at 
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:313) 
[ofbiz-entity.jar:?]
 [java] at 
org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:925) 
[ofbiz-entity.jar:?]

  was:
$ ant load-extseed causes exception

 [java] 2015-07-07 16:15:06,249 |main |EntitySaxReader  
 |I| Transaction Timeout set to 2 hours (7200 seconds)
 [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader  
 |I| Finished 3 values from 
file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2CommonSeedData.xml
 [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader  
 |I| Beginning import from URL: 
file:/ofbiz-trunk/specialpurpose/passport/data/OAuth2LinkedInSeedData.xml
 [java] 2015-07-07 16:15:06,298 |main |EntitySaxReader  
 |I| Transaction Timeout set to 2 hours (7200 seconds)
 [java] 2015-07-07 16:15:06,309 |main |GenericDelegator 
 |E| Failure in create operation for entity [ThirdPartyLogin]: 
org.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:ThirdPartyLogin][createdStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp)][createdTxStamp,2015-07-07 
16:15:06.298(java.sql.Timestamp)][fromDate,2011-01-01 
00:00:00.0(java.sql.Timestamp)][lastUpdatedStamp,2015-07-07 
16:15:06.306(java.sql.Timestamp

[jira] [Comment Edited] (OFBIZ-6548) setting new view size does not auto update screen.

2015-07-06 Thread Wai (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615367#comment-14615367
 ] 

Wai edited comment on OFBIZ-6548 at 7/6/15 5:52 PM:


I've updated the environment section of this report.

The issue applies to both firefox and chromium.
This applies to the latest trunk sources.
Also notice that the 'next', 'last', jumping to page does not work.
Thanks


was (Author: wt):
I'm using the following...
Chromium v43.0.2357.81
Firefox v38.0
running on ubuntu 15.04

The issue applies to both firefox and chromium.
This applies to the latest trunk sources.

Also notice that the 'next', 'last', jumping to page does not work.
Thanks

 setting new view size does not auto update screen.
 --

 Key: OFBIZ-6548
 URL: https://issues.apache.org/jira/browse/OFBIZ-6548
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
 Environment: running on ubuntu 15.04
 java:
 Java version 1.8.0_31
 Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
 Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
 Using following browsers:
 Chromium v43.0.2357.81
 Firefox v38.0
Reporter: Wai
Assignee: Shi Jinghai

 Go to https://localhost:8443/catalog/control/EditFeatureTypes
 Select another value for 'items per page'.
 Notice the page does not refresh.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6550) expand all/collapse all does not work

2015-07-06 Thread Wai (JIRA)
Wai created OFBIZ-6550:
--

 Summary: expand all/collapse all does not work
 Key: OFBIZ-6550
 URL: https://issues.apache.org/jira/browse/OFBIZ-6550
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
Reporter: Wai


go to https://localhost:8443/catalog/control/EditProduct?productId=GZ-1006-1
click on 'expand all' button...does not work
click on 'collapse all' button.does not work



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6548) setting new view size does not auto update screen.

2015-07-06 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6548:
---
Environment: 
running on ubuntu 15.04
Using following...
Chromium v43.0.2357.81
Firefox v38.0


 setting new view size does not auto update screen.
 --

 Key: OFBIZ-6548
 URL: https://issues.apache.org/jira/browse/OFBIZ-6548
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
 Environment: running on ubuntu 15.04
 Using following...
 Chromium v43.0.2357.81
 Firefox v38.0
Reporter: Wai
Assignee: Shi Jinghai

 Go to https://localhost:8443/catalog/control/EditFeatureTypes
 Select another value for 'items per page'.
 Notice the page does not refresh.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6548) setting new view size does not auto update screen.

2015-07-06 Thread Wai (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wai updated OFBIZ-6548:
---
Environment: 
running on ubuntu 15.04

java:
Java version 1.8.0_31
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

Using following browsers:
Chromium v43.0.2357.81
Firefox v38.0


  was:
running on ubuntu 15.04
Using following...
Chromium v43.0.2357.81
Firefox v38.0



 setting new view size does not auto update screen.
 --

 Key: OFBIZ-6548
 URL: https://issues.apache.org/jira/browse/OFBIZ-6548
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
 Environment: running on ubuntu 15.04
 java:
 Java version 1.8.0_31
 Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
 Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
 Using following browsers:
 Chromium v43.0.2357.81
 Firefox v38.0
Reporter: Wai
Assignee: Shi Jinghai

 Go to https://localhost:8443/catalog/control/EditFeatureTypes
 Select another value for 'items per page'.
 Notice the page does not refresh.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-6548) setting new view size does not auto update screen.

2015-07-06 Thread Wai (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615367#comment-14615367
 ] 

Wai edited comment on OFBIZ-6548 at 7/6/15 5:43 PM:


I'm using the following...
Chromium v43.0.2357.81
Firefox v38.0
running on ubuntu 15.04

The issue applies to both firefox and chromium.
This applies to the latest trunk sources.
Thanks


was (Author: wt):
I'm using the following...
Chromium v43.0.2357.81
Firefox v38.0
running on ubuntu 15.04

The issue applies to both firefox and chromium.

 setting new view size does not auto update screen.
 --

 Key: OFBIZ-6548
 URL: https://issues.apache.org/jira/browse/OFBIZ-6548
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk
Reporter: Wai
Assignee: Shi Jinghai

 Go to https://localhost:8443/catalog/control/EditFeatureTypes
 Select another value for 'items per page'.
 Notice the page does not refresh.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


  1   2   3   4   >