[jira] [Comment Edited] (OFBIZ-7781) Have a configurable solution with respect to the default fields of all entities

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-7781 at 7/13/16 5:56 AM:
-

There is indeed a specific mechanism for those special fields. It could be 
generalised (eg for status, with not only on/off but also the proposed ternary 
status). But, like [~nj] and [~rishisolankii] expressed in OFBIZ-7622, I doubt 
we need that automated on all entities...



was (Author: jacques.le.roux):
There is indeed a specific mechanism for those special fields. It could be used 
for that too (with not only on/off but also the proposed status ternary). But, 
like [~nj] and [~rishisolankii] expressed in OFBIZ-7622, I doubt we need that 
automated on all entities... Let's discuss it...


> Have a configurable solution with respect to the default fields of all 
> entities
> ---
>
> Key: OFBIZ-7781
> URL: https://issues.apache.org/jira/browse/OFBIZ-7781
> Project: OFBiz
>  Issue Type: Improvement
>  Components: datamodel
>Affects Versions: Trunk
>Reporter: Pierre Smits
>
> This issue follows up on comments posted in the  OFBIZ-7622 sub-task.
> Currently the fields to be added to all entities are defined in 
> ModelEntity.java. This is a limited list consisting of:
> * public static final String STAMP_FIELD = "lastUpdatedStamp";
> * public static final String STAMP_TX_FIELD = "lastUpdatedTxStamp";
> * public static final String CREATE_STAMP_FIELD = "createdStamp";
> * public static final String CREATE_STAMP_TX_FIELD = "createdTxStamp";
> After the implemented code change of the sub task mentioned above, a new 
> discussion evolved through postings of comments on the subject of how to get 
> more flexibility in.
> This issue is a starting point and potentially a place holder for sub 
> subtasks to get to a more flexible solution.



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


[jira] [Commented] (OFBIZ-7763) Replace bshInterpreter with groovyShell

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7763:


I finally don't think we need to say more about that to users. Variables names 
should simply follow Java syntax (I just learnt that $ is an acceptable 
character in a Java variable name but is not recommended, at least to start 
with http://www.oracle.com/technetwork/java/codeconventions-135099.html#367).

To follow Java syntax, where variables names can contain but not start by 
numbers, I'd simply replace Alpha by Alnum in the regexp. Of course, variables 
names starting by a number and isolated numbers should be removed from the 
variables names list. I see no other issues introduced by replacing Alpha by 
Alnum, but better to think twice ;)


> Replace bshInterpreter with groovyShell
> ---
>
> Key: OFBIZ-7763
> URL: https://issues.apache.org/jira/browse/OFBIZ-7763
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7763.patch, beanshell-removal-part1.patch
>
>
> To support the migration to gradle, removing bsh.jar dependency from the 
> project, and improve readability and fonctionnalities following 
> [~deepak.dixit] idea expressed here 
> https://issues.apache.org/jira/browse/OFBIZ-7576?focusedCommentId=15347972



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


Re: Entity and Service definition

2016-07-12 Thread Jacques Le Roux

+1

Jacques


Le 12/07/2016 à 14:02, Nicolas Malin a écrit :

Hi Rishi,

:) I totaly agree with your remarks

In line

Le 12/07/2016 10:31, Rishi Solanki a écrit :

Dear Folks,

While working/reviewing recent work in community, I observed some
improvement/fixes required at entity and related service implementation.
For few entities like InvoiceAttribute, InvoiceType, etc. no service exists
to create/update/delete. At the time of writing migration scripts I always
see lack of such services, which can be used to define new types or
attributes. Also Many entities have some other problems in basic design of
CRUD operations and in definitions;

On further look into this in detail found many such entities which do not
have services. I would like to propose a refactoring at basic design level
which covers following which does not impact on functionality we have;

1) Many entity definitions having relationships with view-entities, like
OrderHeader entity maintain relationship with OrderHeaderNoteView and
OrderItemAndShipGroupAssoc. We should remove it, maintain the relationship
at view-entities level if required. Also change the code where this
relation is in use.

Agree

2) Many entities having service implementation exists but they can be
simply convert into entity-auto, that means can use the power OFBiz
provides.
I has been started this work from 2 years :) , and currently I have stopped by Shipment Entities with a premission service refactoring 
https://issues.apache.org/jira/browse/OFBIZ-7113 and https://issues.apache.org/jira/browse/OFBIZ-6996


I'm sure we can found some other service to convert ;)

3) As mentioned initially many entities do not have CRUD services exists,
we should implement or use entity-auto for them wherever applicable. Also
remove direct use of delegator for them.

After the migration, I would be move all generic service crud on the data model 
component to detect what missing service and list the reason

4) Many entities having from date and thru date, Or status Or Enumeration
to manage the historical data, but services actually remove those entity
data. We should change the service implementation to maintain the
historical data.

1, I created the action expire on entity-auto to manage that ;)


After this effort, OFBiz will have minimum direct use of delegator,
enriched use of service engine, we would be able to established
patterns/best practice to introduce a new entities, and writing new
services.

I appreciate your message :) it's pretty good to read that


I would love to hear more improvements in this area from community. We will
add them in this effort only.


Rishi Solanki
Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com








[jira] [Commented] (OFBIZ-7534) Migrate OFBiz from Apache Ant to Gradle build system

2016-07-12 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-7534:


Hi Charl,

As I mentioned in my previous comment, the download targets in apache ant which 
used to exist in the past only provide the latest JDBC driver for each database.

Also, after further investigation, I realized that each database vendor can 
provide multiple different drivers used for different purposes.

So, downloading the correct database driver is environment-centric. That's why 
in the old Ant scripts you will notice a message if you run one of the download 
targets that tells you to "Please check that this version is appropriate for 
you!". Again this shows you that the whole approach is flawed because it is 
very specific to each computer on each database.

Therefore, it is my recommendation that you simply download the required 
database driver yourself. My recommendation for now is just to place it in 
/framework/base/lib. Or we can create a new top-level folder (/libs) that holds 
all user downloaded libraries.

What do you think?

> Migrate OFBiz from Apache Ant to Gradle build system
> 
>
> Key: OFBIZ-7534
> URL: https://issues.apache.org/jira/browse/OFBIZ-7534
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Taher Alkhateeb
>Assignee: Taher Alkhateeb
>  Labels: ant, build-tools, gradle
> Attachments: ANT_GRADLE_COMPARISON.txt, OFBIZ-7534.patch, 
> OFBIZ-7534.patch, OFBIZ-7534.patch, OFBIZ-7534.patch, OFBizRemoteJarList.csv, 
> OFBizRemoteJarList.csv, OFBizRemoteJarList.csv, OFBizRemoteJarList.csv, 
> gradle-wrapper.jar
>
>
> This is a major refactoring task referring to the [email 
> thread|http://ofbiz.markmail.org/message/vstt3wxuubmjgmqj?q=Important+Changes+to+Trunk+and+Use+of+Ant+%26+Gradle]
>  in which the community voted for the switch after a proposal from the PMC
> The purpose of this JIRA is to achieve the following objectives
> - Fully implement a working compiling system in Gradle that passes all tests
> - Remove all ant and maven build scripts from the system
> - update the documentation of the system to reflect these changes



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


[jira] [Commented] (OFBIZ-7781) Have a configurable solution with respect to the default fields of all entities

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7781:
-

According to the 
https://cwiki.apache.org/confluence/display/OFBIZ/March+2015+-+Community+Day+Survey
 I am the other one.

> Have a configurable solution with respect to the default fields of all 
> entities
> ---
>
> Key: OFBIZ-7781
> URL: https://issues.apache.org/jira/browse/OFBIZ-7781
> Project: OFBiz
>  Issue Type: Improvement
>  Components: datamodel
>Affects Versions: Trunk
>Reporter: Pierre Smits
>
> This issue follows up on comments posted in the  OFBIZ-7622 sub-task.
> Currently the fields to be added to all entities are defined in 
> ModelEntity.java. This is a limited list consisting of:
> * public static final String STAMP_FIELD = "lastUpdatedStamp";
> * public static final String STAMP_TX_FIELD = "lastUpdatedTxStamp";
> * public static final String CREATE_STAMP_FIELD = "createdStamp";
> * public static final String CREATE_STAMP_TX_FIELD = "createdTxStamp";
> After the implemented code change of the sub task mentioned above, a new 
> discussion evolved through postings of comments on the subject of how to get 
> more flexibility in.
> This issue is a starting point and potentially a place holder for sub 
> subtasks to get to a more flexible solution.



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


[jira] [Commented] (OFBIZ-7781) Have a configurable solution with respect to the default fields of all entities

2016-07-12 Thread Michael Brohl (JIRA)

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

Michael Brohl commented on OFBIZ-7781:
--

Thanks for your lengthy lecture about how to come to implementation decisions. 
You seem to imply that "we" meant only the contributors, which is not the case 
with my posting.

That said, I wonder if we really have strong *user* requirements for overall 
tracking fields and if yes, how many. Not sure if we have an "academic" 
discussion here.

The original issue was about user tracking of status changes and you brought up 
the idea of user tracking for all entities. It seemed to me that this 
requirement came out of the discussion and not from OFBiz adopters. 

So, do we have a relevant user base who wants this feature? 

> Have a configurable solution with respect to the default fields of all 
> entities
> ---
>
> Key: OFBIZ-7781
> URL: https://issues.apache.org/jira/browse/OFBIZ-7781
> Project: OFBiz
>  Issue Type: Improvement
>  Components: datamodel
>Affects Versions: Trunk
>Reporter: Pierre Smits
>
> This issue follows up on comments posted in the  OFBIZ-7622 sub-task.
> Currently the fields to be added to all entities are defined in 
> ModelEntity.java. This is a limited list consisting of:
> * public static final String STAMP_FIELD = "lastUpdatedStamp";
> * public static final String STAMP_TX_FIELD = "lastUpdatedTxStamp";
> * public static final String CREATE_STAMP_FIELD = "createdStamp";
> * public static final String CREATE_STAMP_TX_FIELD = "createdTxStamp";
> After the implemented code change of the sub task mentioned above, a new 
> discussion evolved through postings of comments on the subject of how to get 
> more flexibility in.
> This issue is a starting point and potentially a place holder for sub 
> subtasks to get to a more flexible solution.



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


[jira] [Commented] (OFBIZ-7778) Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7778:


Thanks Charl, your fixing patch is in trunk at revision: 1752344  


> Province data for South Africa via GeoData_ZA.xml and address format for 
> South Africa in GeoData.xml
> 
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch, GeoDataZAF02.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Updated] (OFBIZ-7778) Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread charl Bouwer (JIRA)

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

charl Bouwer updated OFBIZ-7778:

Attachment: GeoDataZAF02.patch

Removed the incorrect uses of 'The' in provinces

> Province data for South Africa via GeoData_ZA.xml and address format for 
> South Africa in GeoData.xml
> 
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch, GeoDataZAF02.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Commented] (OFBIZ-7532) Form Display Field improvement to manage multiple number format

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7532:
-

[~jacques.le.roux] You wanted more discussions regarding this issue, but it has 
not led to more interactions. Is this going to be incorporated in the code base?

> Form Display Field improvement to manage multiple number format
> ---
>
> Key: OFBIZ-7532
> URL: https://issues.apache.org/jira/browse/OFBIZ-7532
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Charles STELTZLEN
>Priority: Minor
> Attachments: OFBIZ-7532.patch
>
>
> On display field used in forms, there is a "type" "accounting-number" which 
> is used to format number like property configuration :  
> #,##0.;(#,##0.).
> This JIRA propose to extend this idea by using a "type" "number" and an 
> additional attribute called "format-pattern". This field will be used by form 
> renderer to get the good property. It use FlexibleString to manage variable 
> in this field and so allow to have different format for the same column 
> according to some conditions.
> example:  format-pattern="accounting"/>
> The "format-pattern" will be stored in arithmetic.properties.
> example:
> # the default number format 
> default.number.format = ##0.00
> accounting.number.format = #,##0.;(#,##0.)
> quantity.number.format = ##0.00
> integer-quantity.number.format = #0
> percentage.number.format = ##.##%
> export.number.format = #.00
> In ModelFormField.java, the system gets property using 
> EntityUtilProperties.getPropertyValue to ba able to quickly add a new format.
> I think that it will require a discussion on Dev mailing-list to validate the 
> choices.



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


[jira] [Commented] (OFBIZ-7781) Have a configurable solution with respect to the default fields of all entities

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7781:


There is indeed a specific mechanism for those special fields. It could be used 
for that too (with not only on/off but also the proposed status ternary). But, 
like [~nj] and [~rishisolankii] expressed in OFBIZ-7622, I doubt we need that 
automated on all entities... Let's discuss it...


> Have a configurable solution with respect to the default fields of all 
> entities
> ---
>
> Key: OFBIZ-7781
> URL: https://issues.apache.org/jira/browse/OFBIZ-7781
> Project: OFBiz
>  Issue Type: Improvement
>  Components: datamodel
>Affects Versions: Trunk
>Reporter: Pierre Smits
>
> This issue follows up on comments posted in the  OFBIZ-7622 sub-task.
> Currently the fields to be added to all entities are defined in 
> ModelEntity.java. This is a limited list consisting of:
> * public static final String STAMP_FIELD = "lastUpdatedStamp";
> * public static final String STAMP_TX_FIELD = "lastUpdatedTxStamp";
> * public static final String CREATE_STAMP_FIELD = "createdStamp";
> * public static final String CREATE_STAMP_TX_FIELD = "createdTxStamp";
> After the implemented code change of the sub task mentioned above, a new 
> discussion evolved through postings of comments on the subject of how to get 
> more flexibility in.
> This issue is a starting point and potentially a place holder for sub 
> subtasks to get to a more flexible solution.



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


[jira] [Comment Edited] (OFBIZ-7763) Replace bshInterpreter with groovyShell

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-7763 at 7/12/16 5:05 PM:
-

Here is the ticket for this work OFBIZ-7764


was (Author: deepak.dixit):
Here is the ticket for this work OFBIZ-7763

> Replace bshInterpreter with groovyShell
> ---
>
> Key: OFBIZ-7763
> URL: https://issues.apache.org/jira/browse/OFBIZ-7763
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7763.patch, beanshell-removal-part1.patch
>
>
> To support the migration to gradle, removing bsh.jar dependency from the 
> project, and improve readability and fonctionnalities following 
> [~deepak.dixit] idea expressed here 
> https://issues.apache.org/jira/browse/OFBIZ-7576?focusedCommentId=15347972



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


[jira] [Commented] (OFBIZ-7781) Have a configurable solution with respect to the default fields of all entities

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7781:
-

following up on this posting by [~mbrohl] 
https://issues.apache.org/jira/browse/OFBIZ-7622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15372940#comment-15372940

The decision on 'do we want this'? should never be the first question answered. 
There is a difference between what a business needs and what contributor(s) 
wants for the project.

The rationale (or pre-amble) is that the business requirements of the adopting 
companies can vary from company to company (even within one industry sector) 
due to e.g. varying legal aspects. 

Then the first question should be: can we facilitate those adopters with more 
flexibility regarding the aspect of - in the case of OFBIZ-7611 - tracking 
fields. After that question, the next follow up question would be: 'how would 
that solution be? in order to find a solution that is acceptable by the greater 
OFBiz community. 

And then comes the ultimate question that each individual contributor has to 
answer for himself: do I want to spent my time on this matter to help the 
fellow contributor to bring the accepted solution direction to a successful 
incorporation in the code base and enhance the appeal of the product and the 
project. 



> Have a configurable solution with respect to the default fields of all 
> entities
> ---
>
> Key: OFBIZ-7781
> URL: https://issues.apache.org/jira/browse/OFBIZ-7781
> Project: OFBiz
>  Issue Type: Improvement
>  Components: datamodel
>Affects Versions: Trunk
>Reporter: Pierre Smits
>
> This issue follows up on comments posted in the  OFBIZ-7622 sub-task.
> Currently the fields to be added to all entities are defined in 
> ModelEntity.java. This is a limited list consisting of:
> * public static final String STAMP_FIELD = "lastUpdatedStamp";
> * public static final String STAMP_TX_FIELD = "lastUpdatedTxStamp";
> * public static final String CREATE_STAMP_FIELD = "createdStamp";
> * public static final String CREATE_STAMP_TX_FIELD = "createdTxStamp";
> After the implemented code change of the sub task mentioned above, a new 
> discussion evolved through postings of comments on the subject of how to get 
> more flexibility in.
> This issue is a starting point and potentially a place holder for sub 
> subtasks to get to a more flexible solution.



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


[jira] [Commented] (OFBIZ-7781) Have a configurable solution with respect to the default fields of all entities

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7781:
-

Related due to incorporated discussion.

> Have a configurable solution with respect to the default fields of all 
> entities
> ---
>
> Key: OFBIZ-7781
> URL: https://issues.apache.org/jira/browse/OFBIZ-7781
> Project: OFBiz
>  Issue Type: Improvement
>  Components: datamodel
>Affects Versions: Trunk
>Reporter: Pierre Smits
>
> This issue follows up on comments posted in the  OFBIZ-7622 sub-task.
> Currently the fields to be added to all entities are defined in 
> ModelEntity.java. This is a limited list consisting of:
> * public static final String STAMP_FIELD = "lastUpdatedStamp";
> * public static final String STAMP_TX_FIELD = "lastUpdatedTxStamp";
> * public static final String CREATE_STAMP_FIELD = "createdStamp";
> * public static final String CREATE_STAMP_TX_FIELD = "createdTxStamp";
> After the implemented code change of the sub task mentioned above, a new 
> discussion evolved through postings of comments on the subject of how to get 
> more flexibility in.
> This issue is a starting point and potentially a place holder for sub 
> subtasks to get to a more flexible solution.



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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

This is a sub-tasks of OFBIZ-7611. Not a separate issue. The governing 
description is covered in the parent issue.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

See OFBIZ-7781

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Created] (OFBIZ-7781) Have a configurable solution with respect to the default fields of all entities

2016-07-12 Thread Pierre Smits (JIRA)
Pierre Smits created OFBIZ-7781:
---

 Summary: Have a configurable solution with respect to the default 
fields of all entities
 Key: OFBIZ-7781
 URL: https://issues.apache.org/jira/browse/OFBIZ-7781
 Project: OFBiz
  Issue Type: Improvement
  Components: datamodel
Affects Versions: Trunk
Reporter: Pierre Smits


This issue follows up on comments posted in the  OFBIZ-7622 sub-task.

Currently the fields to be added to all entities are defined in 
ModelEntity.java. This is a limited list consisting of:
* public static final String STAMP_FIELD = "lastUpdatedStamp";
* public static final String STAMP_TX_FIELD = "lastUpdatedTxStamp";
* public static final String CREATE_STAMP_FIELD = "createdStamp";
* public static final String CREATE_STAMP_TX_FIELD = "createdTxStamp";

After the implemented code change of the sub task mentioned above, a new 
discussion evolved through postings of comments on the subject of how to get 
more flexibility in.

This issue is a starting point and potentially a place holder for sub subtasks 
to get to a more flexible solution.




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7622:


BTW Pierre, you spoke about 
bq.  something like 'STAMP_FIELD' and such
There is a specific mechanism for those special fields, it could be used for 
that too (with not only on/off but also the proposed status ternary). But, like 
Nameet and Rishi, I doubt we need that automated on all entities... Let's 
discuss it...


> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7622:


BTW this issue misses a minimal description of the needs and reasons why. This 
would, at 1st glance, clarifies what it's all about. A simple sentence would be 
enough, thanks!

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7779:


Windows is a vicious beast ;)

> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
> Attachments: Image 007.png, OFBIZ-7779.patch, OFBIZ-7779.patch, 
> compile.error, neon.error
>
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get (see compile.error)
> Of course I tried (4th) to install Eclipse Neon, to no avail, so far the best 
> I got (at least I eventually got something) is in neon.error
> I'll continue later...



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


[jira] [Comment Edited] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-7779 at 7/12/16 2:59 PM:
-

Thanks Taher,

It's already much better :)

I still have few issues in the "Problems" view, for each component:
||Description|Resource|Path|Location|Type||
||Project 'ofbiz' is missing required source folder: 
'//applications/accounting'|ofbiz| |Build path|Build Path Problem||
||...|ofbiz| |Build path|Build Path Problem||
||The project cannot be built until build path errors are resolved|ofbiz| 
|Unknown|Java Problem||

But it does not prevent to use the Gradle tasks and I just begin to prefer 
Neon+Gradle over Mars+Ant ;)


This is unrelated (only 49 come from Gradle) and amazing !Image 007.png!

I will begin to amend the wiki pages...




was (Author: jacques.le.roux):
Thanks Taher,

It's already much better :)

I still have few issues in the "Problems" view, for each component:
||Description|Resource|Path|Location|Type||
||Project 'ofbiz' is missing required source folder: 
'//applications/accounting'|ofbiz| |Build path|Build Path Problem||
||...|ofbiz| |Build path|Build Path Problem||
||The project cannot be built until build path errors are resolved|ofbiz| 
|Unknown|Java Problem||

But it does not prevent to use the Gradle tasks and I just begin to prefer 
Neon+Gradle over Mars+Ant ;)


This is unrelated (only 49 comes from Gradle) and amazing !Image 007.png!

I will begin to amend the wiki pages...



> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
> Attachments: Image 007.png, OFBIZ-7779.patch, OFBIZ-7779.patch, 
> compile.error, neon.error
>
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get (see compile.error)
> Of course I tried (4th) to install Eclipse Neon, to no avail, so far the best 
> I got (at least I eventually got something) is in neon.error
> I'll continue later...



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


[jira] [Commented] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7779:


Thanks Taher,

It's already much better :)

I still have few issues in the "Problems" view, for each component:
||Description|Resource|Path|Location|Type||
||Project 'ofbiz' is missing required source folder: 
'//applications/accounting'|ofbiz| |Build path|Build Path Problem||
||...|ofbiz| |Build path|Build Path Problem||
||The project cannot be built until build path errors are resolved|ofbiz| 
|Unknown|Java Problem||

But it does not prevent to use the Gradle tasks and I just begin to prefer 
Neon+Gradle over Mars+Ant ;)


This is unrelated (only 49 comes from Gradle) and amazing !Image 007.png!

I will begin to amend the wiki pages...



> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
> Attachments: Image 007.png, OFBIZ-7779.patch, OFBIZ-7779.patch, 
> compile.error, neon.error
>
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get (see compile.error)
> Of course I tried (4th) to install Eclipse Neon, to no avail, so far the best 
> I got (at least I eventually got something) is in neon.error
> I'll continue later...



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


[jira] [Updated] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7779:
---
Attachment: Image 007.png

> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
> Attachments: Image 007.png, OFBIZ-7779.patch, OFBIZ-7779.patch, 
> compile.error, neon.error
>
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get (see compile.error)
> Of course I tried (4th) to install Eclipse Neon, to no avail, so far the best 
> I got (at least I eventually got something) is in neon.error
> I'll continue later...



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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

I believe we should continue the bigger improvement issue in a new JIRA issue. 
This sub-task served its particular purpose, and any new comment added to the 
follow up could potentially confuse our adopter when they go through the 
release notes of the release this sub-task or its parent issue will be included 
in.

I will open a new JIRA issue.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-7779:


H strange. I did not know eclipse behaves differently on different 
platforms as it works fine with Gradle on my Linux machine.

I'll try to reproduce on windows on virtualbox to see whats up

Either way this patch improves things so I will commit it

> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-7779.patch, OFBIZ-7779.patch, compile.error, 
> neon.error
>
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get (see compile.error)
> Of course I tried (4th) to install Eclipse Neon, to no avail, so far the best 
> I got (at least I eventually got something) is in neon.error
> I'll continue later...



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


[jira] [Updated] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7779:
---
Description: 
I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
some issues in my environment (still Windows 7).

I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.

First I must say my Mars instance works perfectly, but for few months I'm 
unable to update. I did not try yet to create another Mars instance because I 
guess it will anyway screws its update mechanism later :/

Mars comes with the embedded ["Gradle Buildship" 
plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 2015-09-22. 
I found this tuto http://www.vogella.com/tutorials/EclipseGradle/article.html 
(with a 6/7 clone/redundant section).

Few remarks: I see no Gradle context menu entrie, maybe due to my unability to 
update Mars, so I'm unable to "add Gradle support to existing Eclipse project 
". So I created a Gradle "trunk" side project following , but, though all work 
well in command line, in Eclipse building with Gradle does not work. I always 
get (see compile.error)

Of course I tried (4th) to install Eclipse Neon, to no avail, so far the best I 
got (at least I eventually got something) is in neon.error

I'll continue later...

  was:
I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
some issues in my environment (still Windows 7).

I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.

First I must say my Mars instance works perfectly, but for few months I'm 
unable to update. I did not try yet to create another Mars instance because I 
guess it will anyway screws its update mechanism later :/

Mars comes with the embedded ["Gradle Buildship" 
plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 2015-09-22. 
I found this tuto http://www.vogella.com/tutorials/EclipseGradle/article.html 
(with a 6/7 clone/redundant section).

Few remarks: I see no Gradle context menu entrie, maybe due to my unability to 
update Mars, so I'm unable to "add Gradle support to existing Eclipse project 
". So I created a Gradle "trunk" side project following , but, though all work 
well in command line, in Eclipse building with Gradle does not work. I always 
get
{code}
org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
':compileJava'.
at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at 
org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at 
org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at 
org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at 
org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at 
org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at 
org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at 
org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at 
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at 
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at 
org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
at 
org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at 
org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at 
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at 
org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at 
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at 
org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at 
org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at 
org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at 
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at 

[jira] [Updated] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7779:
---
Attachment: compile.error
neon.error

> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-7779.patch, OFBIZ-7779.patch, compile.error, 
> neon.error
>
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get
> {code}
> org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
> ':compileJava'.
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
>   at 
> org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
>   at 
> org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
>   at 
> org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
>   at 
> org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
>   at 
> org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
>   at 
> org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
>   at 
> org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
>   at 
> org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:158)
>   at org.gradle.internal.Factories$1.create(Factories.java:22)
>   at 
> org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
>   at 
> org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
>   at 
> org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)
>   at 
> 

[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Michael Brohl (JIRA)

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

Michael Brohl commented on OFBIZ-7622:
--

The discussion about making this configurable comes from Pierre's suggestion:
{quote}
Isn't it much better to extend the ModelEntity in ModelEntity.java, with 
something like 'STAMP_FIELD' and such? And have that applied in GenericDAO.java?
Now it seems we have something implemented for a set of specific cases. But 
having a 'changeByUserLoginId on every entity makes sense.
{quote}

I then stated:
{quote}
That could be a problem at least in Germany, where it is a very sensitive 
subject because you could track when employees changed data and could monitor 
their working behaviour. I did not deeply think about it, just a short notice 
to think about before we implement such a feature.
{quote}

Maybe we should first decide *if* we want the "changeByUserLoginId" in every 
entity. If the answer is "yes", we may have to deal with configuration of some 
sort to switch it off. 


> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Rishi Solanki (JIRA)

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

Rishi Solanki commented on OFBIZ-7622:
--

[~julien.nicolas]: Sorry I still disagree on this, to manage fields creation 
and its relationship in this way. In case we found more entities which requires 
the same field then we will be altering the final static map probably (defined 
to manage the list of entities manage this extra field). I think its better to 
have the entities fields with them, instead of create them from any 
configuration.

Also we are increasing responsibilities of EntityAutoEngine or GenericDAO or 
ModelEntity. It could be out of scope but we should consider this before 
assigning more responsibilities to same class.

I'm good, if we found some good reason to make it configurable. As I see for 
few entities change by user login is must from business perspective and for few 
it may be optional. So enabling/disabling all from one configuration seems okay 
to me, and managing it at entity level seems better.

Thanks!

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Updated] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb updated OFBIZ-7779:
---
Attachment: OFBIZ-7779.patch

Attaching a more improved version that fixes the path issues everywhere

> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-7779.patch, OFBIZ-7779.patch
>
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get
> {code}
> org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
> ':compileJava'.
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
>   at 
> org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
>   at 
> org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
>   at 
> org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
>   at 
> org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
>   at 
> org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
>   at 
> org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
>   at 
> org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
>   at 
> org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:158)
>   at org.gradle.internal.Factories$1.create(Factories.java:22)
>   at 
> org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
>   at 
> org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
>   at 
> org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)
>   at 
> 

[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Julien NICOLAS (JIRA)

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

Julien NICOLAS commented on OFBIZ-7622:
---

So we can just manage entity status listed by the parent Jira and add the 
property in general.properties.
If you want to continue to discuss on this topic, I think it could be 
interesting to use the parent topic comments.

Regards,

Julien.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


Re: Entity and Service definition

2016-07-12 Thread Nicolas Malin

Hi Rishi,

:) I totaly agree with your remarks

In line

Le 12/07/2016 10:31, Rishi Solanki a écrit :

Dear Folks,

While working/reviewing recent work in community, I observed some
improvement/fixes required at entity and related service implementation.
For few entities like InvoiceAttribute, InvoiceType, etc. no service exists
to create/update/delete. At the time of writing migration scripts I always
see lack of such services, which can be used to define new types or
attributes. Also Many entities have some other problems in basic design of
CRUD operations and in definitions;

On further look into this in detail found many such entities which do not
have services. I would like to propose a refactoring at basic design level
which covers following which does not impact on functionality we have;

1) Many entity definitions having relationships with view-entities, like
OrderHeader entity maintain relationship with OrderHeaderNoteView and
OrderItemAndShipGroupAssoc. We should remove it, maintain the relationship
at view-entities level if required. Also change the code where this
relation is in use.

Agree

2) Many entities having service implementation exists but they can be
simply convert into entity-auto, that means can use the power OFBiz
provides.
I has been started this work from 2 years :) , and currently I have 
stopped by Shipment Entities with a premission service refactoring 
https://issues.apache.org/jira/browse/OFBIZ-7113 and 
https://issues.apache.org/jira/browse/OFBIZ-6996


I'm sure we can found some other service to convert ;)

3) As mentioned initially many entities do not have CRUD services exists,
we should implement or use entity-auto for them wherever applicable. Also
remove direct use of delegator for them.
After the migration, I would be move all generic service crud on the 
data model component to detect what missing service and list the reason

4) Many entities having from date and thru date, Or status Or Enumeration
to manage the historical data, but services actually remove those entity
data. We should change the service implementation to maintain the
historical data.

1, I created the action expire on entity-auto to manage that ;)


After this effort, OFBiz will have minimum direct use of delegator,
enriched use of service engine, we would be able to established
patterns/best practice to introduce a new entities, and writing new
services.

I appreciate your message :) it's pretty good to read that


I would love to hear more improvements in this area from community. We will
add them in this effort only.


Rishi Solanki
Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com





[jira] [Updated] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb updated OFBIZ-7779:
---
Attachment: OFBIZ-7779.patch

Hi Jacques,

So I have done multiple improvements to the eclipse plugin. These improvements 
achieve the following
1- Fix some path issues for folders
2- Remove unnecessary config source directories

I got eclipse working correctly with Gradle by applying the following:

1- create a normal java project
2- create a run/debug configuration of type gradle
3- run it

That's it.

> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-7779.patch
>
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get
> {code}
> org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
> ':compileJava'.
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
>   at 
> org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
>   at 
> org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
>   at 
> org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
>   at 
> org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
>   at 
> org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
>   at 
> org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
>   at 
> org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
>   at 
> org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:158)
>   at org.gradle.internal.Factories$1.create(Factories.java:22)
>   at 
> 

[jira] [Commented] (OFBIZ-7778) Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread charl Bouwer (JIRA)

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

charl Bouwer commented on OFBIZ-7778:
-

Thanks Gavin

I'll remove the "The' tonight when I get home and finished with the paying job. 
Will create a patch to fix it then.

> Province data for South Africa via GeoData_ZA.xml and address format for 
> South Africa in GeoData.xml
> 
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Commented] (OFBIZ-7763) Replace bshInterpreter with groovyShell

2016-07-12 Thread Gil Portenseigne (JIRA)

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

Gil Portenseigne commented on OFBIZ-7763:
-

Yes I tried to be clear enough in code to ease improvement, this trick is there 
to avoid going through the 1600+ use-when in the codebase, adding "context." to 
each variable.

But i do not know where to write it down other than in the code itself. (thanks 
for the review by the way)

> Replace bshInterpreter with groovyShell
> ---
>
> Key: OFBIZ-7763
> URL: https://issues.apache.org/jira/browse/OFBIZ-7763
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7763.patch, beanshell-removal-part1.patch
>
>
> To support the migration to gradle, removing bsh.jar dependency from the 
> project, and improve readability and fonctionnalities following 
> [~deepak.dixit] idea expressed here 
> https://issues.apache.org/jira/browse/OFBIZ-7576?focusedCommentId=15347972



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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Nameet Jain (JIRA)

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

Nameet Jain commented on OFBIZ-7622:


Totally agree with Rishi

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Comment Edited] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Rishi Solanki (JIRA)

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

Rishi Solanki edited comment on OFBIZ-7622 at 7/12/16 11:32 AM:


Adding user login at each entity and logging an additional filed for all and 
maintaining the relationship by default with UserLogin entity. In first look it 
looks like good idea, but it will come with many challenges.

IMO, we should check the business needs of each entity and decide weather to do 
this for that entity or not. For example, for all the type entities do we 
really need change by userLogin?. Type entities are in hundreds, why should 
they maintain the relationship. Also all the intersection entities like 
PartyContactMech, ProductCategoryMember, ProductAssoc, ProductCategoryRollup 
and many more, why these entities requires this extra field and relationship?

Also for each relationship databases manage indexes, which will increase the db 
size for the same data.

I would say many entities may require user login field, but all requires some 
discussion, review, and closer look before proceeding. Maintaining this like 
DATE fields is not look a good idea to me, instead adding this field wherever 
required after discussion looks better to me. In that process (reviewing and 
adding user login field to other entities) if we found all the entities should 
maintain user login then we can proceed and think of adding user login for all.



was (Author: rishisolankii):
Adding user login at each entity and logging an additional filed for all and 
maintaining the relationship by default with UserLogin entity. In first look it 
looks like good idea, but it will come with many challenges.

IMO, we should check the business needs of each entity and decide weather to do 
this for that entity or not. For example, for all the type entities do we 
really need change by userLogin?. Type entities are in hundreds, why should 
they maintain the relationship. Also all the intersection entities like 
PartyContactMech, ProductCategoryMember, ProductAssoc, ProductCategoryRollup 
and many more, why these entities requires this extra field and relationship?

Also for each relationship databases manage indexes, which will increase the db 
size with for the same data.

I would say many entities may require user login field, but all requires some 
discussion, review, and closer look before proceeding. Maintaining this like 
DATE fields is not look a good idea to me, instead adding this field wherever 
required after discussion looks better to me. In that process (reviewing and 
adding user login field to other entities) if we found all the entities should 
maintain user login then we can proceed and think of adding user login for all.


> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Comment Edited] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Rishi Solanki (JIRA)

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

Rishi Solanki edited comment on OFBIZ-7622 at 7/12/16 11:31 AM:


Adding user login at each entity and logging an additional filed for all and 
maintaining the relationship by default with UserLogin entity. In first look it 
looks like good idea, but it will come with many challenges.

IMO, we should check the business needs of each entity and decide weather to do 
this for that entity or not. For example, for all the type entities do we 
really need change by userLogin?. Type entities are in hundreds, why should 
they maintain the relationship. Also all the intersection entities like 
PartyContactMech, ProductCategoryMember, ProductAssoc, ProductCategoryRollup 
and many more, why these entities requires this extra field and relationship?

Also for each relationship databases manage indexes, which will increase the db 
size with for the same data.

I would say many entities may require user login field, but all requires some 
discussion, review, and closer look before proceeding. Maintaining this like 
DATE fields is not look a good idea to me, instead adding this field wherever 
required after discussion looks better to me. In that process (reviewing and 
adding user login field to other entities) if we found all the entities should 
maintain user login then we can proceed and think of adding user login for all.



was (Author: rishisolankii):
Adding user login at each entity and logging an additional filed for all and 
maintaining the relationship by default with UserLogin entity. In first look it 
looks like good idea, but it will come with many challenges.

IMO, we should check the business needs of each entity and decide weather to do 
this for that entity or not. For example, for all the type entities do we 
really need change by userLogin?. Type entities are in hundreds, why should 
they maintain the relationship. Also all the intersection entities like 
PartyContactMech, ProductCategoryMember, ProductAssoc, ProductCategoryRollup 
and many more, why these entities requires this extra field and relationship?

I would say many entities may require user login field, but all requires some 
discussion, review, and closer look before proceeding. Maintaining this like 
DATE fields is not look a good idea to me, instead adding this field wherever 
required after discussion looks better to me. In that process (reviewing) if we 
found all the entities should maintain user login then we can proceed and think 
of adding user login for all.


> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7779:


OK after setting Neon, I still have the 2 same issues with "Gradle Buildship" 
plugin
# [import-an-existing-gradle-project as explained in tuto| 
http://www.vogella.com/tutorials/EclipseGradle/article.html#import-an-existing-gradle-project]
{code}
Loading Gradle project preview failed due to an error in the referenced Gradle 
build.
Could not fetch model of type 'GradleBuild' using Gradle distribution 
'https://services.gradle.org/distributions/gradle-2.13-bin.zip'.
Settings file 'C:\projectASF-Mars\ofbiz\settings.gradle' line: 20
A problem occurred evaluating settings 'ofbiz'.
C:\Neon\framework\component-load.xml (Le chemin d’accès spécifié est 
introuvable)
org.gradle.tooling.BuildException: Could not fetch model of type 'GradleBuild' 
using Gradle distribution 
'https://services.gradle.org/distributions/gradle-2.13-bin.zip'.
at 
org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51)
at 
org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:29)
at 
org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:41)
at 
org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)
at 
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
at 
org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at 
org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)
at 
org.gradle.tooling.internal.consumer.DefaultModelBuilder.get(DefaultModelBuilder.java:51)
at 
com.gradleware.tooling.toolingclient.internal.DefaultToolingClient.executeAndWait(DefaultToolingClient.java:128)
at 
com.gradleware.tooling.toolingclient.internal.DefaultModelRequest.executeAndWait(DefaultModelRequest.java:79)
at 
com.gradleware.tooling.toolingmodel.repository.internal.BaseModelRepository$1.get(BaseModelRepository.java:95)
at 
com.gradleware.tooling.toolingmodel.repository.internal.BaseModelRepository.executeAndWait(BaseModelRepository.java:161)
at 
com.gradleware.tooling.toolingmodel.repository.internal.BaseModelRepository.access$000(BaseModelRepository.java:41)
at 
com.gradleware.tooling.toolingmodel.repository.internal.BaseModelRepository$2.call(BaseModelRepository.java:120)
at 
com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4724)
at 
com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)
at 
com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)
at 
com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)
at com.google.common.cache.LocalCache.get(LocalCache.java:3932)
at 
com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721)
at 
com.gradleware.tooling.toolingmodel.repository.internal.BaseModelRepository.getFromCache(BaseModelRepository.java:136)
at 
com.gradleware.tooling.toolingmodel.repository.internal.BaseModelRepository.executeRequest(BaseModelRepository.java:116)
at 
com.gradleware.tooling.toolingmodel.repository.internal.BaseModelRepository.executeRequest(BaseModelRepository.java:88)
at 
com.gradleware.tooling.toolingmodel.repository.internal.DefaultSingleBuildModelRepository.fetchGradleBuildStructure(DefaultSingleBuildModelRepository.java:130)
at 
org.eclipse.buildship.core.projectimport.ProjectPreviewJob.fetchGradleBuildStructure(ProjectPreviewJob.java:94)
at 
org.eclipse.buildship.core.projectimport.ProjectPreviewJob.runToolingApiJobInWorkspace(ProjectPreviewJob.java:83)
at 
org.eclipse.buildship.core.util.progress.ToolingApiWorkspaceJob$1.run(ToolingApiWorkspaceJob.java:79)
at 
org.eclipse.buildship.core.util.progress.ToolingApiInvoker.invoke(ToolingApiInvoker.java:63)
at 
org.eclipse.buildship.core.util.progress.ToolingApiWorkspaceJob.runInWorkspace(ToolingApiWorkspaceJob.java:76)
at 
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.gradle.internal.exceptions.LocationAwareException: Settings file 

[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

[~rishisolankii]: you raise very valid concerns, which need to be taking 
inconsideration and we need to thread carefully when working towards an 
acceptable solution for all. 


> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Rishi Solanki (JIRA)

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

Rishi Solanki commented on OFBIZ-7622:
--

Adding user login at each entity and logging an additional filed for all and 
maintaining the relationship by default with UserLogin entity. In first look it 
looks like good idea, but it will come with many challenges.

IMO, we should check the business needs of each entity and decide weather to do 
this for that entity or not. For example, for all the type entities do we 
really need change by userLogin?. Type entities are in hundreds, why should 
they maintain the relationship. Also all the intersection entities like 
PartyContactMech, ProductCategoryMember, ProductAssoc, ProductCategoryRollup 
and many more, why these entities requires this extra field and relationship?

I would say many entities may require user login field, but all requires some 
discussion, review, and closer look before proceeding. Maintaining this like 
DATE fields is not look a good idea to me, instead adding this field wherever 
required after discussion looks better to me. In that process (reviewing) if we 
found all the entities should maintain user login then we can proceed and think 
of adding user login for all.


> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7763) Replace bshInterpreter with groovyShell

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7763:


I read in the commit comment 
bq. Today only alphabetic variable with '_' are detected (i.e. 
my_variable==null).
and in commit this snippet
{code}
+if (UtilValidate.isNotEmpty(expression)) {
+//analyse expression to find variables by split non alpha, 
ignoring "_" to allow my_variable usage
+String [] variables = expression.split("[\\P{Alpha}&&[^_]]+");
+for (String variable: variables)
+if(!vars.containsKey(variable)) vars.put(variable, null);
+}
{code}

Should we not make this clearer somewhere (not sure how, just asking at this 
point)?

> Replace bshInterpreter with groovyShell
> ---
>
> Key: OFBIZ-7763
> URL: https://issues.apache.org/jira/browse/OFBIZ-7763
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7763.patch, beanshell-removal-part1.patch
>
>
> To support the migration to gradle, removing bsh.jar dependency from the 
> project, and improve readability and fonctionnalities following 
> [~deepak.dixit] idea expressed here 
> https://issues.apache.org/jira/browse/OFBIZ-7576?focusedCommentId=15347972



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


[jira] [Issue Comment Deleted] (OFBIZ-7623) Add "changeByUserLoginId" field for FinAccountStatus

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7623:
---
Comment: was deleted

(was: What Jacques ? I'm Nicolas not Gil ! ^^ this is the gil's code 

This issue is http://svn.apache.org/viewvc?rev=1752232=rev and you give 
the code 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/GroovyUtil.java?view=diff=1752230=1752231=1752231
)

> Add "changeByUserLoginId" field for FinAccountStatus
> 
>
> Key: OFBIZ-7623
> URL: https://issues.apache.org/jira/browse/OFBIZ-7623
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Nicolas Malin
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7623.patch, OFBIZ-7623.patch
>
>




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


[jira] [Issue Comment Deleted] (OFBIZ-7623) Add "changeByUserLoginId" field for FinAccountStatus

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7623:
---
Comment: was deleted

(was: Ah rigth, wrong issue, thanks Nicolas :))

> Add "changeByUserLoginId" field for FinAccountStatus
> 
>
> Key: OFBIZ-7623
> URL: https://issues.apache.org/jira/browse/OFBIZ-7623
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Nicolas Malin
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7623.patch, OFBIZ-7623.patch
>
>




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


[jira] [Issue Comment Deleted] (OFBIZ-7623) Add "changeByUserLoginId" field for FinAccountStatus

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7623:
---
Comment: was deleted

(was: I read in the commit comment 
bq. Today only alphabetic variable with '_' are detected (i.e. 
my_variable==null).
and in commit this snippet
{code}
+if (UtilValidate.isNotEmpty(expression)) {
+//analyse expression to find variables by split non alpha, 
ignoring "_" to allow my_variable usage
+String [] variables = expression.split("[\\P{Alpha}&&[^_]]+");
+for (String variable: variables)
+if(!vars.containsKey(variable)) vars.put(variable, null);
+}
{code}

Should we not make this clearer somewhere (not sure how, just asking at this 
point)?)

> Add "changeByUserLoginId" field for FinAccountStatus
> 
>
> Key: OFBIZ-7623
> URL: https://issues.apache.org/jira/browse/OFBIZ-7623
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Nicolas Malin
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7623.patch, OFBIZ-7623.patch
>
>




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


[jira] [Commented] (OFBIZ-7623) Add "changeByUserLoginId" field for FinAccountStatus

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7623:


Ah rigth, wrong issue, thanks Nicolas :)

> Add "changeByUserLoginId" field for FinAccountStatus
> 
>
> Key: OFBIZ-7623
> URL: https://issues.apache.org/jira/browse/OFBIZ-7623
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Nicolas Malin
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7623.patch, OFBIZ-7623.patch
>
>




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


[jira] [Commented] (OFBIZ-7771) Allow to define which data the loadDefault Gradle task effectively loads

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7771:


Thanks Taher!

So I think we can close, can't we? Pierre?

> Allow to define which data the loadDefault Gradle task effectively loads
> 
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Nameet Jain (JIRA)

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

Nameet Jain commented on OFBIZ-7622:


My main concern to add this task was, as most of the business process / 
workflow are triggered at status change. So tracking user for the status change 
makes sense. As it helps to know which business user made changes in related 
tables also.

I don't find the reason to have tracking field on all the tables. Also, it will 
create additional data.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Comment Edited] (OFBIZ-7778) Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread Gavin Mabie (JIRA)

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

Gavin Mabie edited comment on OFBIZ-7778 at 7/12/16 10:54 AM:
--

Hi Charl
I'm not sure about the inclusion of the word "The" as prefix to some of the 
provincial names. El - The Eastern Cape. The name is actually just Eaten Cape. 
See link below for official naming.

http://www.gov.za/about-sa/south-africas-provinces

Regards Gavin


was (Author: gavin.ma...@urbannex.co.za):
Hi Charles
I'm not sure about the inclusion of the word "The" as prefix to some of the 
provincial names. El - The Eastern Cape. The name is actually just Eaten Cape. 
See link below for official naming.

http://www.gov.za/about-sa/south-africas-provinces

Regards Gavin

> Province data for South Africa via GeoData_ZA.xml and address format for 
> South Africa in GeoData.xml
> 
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Commented] (OFBIZ-7778) Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread Gavin Mabie (JIRA)

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

Gavin Mabie commented on OFBIZ-7778:


Hi Charles
I'm not sure about the inclusion of the word "The" as prefix to some of the 
provincial names. El - The Eastern Cape. The name is actually just Eaten Cape. 
See link below for official naming.

http://www.gov.za/about-sa/south-africas-provinces

Regards Gavin

> Province data for South Africa via GeoData_ZA.xml and address format for 
> South Africa in GeoData.xml
> 
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Updated] (OFBIZ-7780) Improve readme.md file with respect to description of the loadDefault task

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-7780:

Attachment: OFBIZ-7780-README.md.patch

This patch addresses the issue.

> Improve readme.md file with respect to description of the loadDefault task
> --
>
> Key: OFBIZ-7780
> URL: https://issues.apache.org/jira/browse/OFBIZ-7780
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>  Labels: gradle
> Attachments: OFBIZ-7780-README.md.patch
>
>
> The supporting description in the readme.md file regarding the loadDefault 
> task can be better to avoid confusion.



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


[jira] [Created] (OFBIZ-7780) Improve readme.md file with respect to description of the loadDefault task

2016-07-12 Thread Pierre Smits (JIRA)
Pierre Smits created OFBIZ-7780:
---

 Summary: Improve readme.md file with respect to description of the 
loadDefault task
 Key: OFBIZ-7780
 URL: https://issues.apache.org/jira/browse/OFBIZ-7780
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: Trunk
Reporter: Pierre Smits
Assignee: Pierre Smits


The supporting description in the readme.md file regarding the loadDefault task 
can be better to avoid confusion.




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


[jira] [Commented] (OFBIZ-7771) Allow to define which data the loadDefault Gradle task effectively loads

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7771:
-

Thank you very much. 


> Allow to define which data the loadDefault Gradle task effectively loads
> 
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


Re: Entity and Service definition

2016-07-12 Thread Swapnil Mane
+1 for all suggestions, seems good improvements to me :-)

- Best Regards,
Swapnil M Mane
H otWax Systems
 - *The global leader in innovative
enterprise commerce s**olutions **powered by Apache OFBiz.*
ApacheCon US 2015 Silver Sponsor



On Tue, Jul 12, 2016 at 2:01 PM, Rishi Solanki 
wrote:

> Dear Folks,
>
> While working/reviewing recent work in community, I observed some
> improvement/fixes required at entity and related service implementation.
> For few entities like InvoiceAttribute, InvoiceType, etc. no service exists
> to create/update/delete. At the time of writing migration scripts I always
> see lack of such services, which can be used to define new types or
> attributes. Also Many entities have some other problems in basic design of
> CRUD operations and in definitions;
>
> On further look into this in detail found many such entities which do not
> have services. I would like to propose a refactoring at basic design level
> which covers following which does not impact on functionality we have;
>
> 1) Many entity definitions having relationships with view-entities, like
> OrderHeader entity maintain relationship with OrderHeaderNoteView and
> OrderItemAndShipGroupAssoc. We should remove it, maintain the relationship
> at view-entities level if required. Also change the code where this
> relation is in use.
> 2) Many entities having service implementation exists but they can be
> simply convert into entity-auto, that means can use the power OFBiz
> provides.
> 3) As mentioned initially many entities do not have CRUD services exists,
> we should implement or use entity-auto for them wherever applicable. Also
> remove direct use of delegator for them.
> 4) Many entities having from date and thru date, Or status Or Enumeration
> to manage the historical data, but services actually remove those entity
> data. We should change the service implementation to maintain the
> historical data.
>
> After this effort, OFBiz will have minimum direct use of delegator,
> enriched use of service engine, we would be able to established
> patterns/best practice to introduce a new entities, and writing new
> services.
>
> I would love to hear more improvements in this area from community. We will
> add them in this effort only.
>
>
> Rishi Solanki
> Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
>


[jira] [Commented] (OFBIZ-7771) Allow to define which data the loadDefault Gradle task effectively loads

2016-07-12 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-7771:


Ok, just a quick comment,

After further investigation, I realized that the system does _Exactly_ what 
Pierre wants. Namely:

- If you go to the EntityDataLoadContainer.java you will see that the system 
sets a default value of "none" if no readers are selected
- If the values is "none", then it will fetch the readers list for each data 
source from the  elements

So there you go, your default data is already decided by entityengine.xml. 
Thank you for your feedback, we all learned something in the process.


> Allow to define which data the loadDefault Gradle task effectively loads
> 
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Commented] (OFBIZ-7623) Add "changeByUserLoginId" field for FinAccountStatus

2016-07-12 Thread Nicolas Malin (JIRA)

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

Nicolas Malin commented on OFBIZ-7623:
--

What Jacques ? I'm Nicolas not Gil ! ^^ this is the gil's code 

This issue is http://svn.apache.org/viewvc?rev=1752232=rev and you give 
the code 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/GroovyUtil.java?view=diff=1752230=1752231=1752231


> Add "changeByUserLoginId" field for FinAccountStatus
> 
>
> Key: OFBIZ-7623
> URL: https://issues.apache.org/jira/browse/OFBIZ-7623
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Nicolas Malin
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7623.patch, OFBIZ-7623.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

Thank you for sharing your viewpoint, [~gil portenseigne]. Unfortunately, the 
documentation regarding the 'audit log system' is far below par for me to be 
able to tell whether it suffices or not.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Gil Portenseigne (JIRA)

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

Gil Portenseigne commented on OFBIZ-7622:
-

Adding an option to desactivate logging of status changes (like 
store.login.history.on.service.auth property) is good for your concern. Being 
active by default.

But i don't see the point to track every change on every table, i think it's a 
bit to much. The audit log system will suffice to monitor sensible processes in 
my opinion.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

Yes, let us do that. Does that mean that this now needs to be taken back to the 
dev ml as per suggestion by [~jacques.le.roux] posted in another issue?

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7779:


Updating got this after 1/2 H
{code}
Some sites could not be found.  See the error log for more detail.
Unable to read repository at http://download.eclipse.org/eclipse/updates/4.6.
Unable to read repository at 
http://download.eclipse.org/eclipse/updates/4.6/R-4.6-201606061100/content.jar.
Connection reset
Unable to read repository at http://download.eclipse.org/releases/neon.
Unable to read repository at 
http://download.eclipse.org/releases/neon/201606221000/content.xml.xz.
Read timed out
{code}
No wonder people are turning to IntelliJ after turning to Mac OS. Anyway let's 
see

> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get
> {code}
> org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
> ':compileJava'.
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
>   at 
> org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
>   at 
> org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
>   at 
> org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
>   at 
> org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
>   at 
> org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
>   at 
> org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
>   at 
> org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
>   at 
> 

[jira] [Commented] (OFBIZ-7623) Add "changeByUserLoginId" field for FinAccountStatus

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7623:


I read in the commit comment 
bq. Today only alphabetic variable with '_' are detected (i.e. 
my_variable==null).
and in commit this snippet
{code}
+if (UtilValidate.isNotEmpty(expression)) {
+//analyse expression to find variables by split non alpha, 
ignoring "_" to allow my_variable usage
+String [] variables = expression.split("[\\P{Alpha}&&[^_]]+");
+for (String variable: variables)
+if(!vars.containsKey(variable)) vars.put(variable, null);
+}
{code}

Should we not make this clearer somewhere (not sure how, just asking at this 
point)?

> Add "changeByUserLoginId" field for FinAccountStatus
> 
>
> Key: OFBIZ-7623
> URL: https://issues.apache.org/jira/browse/OFBIZ-7623
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Nicolas Malin
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7623.patch, OFBIZ-7623.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Michael Brohl (JIRA)

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

Michael Brohl commented on OFBIZ-7622:
--

We should take care that this does not happen. It has to be very limited.

My suggestion would cover the initial feature request and the general tracking 
as well of switching it off. Let's see what others think.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Closed] (OFBIZ-7778) Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-7778.
--
Resolution: Done

> Province data for South Africa via GeoData_ZA.xml and address format for 
> South Africa in GeoData.xml
> 
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Updated] (OFBIZ-7778) Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7778:
---
Summary: Province data for South Africa via GeoData_ZA.xml and address 
format for South Africa in GeoData.xml  (was: Please find attached the patch 
file for including Province data for South Africa via GeoData_ZA.xml and 
address format for South Africa in GeoData.xml)

> Province data for South Africa via GeoData_ZA.xml and address format for 
> South Africa in GeoData.xml
> 
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Closed] (OFBIZ-7778) Please find attached the patch file for including Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-7778.
--
Resolution: Fixed

Thanks Charl,

Your patch is in trunk at revision: 1752253  

Welcome :)


> Please find attached the patch file for including Province data for South 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml
> --
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Reopened] (OFBIZ-7778) Please find attached the patch file for including Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reopened OFBIZ-7778:


> Please find attached the patch file for including Province data for South 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml
> --
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

It seems to me, that the list of potential variables of that configuration 
element could and would grow to unmanageable proportions. 

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


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

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7112:
-

TL:DR because of:
* discussions seem to take place in both this issue and OFBIZ-7754 leading to a 
lot of confusion.
* other more important issues need to be addressed first.

As soon as I find the time I will have a proper look and try to work towards a 
solution is acceptable to all.

> EntityUtilProperties
> 
>
> Key: OFBIZ-7112
> URL: https://issues.apache.org/jira/browse/OFBIZ-7112
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Jacques Le Roux
> Fix For: Upcoming Branch
>
> 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] [Assigned] (OFBIZ-7778) Please find attached the patch file for including Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reassigned OFBIZ-7778:
--

Assignee: Jacques Le Roux

> Please find attached the patch file for including Province data for South 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml
> --
>
> Key: OFBIZ-7778
> URL: https://issues.apache.org/jira/browse/OFBIZ-7778
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Upcoming Branch
>Reporter: charl Bouwer
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: Geodate, SouthAfrica, province, regions
> Fix For: Trunk
>
> Attachments: GeoDataZAF01.patch
>
>
> Please find attached the patch file for including Province data for Southh 
> Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml



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


[jira] [Assigned] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reassigned OFBIZ-7779:
--

Assignee: Jacques Le Roux

> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get
> {code}
> org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
> ':compileJava'.
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
>   at 
> org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
>   at 
> org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
>   at 
> org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
>   at 
> org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
>   at 
> org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
>   at 
> org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
>   at 
> org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
>   at 
> org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:158)
>   at org.gradle.internal.Factories$1.create(Factories.java:22)
>   at 
> org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
>   at 
> org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
>   at 
> org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)
>   at 
> org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:36)
>   at 
> 

[jira] [Commented] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7779:


OK Got Neon working starting from https://spring.io/tools/eclipse?JAVA-WIN64

> Update wiki Eclipse pages regarding Gradle
> --
>
> Key: OFBIZ-7779
> URL: https://issues.apache.org/jira/browse/OFBIZ-7779
> Project: OFBiz
>  Issue Type: Task
>  Components: Confluence
>Reporter: Jacques Le Roux
>
> I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
> some issues in my environment (still Windows 7).
> I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.
> First I must say my Mars instance works perfectly, but for few months I'm 
> unable to update. I did not try yet to create another Mars instance because I 
> guess it will anyway screws its update mechanism later :/
> Mars comes with the embedded ["Gradle Buildship" 
> plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 
> 2015-09-22. I found this tuto 
> http://www.vogella.com/tutorials/EclipseGradle/article.html (with a 6/7 
> clone/redundant section).
> Few remarks: I see no Gradle context menu entrie, maybe due to my unability 
> to update Mars, so I'm unable to "add Gradle support to existing Eclipse 
> project ". So I created a Gradle "trunk" side project following , but, though 
> all work well in command line, in Eclipse building with Gradle does not work. 
> I always get
> {code}
> org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
> ':compileJava'.
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
>   at 
> org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
>   at 
> org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
>   at 
> org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
>   at 
> org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
>   at 
> org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
>   at 
> org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
>   at 
> org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
>   at 
> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
>   at 
> org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
>   at 
> org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
>   at 
> org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
>   at 
> org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
>   at 
> org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:158)
>   at org.gradle.internal.Factories$1.create(Factories.java:22)
>   at 
> org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
>   at 
> org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
>   at 
> org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)
>   at 
> org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:36)
>   at 
> 

[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Michael Brohl (JIRA)

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

Michael Brohl commented on OFBIZ-7622:
--

I'd suggest

track.user= off | always | status

off = no tracking at all
always = track for every entity
status = only track status entities 

We may have to think about other cases like status changes and how to handle a 
change in this configuration, but that's for later (at least for me)

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

It is not only interesting, but even more to be regarded as acceptable (and 
unambiguous) ;). 

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Created] (OFBIZ-7779) Update wiki Eclipse pages regarding Gradle

2016-07-12 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-7779:
--

 Summary: Update wiki Eclipse pages regarding Gradle
 Key: OFBIZ-7779
 URL: https://issues.apache.org/jira/browse/OFBIZ-7779
 Project: OFBiz
  Issue Type: Task
  Components: Confluence
Reporter: Jacques Le Roux


I wanted to update the 2 wiki Eclipse pages regarding Gradle. But so far got 
some issues in my environment (still Windows 7).

I use both Eclipse Luna and Mars (Mars at 98%).  Luna does not support Gradle.

First I must say my Mars instance works perfectly, but for few months I'm 
unable to update. I did not try yet to create another Mars instance because I 
guess it will anyway screws its update mechanism later :/

Mars comes with the embedded ["Gradle Buildship" 
plugin|https://gradle.org/eclipse/], I have the 1.0.5 version from 2015-09-22. 
I found this tuto http://www.vogella.com/tutorials/EclipseGradle/article.html 
(with a 6/7 clone/redundant section).

Few remarks: I see no Gradle context menu entrie, maybe due to my unability to 
update Mars, so I'm unable to "add Gradle support to existing Eclipse project 
". So I created a Gradle "trunk" side project following , but, though all work 
well in command line, in Eclipse building with Gradle does not work. I always 
get
{code}
org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
':compileJava'.
at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at 
org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at 
org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at 
org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at 
org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at 
org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at 
org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at 
org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at 
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at 
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at 
org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
at 
org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at 
org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at 
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at 
org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at 
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at 
org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at 
org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at 
org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at 
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at 
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at 
org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:158)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at 
org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at 
org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
at 
org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)
at 
org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:36)
at 
org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:103)
at 
org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:97)
at 
org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at 

[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Julien NICOLAS (JIRA)

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

Julien NICOLAS commented on OFBIZ-7622:
---

Hi Michael & Pierre,

Tracking was already available for the order status.
But maybe it could be interesting to define in general.properties a 
track.user.on.status.change=Y/N that can be manage in the auto-entity process.

What do you think ?

Julien.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


Re: Entity and Service definition

2016-07-12 Thread Rishi Solanki
Thank you Taher, and yes I had the same concern for it, even when we are
working on enforcing noninstantiability, but we will be able to achieve
zero regression till now by doing internal multi-level QA.

Thanks for pointing this, we will ensure before proceeding for any changes.
:)

Rishi Solanki
Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com

On Tue, Jul 12, 2016 at 2:13 PM, Taher Alkhateeb  wrote:

> Hi Rishi,
>
> Great Ideas, +1 for all suggestions.
>
> I only have one warning because this happened in the past: Do not switch
> from Services to entity-auto without being 100% sure this is the right
> thing to do. Sometimes you miss important logic that breaks things
> elsewhere.
>
> Thank you for the initiative, I love this enthusiasm and energy :)
>
> Cheers!
>
> Taher Alkhateeb
>
> On Tue, Jul 12, 2016 at 11:31 AM, Rishi Solanki 
> wrote:
>
> > Dear Folks,
> >
> > While working/reviewing recent work in community, I observed some
> > improvement/fixes required at entity and related service implementation.
> > For few entities like InvoiceAttribute, InvoiceType, etc. no service
> exists
> > to create/update/delete. At the time of writing migration scripts I
> always
> > see lack of such services, which can be used to define new types or
> > attributes. Also Many entities have some other problems in basic design
> of
> > CRUD operations and in definitions;
> >
> > On further look into this in detail found many such entities which do not
> > have services. I would like to propose a refactoring at basic design
> level
> > which covers following which does not impact on functionality we have;
> >
> > 1) Many entity definitions having relationships with view-entities, like
> > OrderHeader entity maintain relationship with OrderHeaderNoteView and
> > OrderItemAndShipGroupAssoc. We should remove it, maintain the
> relationship
> > at view-entities level if required. Also change the code where this
> > relation is in use.
> > 2) Many entities having service implementation exists but they can be
> > simply convert into entity-auto, that means can use the power OFBiz
> > provides.
> > 3) As mentioned initially many entities do not have CRUD services exists,
> > we should implement or use entity-auto for them wherever applicable. Also
> > remove direct use of delegator for them.
> > 4) Many entities having from date and thru date, Or status Or Enumeration
> > to manage the historical data, but services actually remove those entity
> > data. We should change the service implementation to maintain the
> > historical data.
> >
> > After this effort, OFBiz will have minimum direct use of delegator,
> > enriched use of service engine, we would be able to established
> > patterns/best practice to introduce a new entities, and writing new
> > services.
> >
> > I would love to hear more improvements in this area from community. We
> will
> > add them in this effort only.
> >
> >
> > Rishi Solanki
> > Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> >
>


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

Solving such through configuration is a fairly acceptable solution and works in 
my book.


> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

Solving such through configuration is a fairly acceptable solution and works in 
my book.


> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7534) Migrate OFBiz from Apache Ant to Gradle build system

2016-07-12 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-7534:


Hi Charl,

Thank you for the feedback, It's great that you mentioned this item.

I'm working on it and will deliver something very soon for this. Hopefully this 
will be a big improvement to the way it was done in the past because before 
Gradle Ivy just used to download the latest version of the database driver. 
This might not be suitable for your DB in your computer :) So sit tight, I'll 
have something up very soon

> Migrate OFBiz from Apache Ant to Gradle build system
> 
>
> Key: OFBIZ-7534
> URL: https://issues.apache.org/jira/browse/OFBIZ-7534
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Upcoming Branch
>Reporter: Taher Alkhateeb
>Assignee: Taher Alkhateeb
>  Labels: ant, build-tools, gradle
> Attachments: ANT_GRADLE_COMPARISON.txt, OFBIZ-7534.patch, 
> OFBIZ-7534.patch, OFBIZ-7534.patch, OFBIZ-7534.patch, OFBizRemoteJarList.csv, 
> OFBizRemoteJarList.csv, OFBizRemoteJarList.csv, OFBizRemoteJarList.csv, 
> gradle-wrapper.jar
>
>
> This is a major refactoring task referring to the [email 
> thread|http://ofbiz.markmail.org/message/vstt3wxuubmjgmqj?q=Important+Changes+to+Trunk+and+Use+of+Ant+%26+Gradle]
>  in which the community voted for the switch after a proposal from the PMC
> The purpose of this JIRA is to achieve the following objectives
> - Fully implement a working compiling system in Gradle that passes all tests
> - Remove all ant and maven build scripts from the system
> - update the documentation of the system to reflect these changes



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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Michael Brohl (JIRA)

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

Michael Brohl commented on OFBIZ-7622:
--

Maybe... I am no lawyer and not sure where to draw the line between particular 
status changes and the overall implementation of user change tracking.

We could make in configurable.

What do others think?

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


Re: Entity and Service definition

2016-07-12 Thread Taher Alkhateeb
Hi Rishi,

Great Ideas, +1 for all suggestions.

I only have one warning because this happened in the past: Do not switch
from Services to entity-auto without being 100% sure this is the right
thing to do. Sometimes you miss important logic that breaks things
elsewhere.

Thank you for the initiative, I love this enthusiasm and energy :)

Cheers!

Taher Alkhateeb

On Tue, Jul 12, 2016 at 11:31 AM, Rishi Solanki 
wrote:

> Dear Folks,
>
> While working/reviewing recent work in community, I observed some
> improvement/fixes required at entity and related service implementation.
> For few entities like InvoiceAttribute, InvoiceType, etc. no service exists
> to create/update/delete. At the time of writing migration scripts I always
> see lack of such services, which can be used to define new types or
> attributes. Also Many entities have some other problems in basic design of
> CRUD operations and in definitions;
>
> On further look into this in detail found many such entities which do not
> have services. I would like to propose a refactoring at basic design level
> which covers following which does not impact on functionality we have;
>
> 1) Many entity definitions having relationships with view-entities, like
> OrderHeader entity maintain relationship with OrderHeaderNoteView and
> OrderItemAndShipGroupAssoc. We should remove it, maintain the relationship
> at view-entities level if required. Also change the code where this
> relation is in use.
> 2) Many entities having service implementation exists but they can be
> simply convert into entity-auto, that means can use the power OFBiz
> provides.
> 3) As mentioned initially many entities do not have CRUD services exists,
> we should implement or use entity-auto for them wherever applicable. Also
> remove direct use of delegator for them.
> 4) Many entities having from date and thru date, Or status Or Enumeration
> to manage the historical data, but services actually remove those entity
> data. We should change the service implementation to maintain the
> historical data.
>
> After this effort, OFBiz will have minimum direct use of delegator,
> enriched use of service engine, we would be able to established
> patterns/best practice to introduce a new entities, and writing new
> services.
>
> I would love to hear more improvements in this area from community. We will
> add them in this effort only.
>
>
> Rishi Solanki
> Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
>


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

Is the implemented code change of this sub-task through r1752219 then not 
already creating the bigger issue (as you brought forward [~mbrohl])? 

And should we then not revert the changes implemented for this and the other 
sub-tasks of the parent issue just to be cautious? It might also apply to other 
countries.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


Entity and Service definition

2016-07-12 Thread Rishi Solanki
Dear Folks,

While working/reviewing recent work in community, I observed some
improvement/fixes required at entity and related service implementation.
For few entities like InvoiceAttribute, InvoiceType, etc. no service exists
to create/update/delete. At the time of writing migration scripts I always
see lack of such services, which can be used to define new types or
attributes. Also Many entities have some other problems in basic design of
CRUD operations and in definitions;

On further look into this in detail found many such entities which do not
have services. I would like to propose a refactoring at basic design level
which covers following which does not impact on functionality we have;

1) Many entity definitions having relationships with view-entities, like
OrderHeader entity maintain relationship with OrderHeaderNoteView and
OrderItemAndShipGroupAssoc. We should remove it, maintain the relationship
at view-entities level if required. Also change the code where this
relation is in use.
2) Many entities having service implementation exists but they can be
simply convert into entity-auto, that means can use the power OFBiz
provides.
3) As mentioned initially many entities do not have CRUD services exists,
we should implement or use entity-auto for them wherever applicable. Also
remove direct use of delegator for them.
4) Many entities having from date and thru date, Or status Or Enumeration
to manage the historical data, but services actually remove those entity
data. We should change the service implementation to maintain the
historical data.

After this effort, OFBiz will have minimum direct use of delegator,
enriched use of service engine, we would be able to established
patterns/best practice to introduce a new entities, and writing new
services.

I would love to hear more improvements in this area from community. We will
add them in this effort only.


Rishi Solanki
Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Michael Brohl (JIRA)

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

Michael Brohl commented on OFBIZ-7622:
--

That could be a problem at least in Germany, where it is a very sensitive 
subject because you could track when employees changed data and could monitor 
their working behaviour. I did not deeply think about it, just a short notice 
to think about before we implement such a feature.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Updated] (OFBIZ-7771) Allow to define which data the loadDefault Gradle task effectively loads

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7771:
---
Summary: Allow to define which data the loadDefault Gradle task effectively 
loads  (was: Allow to define which data the loadDefault Gradle task effectively 
load)

> Allow to define which data the loadDefault Gradle task effectively loads
> 
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Updated] (OFBIZ-7771) Allow to define which data the loadDefault Gradle task effectivaly load

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7771:
---
Summary: Allow to define which data the loadDefault Gradle task effectivaly 
load  (was: Rename loadDefault to something less ambiguous)

> Allow to define which data the loadDefault Gradle task effectivaly load
> ---
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Updated] (OFBIZ-7771) Allow to define which data the loadDefault Gradle task effectively load

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7771:
---
Summary: Allow to define which data the loadDefault Gradle task effectively 
load  (was: Allow to define which data the loadDefault Gradle task effectivaly 
load)

> Allow to define which data the loadDefault Gradle task effectively load
> ---
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7622:
-

[~julien.nicolas] Isn't it much easier to extend the ModelEntity in 
ModelEntity.java, with something like 'STAMP_FIELD' and such? And have that 
applied in GenericDAO.java?

Now it seems we have something implements for a set of specific cases. But 
having a 'changeByUserLoginId on every entity makes sense.

Best regards,

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Comment Edited] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits edited comment on OFBIZ-7622 at 7/12/16 7:56 AM:
--

[~julien.nicolas] Isn't it much better to extend the ModelEntity in 
ModelEntity.java, with something like 'STAMP_FIELD' and such? And have that 
applied in GenericDAO.java?

Now it seems we have something implemented for a set of specific cases. But 
having a 'changeByUserLoginId on every entity makes sense.

Best regards,


was (Author: pfm.smits):
[~julien.nicolas] Isn't it much better to extend the ModelEntity in 
ModelEntity.java, with something like 'STAMP_FIELD' and such? And have that 
applied in GenericDAO.java?

Now it seems we have something implements for a set of specific cases. But 
having a 'changeByUserLoginId on every entity makes sense.

Best regards,

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Updated] (OFBIZ-7771) Rename loadDefault to something less ambiguous

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-7771:
---
Issue Type: New Feature  (was: Sub-task)
Parent: (was: OFBIZ-7534)

> Rename loadDefault to something less ambiguous
> --
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Comment Edited] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits edited comment on OFBIZ-7622 at 7/12/16 7:55 AM:
--

[~julien.nicolas] Isn't it much better to extend the ModelEntity in 
ModelEntity.java, with something like 'STAMP_FIELD' and such? And have that 
applied in GenericDAO.java?

Now it seems we have something implements for a set of specific cases. But 
having a 'changeByUserLoginId on every entity makes sense.

Best regards,


was (Author: pfm.smits):
[~julien.nicolas] Isn't it much easier to extend the ModelEntity in 
ModelEntity.java, with something like 'STAMP_FIELD' and such? And have that 
applied in GenericDAO.java?

Now it seems we have something implements for a set of specific cases. But 
having a 'changeByUserLoginId on every entity makes sense.

Best regards,

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7771) Rename loadDefault to something less ambiguous

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-7771:


As I like to say
bq. TL;DR will always win against RTFM


> Rename loadDefault to something less ambiguous
> --
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Commented] (OFBIZ-7771) Rename loadDefault to something less ambiguous

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7771:
-

https://xkcd.com/293/

RTFM is not the solution to all issues!

> Rename loadDefault to something less ambiguous
> --
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Julien NICOLAS (JIRA)

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

Julien NICOLAS commented on OFBIZ-7622:
---

For more details, I don't need to use date, and user login because auto-entity 
manage it automatically.

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7622) Add "changeByUserLoginId" field for CustRequestStatus

2016-07-12 Thread Julien NICOLAS (JIRA)

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

Julien NICOLAS commented on OFBIZ-7622:
---

available on trunk r1752219

> Add "changeByUserLoginId" field for CustRequestStatus
> -
>
> Key: OFBIZ-7622
> URL: https://issues.apache.org/jira/browse/OFBIZ-7622
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Julien NICOLAS
> Attachments: OFBIZ-7622.patch, OFBIZ-7622.patch
>
>




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


[jira] [Commented] (OFBIZ-7771) Rename loadDefault to something less ambiguous

2016-07-12 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-7771:


This is a new feature that did not exist in the old system. You are welcome to 
implement it yourself. All I did was to fix an old incorrect naming convention.

If you wish to create a "default by user perspective" feature then go ahead and 
work on it, but then this is not a subtask of migrating from Ant to Gradle so 
please cut this JIRA from the parent JIRA.

> Rename loadDefault to something less ambiguous
> --
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Commented] (OFBIZ-7771) Rename loadDefault to something less ambiguous

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7771:
-

No, I have a convenience called loadDefault that should load *my definition* of 
default data set. In which configuration file do I set the dataset(s) that gets 
loaded by the de convenience task loadDefault?

Did you not read 
https://issues.apache.org/jira/secure/EditComment!default.jspa?id=12988097=15372260
 ?


> Rename loadDefault to something less ambiguous
> --
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Commented] (OFBIZ-7771) Rename loadDefault to something less ambiguous

2016-07-12 Thread Taher Alkhateeb (JIRA)

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

Taher Alkhateeb commented on OFBIZ-7771:


You issue a command directly to the build system.

Please READ the README.md file!

> Rename loadDefault to something less ambiguous
> --
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Comment Edited] (OFBIZ-7771) Rename loadDefault to something less ambiguous

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits edited comment on OFBIZ-7771 at 7/12/16 6:54 AM:
--

In which configuration file do I set that? 



was (Author: pfm.smits):
In what configuration file do I set that? 


> Rename loadDefault to something less ambiguous
> --
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Commented] (OFBIZ-7771) Rename loadDefault to something less ambiguous

2016-07-12 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-7771:
-

In what configuration file do I set that? 


> Rename loadDefault to something less ambiguous
> --
>
> Key: OFBIZ-7771
> URL: https://issues.apache.org/jira/browse/OFBIZ-7771
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Priority: Trivial
>
> The gradle task loadDefault is ambiguous, as it means different things to 
> different uses. This could lead to a situations where it is used in a wrong 
> manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



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


[jira] [Comment Edited] (OFBIZ-7763) Replace bshInterpreter with groovyShell

2016-07-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-7763 at 7/12/16 6:52 AM:
-

Reported issue with probable solution on sub-ticket: OFBIZ-7765


was (Author: rishisolankii):
Reported issue with probable solution on sub-ticket: 
https://issues.apache.org/jira/browse/OFBIZ-7765

> Replace bshInterpreter with groovyShell
> ---
>
> Key: OFBIZ-7763
> URL: https://issues.apache.org/jira/browse/OFBIZ-7763
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7763.patch, beanshell-removal-part1.patch
>
>
> To support the migration to gradle, removing bsh.jar dependency from the 
> project, and improve readability and fonctionnalities following 
> [~deepak.dixit] idea expressed here 
> https://issues.apache.org/jira/browse/OFBIZ-7576?focusedCommentId=15347972



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


  1   2   >