I have tested this patch extensively and now things looks more accurate.
I agree with the issues specified from Mridul in the jira issue.
Thanks Mridul for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786013 13f79535-47bb-0310-9956-ffa450edef68
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
I moved the change owner logic to a separate service and and added seca rule to invoke it after all accounting transactions are in place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@710035 13f79535-47bb-0310-9956-ffa450edef68
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
1) when an inventory item is updated using the "updateInventoryItem" service, the output parameter "oldOwnerPartyId" is mandatory.
So, if the ownerPartyId field is not set in the InventoryItem (for example, it is not set in the OFBiz demo data) then an error is returned. I've fixed it by retrieveng the owner from the facility.
Should we make the ownerPartyId a mandatory parameter for the createFacility service? If you agree I'll commit a patch for this.
2) when an inventory transfer is completed, the service that balances the inventory reservations must be called; it is now done using a seca
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428665 13f79535-47bb-0310-9956-ffa450edef68