Re: svn commit: r1331995 - /ofbiz/trunk/build.xml

2012-04-30 Thread Jacques Le Roux
OK you are both right (though I don't think this one does not put any harms on performance or ressources). Then we need a mean to pass parameters through ant start target : http://ant.apache.org/manual/Tasks/property.html Jacques From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com

Re: svn commit: r1331995 - /ofbiz/trunk/build.xml

2012-04-30 Thread Adrian Crum
From my perspective, this is the same concept as the port settings - provide some basic defaults and let users change them with patches. If I want to enable memory dumps on my local copy, then I can apply a patch that turns them on. Indeed, I have a patch called local-dev that configures a

Release branch 12.04 is now available

2012-04-30 Thread Jacopo Cappellato
Today I have created the new release branch 12.04 https://svn.apache.org/repos/asf/ofbiz/branches/release12.04 this is the feature freeze release with latest features from trunk; from now on we will backport fixes only. The tentative release schedule for this branch is described in:

Re: Release branch 12.04 is now available

2012-04-30 Thread Adrian Crum
Thanks Jacopo! -Adrian On 4/30/2012 9:14 AM, Jacopo Cappellato wrote: Today I have created the new release branch 12.04 https://svn.apache.org/repos/asf/ofbiz/branches/release12.04 this is the feature freeze release with latest features from trunk; from now on we will backport fixes only.

Re: Release branch 12.04 is now available

2012-04-30 Thread Jacques Le Roux
I reverted the -XX:+HeapDumpOnOutOfMemoryError just after the release was created (actualy almost in the same time, no luck). I will revert it from there also Jacques From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com Today I have created the new release branch 12.04

Re: Release branch 12.04 is now available

2012-04-30 Thread Jacopo Cappellato
I am sorry... but happy in the same time because we have now tested the scripts :-) Jacopo On Apr 30, 2012, at 10:38 AM, Jacques Le Roux wrote: I reverted the -XX:+HeapDumpOnOutOfMemoryError just after the release was created (actualy almost in the same time, no luck). I will revert it from

Re: framework/base tests failing (was: recent HashCrypt changes, and using salt-based password hashing)

2012-04-30 Thread Jacopo Cappellato
On Apr 23, 2012, at 3:47 PM, Adrian Crum wrote: I tried experimenting with the sleep timing and I also replaced the Thread.sleep call with a safer version, but the tests still failed. interesting... but if you change the Thread.sleep timeout from 200 to 2000 it works, right? Jacopo

Re: svn commit: r1326064 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/FileUtil.java catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

2012-04-30 Thread Sam Hamilton
Hi Jacques, Quick question - does this setting mean that now if you uncomment framework/config/ofbiz-containers.xml cluster settings it wont cluster and that you should also add a distributable/ tag to all the web.xml files? Thanks Sam On 14 Apr 2012, at 15:30, jler...@apache.org wrote:

[jira] [Commented] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread yashwant dhakad (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13264863#comment-13264863 ] yashwant dhakad commented on OFBIZ-4813: Jacques, I think this should be

Re: framework/base tests failing

2012-04-30 Thread Adrian Crum
On 4/30/2012 10:27 AM, Jacopo Cappellato wrote: On Apr 23, 2012, at 3:47 PM, Adrian Crum wrote: I tried experimenting with the sleep timing and I also replaced the Thread.sleep call with a safer version, but the tests still failed. interesting... but if you change the Thread.sleep timeout

[jira] [Commented] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13264877#comment-13264877 ] Jacques Le Roux commented on OFBIZ-4813: Hi Yashwant, See my comment above:

Re: svn commit: r1326064 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/FileUtil.java catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

2012-04-30 Thread Jacques Le Roux
Hi Sam, Yes: http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html#Cluster_Basics http://wiki.metawerx.net/Wiki.jsp?page=web.xml.Distributable Also consider property name=apps-cross-context value=true/ property name=apps-context-reloadable value=true/ (false by default) If you use sticky

[jira] [Commented] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread Deepak Dixit (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13264878#comment-13264878 ] Deepak Dixit commented on OFBIZ-4813: - Jqcques, This is related to

Re: framework/base tests failing

2012-04-30 Thread Jacopo Cappellato
If, as Adam mentioned, it is an issue caused by the time-slice in your box, then setting a greater timeout may fix the issue... if you will be able to make it work with, let's say 600 ms (or even 1s) then I would like to commit the change to make the test a bit more robust (even if it will be

Re: framework/base tests failing

2012-04-30 Thread Adrian Crum
I will give it a try, but it will have to wait until tomorrow. -Adrian On 4/30/2012 12:42 PM, Jacopo Cappellato wrote: If, as Adam mentioned, it is an issue caused by the time-slice in your box, then setting a greater timeout may fix the issue... if you will be able to make it work with,

Re: framework/base tests failing

2012-04-30 Thread Pierre Smits
This issue seems to be a same kind of problem as the change of test ports in trunk. Why are we so adament that end users should and must apply patches in their own test environment regarding test ports, while we - on the other hand - are trying to fix something in trunk that is along the same

Re: framework/base tests failing

2012-04-30 Thread Adrian Crum
The two are vastly different. Configuring ports is something the end user is responsible for. Cache unit tests that are failing need to be fixed. Configuration != failed unit tests. -Adrian On 4/30/2012 12:58 PM, Pierre Smits wrote: This issue seems to be a same kind of problem as the change

Re: framework/base tests failing

2012-04-30 Thread Jacopo Cappellato
Thank you Adrian, and of course there is no rush at all. Jacopo On Apr 30, 2012, at 1:45 PM, Adrian Crum wrote: I will give it a try, but it will have to wait until tomorrow. -Adrian On 4/30/2012 12:42 PM, Jacopo Cappellato wrote: If, as Adam mentioned, it is an issue caused by the

help for security system

2012-04-30 Thread rahul das probal
sir, when i create an user as employee of company x and give him permission to access and create organization GL like chart of account or transaction the employee of company x can make it not from only company x but also from others company.eg. though he is an employee of company x he can manage

Re: Release branch 12.04 is now available

2012-04-30 Thread Sanjeev Gupta
Thanks Jacopo !! Is there a list of new features (over and above 11.04) that have been included in this release ? - Rgds Sanjeev www.sanjeevg.com @sanjeevgcom -- View this message in context: http://ofbiz.135035.n4.nabble.com/Release-branch-12-04-is-now-available-tp4597647p4597810.html

Re: svn commit: r1326064 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/FileUtil.java catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

2012-04-30 Thread Pierre Smits
Jacques, If I have this tag in the web.xml, but the change is tested in an unclustered environment what do you thing the result would be? Is it of no effect, would it fail? Regards, Pierre 2012/4/30 Jacques Le Roux jacques.le.r...@les7arts.com Hi Sam, Yes:

Re: framework/base tests failing

2012-04-30 Thread Pierre Smits
Adrian, I accept that there is a difference, but using vastly is an exaggeration. Are we going to provide a fix for this issue, whereby end-users can tweak this in there own environment (by e.g. a configuration setting), or are we just trying to find an optimal number so that these test don't

Re: framework/base tests failing

2012-04-30 Thread Adrian Crum
This is NOT a configuration issue. Please stop trying to turn it into one. -Adrian On 4/30/2012 1:23 PM, Pierre Smits wrote: Adrian, I accept that there is a difference, but using vastly is an exaggeration. Are we going to provide a fix for this issue, whereby end-users can tweak this in

Re: framework/base tests failing

2012-04-30 Thread Pierre Smits
Is it so difficult to answer the questions? I did not state that it should be a configuration setting. I was just asking a few civilized questions in order to understand it more. Regards, Pierre 2012/4/30 Adrian Crum adrian.c...@sandglass-software.com This is NOT a configuration issue.

[jira] [Commented] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13264896#comment-13264896 ] Jacques Le Roux commented on OFBIZ-4813: Thanks Deepak, I will have a closer

Re: framework/base tests failing

2012-04-30 Thread Adrian Crum
whereby end-users can tweak this in there own environment (by e.g. a configuration setting) There has been plenty of discussion on this already. Please read the previous replies, and the Jira issue mentioned in the replies. -Adrian On 4/30/2012 1:33 PM, Pierre Smits wrote: Is it so

[jira] [Assigned] (OFBIZ-4753) After session timeout, ajax popup dialogbox shows ofbiz login screen.

2012-04-30 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-4753: -- Assignee: Jacques Le Roux (was: Ashish Vijaywargiya) After session timeout, ajax

[jira] [Updated] (OFBIZ-4753) After session timeout, ajax popup dialogbox shows ofbiz login screen.

2012-04-30 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-4753: --- Description: This is related to OFBIZ-4256. Need to port the same for release 11.04. If the

Re: framework/base tests failing

2012-04-30 Thread Jacopo Cappellato
Pierre, please also consider that the dev list should be used by OFBiz committers to discuss about development and project related tasks; we are happy if non committers follow the discussions and participate to votes (non binding votes) but they should limit the number of posts in the dev list

[jira] [Updated] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread yashwant dhakad (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yashwant dhakad updated OFBIZ-4813: --- Attachment: OFBIZ-4813-R11.04.patch Here is the path for release 11.04 branch,

Re: Release branch 12.04 is now available

2012-04-30 Thread Jacopo Cappellato
I have also updated the svn page: https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Source+Repository+and+Access As a side note, I have removed from the page a couple of sections: 1) the old svn repos as it was no more working 2) the instructions about svn export rather than svn co; I

Re: Release branch 12.04 is now available

2012-04-30 Thread Jacopo Cappellato
Hi Sanjeev, please consider that 12.04 is not a release yet; you can use the information in this page: https://cwiki.apache.org/confluence/display/OFBIZ/Main+New+Features (and children pages to get an idea of the new features). Jacopo On Apr 30, 2012, at 12:14 PM, Sanjeev Gupta wrote:

Re: Release branch 12.04 is now available

2012-04-30 Thread Jacques Le Roux
Help yourself https://cwiki.apache.org/confluence/display/OFBIZ/Main+New+Features Jacques From: Sanjeev Gupta subscr...@sanjeevg.com Thanks Jacopo !! Is there a list of new features (over and above 11.04) that have been included in this release ? - Rgds Sanjeev www.sanjeevg.com

Re: svn commit: r1326064 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/FileUtil.java catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

2012-04-30 Thread Jacques Le Roux
Pierre, I did not test, but I believe it's only used in a clustered environment and should have any impacts in other cases. It makes only a webapp distributable. Before we added this, all were distributable by default, which could annoying in certain circumstances. So adding it in web.xml

Re: svn commit: r1326064 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/FileUtil.java catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

2012-04-30 Thread Scott Gray
This is not a good implementation, simply searching the web.xml file for a string containing distributable/ is not good enough. It'll find the tag even if commented out and and won't find the tag distributable / (space before closing, perfectly valid). I'm surprised this got past you Jacques.

Re: svn commit: r1326064 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/FileUtil.java catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

2012-04-30 Thread Pierre Smits
Looking for 'distributable' I found no reference in any web.xml. However I found in *-containers.xml the reference: property name=apps-distributable value=false/!-- you must also set all the webapps you want distributable, by adding distributable/ in their web.xml file -- If I understand it

[jira] [Commented] (OFBIZ-4838) Party Manager Party StatusId Update Fails

2012-04-30 Thread Tom Burns (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13264947#comment-13264947 ] Tom Burns commented on OFBIZ-4838: -- OFBIZ-4838 Party Group Status Change.patch has been

Customer Return invoice and credit Note invoice

2012-04-30 Thread Nicolas Malin
Hi all, At present, credit note is managed by Customer Return Invoice (CUST_RTN_INVOICE) and generated by an order return process. if I am not mistaken, I didn't found how to generate a Credit Note from an existing invoice. Is Credit Note different than Customer Return or is same notion (My

Re: Customer Return invoice and credit Note invoice

2012-04-30 Thread Pierre Smits
Nicolas, The credit note is different to the Customer Return as it goes beyond just the return of goods or the order return process. A credit note can also be issued due to stating wrong prices on an invoice (as opposed to what has been agreed upon in contracts). It might the result of a

Re: svn commit: r1326064 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/FileUtil.java catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

2012-04-30 Thread Jacques Le Roux
You are right Scott, this can be improved... Jacques From: Scott Gray scott.g...@hotwaxmedia.com This is not a good implementation, simply searching the web.xml file for a string containing distributable/ is not good enough. It'll find the tag even if commented out and and won't find the tag

Re: svn commit: r1326064 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/FileUtil.java catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

2012-04-30 Thread Jacques Le Roux
Ha yes, I already put a comment there and it's actually clear: you need to set both to have a webapp distributable ie property name=apps-distributable value=true/ in ofbiz-container.catalina-container AND distributable/ in each webapp you want to distribute Jacques From: Pierre Smits

[jira] [Reopened] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reopened OFBIZ-4813: Mmm, there are conflicts, will see later... ajax autocomplete and dialog

[jira] [Commented] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13265122#comment-13265122 ] Jacques Le Roux commented on OFBIZ-4813: Ha sorry Yashwant, missed your patch

Re: Release branch 12.04 is now available

2012-04-30 Thread Ashish Vijaywargiya
Thanks Jacopo! -- Ashish On Mon, Apr 30, 2012 at 1:44 PM, Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com wrote: Today I have created the new release branch 12.04 https://svn.apache.org/repos/asf/ofbiz/branches/release12.04 this is the feature freeze release with latest features from

[jira] [Closed] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4813. -- Resolution: Fixed Fix Version/s: Release Branch 11.04 Thanks Yashwant, Your A modified

[jira] [Issue Comment Edited] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13265152#comment-13265152 ] Jacques Le Roux edited comment on OFBIZ-4813 at 4/30/12 7:52 PM:

[jira] [Closed] (OFBIZ-4753) After session timeout, ajax popup dialogbox shows ofbiz login screen.

2012-04-30 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4753. -- Resolution: Duplicate Duplicate of OFBIZ-4813 After session timeout, ajax

[jira] [Created] (OFBIZ-4848) Create return invoice from invoice

2012-04-30 Thread Nicolas Malin (JIRA)
Nicolas Malin created OFBIZ-4848: Summary: Create return invoice from invoice Key: OFBIZ-4848 URL: https://issues.apache.org/jira/browse/OFBIZ-4848 Project: OFBiz Issue Type: New Feature

[jira] [Updated] (OFBIZ-4848) Create return invoice from invoice

2012-04-30 Thread Nicolas Malin (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4848: - Attachment: OFBIZ-4848.patch To test, search a sales or purchase invoice with a status differant

Re: Customer Return invoice and credit Note invoice

2012-04-30 Thread Nicolas Malin
Le 30/04/2012 18:40, Pierre Smits a écrit : Nicolas, The credit note is different to the Customer Return as it goes beyond just the return of goods or the order return process. A credit note can also be issued due to stating wrong prices on an invoice (as opposed to what has been agreed upon in

Re: svn commit: r1326064 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/FileUtil.java catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java

2012-04-30 Thread Scott Gray
That's an understatement and could actually be said of every patch in jira, shall we just go ahead and commit them all? We can improve them later right? Reading an xml file character by character to find something is like driving in a nail with the claw side of a hammer. It sort of works,

[jira] [Commented] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

2012-04-30 Thread yashwant dhakad (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13265625#comment-13265625 ] yashwant dhakad commented on OFBIZ-4813: Thanks Jacques. ajax

[jira] [Commented] (OFBIZ-4829) Missing decorator location in ExampleExt component:

2012-04-30 Thread yashwant dhakad (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13265628#comment-13265628 ] yashwant dhakad commented on OFBIZ-4829: Thanks Erwan. Missing

[jira] [Commented] (OFBIZ-4753) After session timeout, ajax popup dialogbox shows ofbiz login screen.

2012-04-30 Thread Deepak Dixit (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-4753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13265632#comment-13265632 ] Deepak Dixit commented on OFBIZ-4753: - Thanks Jacques. :) After