Commit Graph
15 Commits
Author SHA1 Message Date
Swapnil Mane 9c3a3a4fcf Fixed: If the picklist cancelation process failed, the picklist item shouldn't be marked as cancel
(OFBIZ-4690)

When a transaction is running in which Picklist entity is updated (i.e. canceled), now if the transaction is rollback the picklist status will not be changed but as per previous code, the picklist item's status will get updated i.e. marked as cancel because we called the cancelPicklistAndItems service in async mode

So the situation here was the Picklist is not canceled, but the Picklist items were marked as cancel.

Thus to fix it, call the cancelPicklistAndItems service in sync mode.

Thanks:  Jacques Le Roux for your thoughts.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857813 13f79535-47bb-0310-9956-ffa450edef68
2019-04-19 14:05:59 +00:00
Jacques Le Roux 4dc123f3e3 A patch from Ankit Jain "If Picklist is Cancelled than all the PicklistItem related to that PicklistId should also get Cancel." https://issues.apache.org/jira/browse/OFBIZ-4690
If we cancel a picklist from Manage Picklist screen then this ECA will fire and cancel all the PicklistItem. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1290890 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 22:06:51 +00:00
Hans Bakker 41c1baaed2 update groupbying feature
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1204894 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 10:09:31 +00:00
Joseph Eckard c061159aae Index product keywords when a GoodIdentification is created or updated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@980607 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 23:34:07 +00:00
Joseph Eckard d6f9b1507d Only pass the Product value to indexProductKeywords for a create operation - the value passed for a store operation is not guaranteed to contain all fields used for indexing. If index.delete.on_index=true then this scenario could cause a partial re-index / loss of keywords.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@980606 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 23:33:58 +00:00
Ashish Vijaywargiya 0bc5e998e5 Applied patch from jira issue - OFBIZ-3697 - setLastInventoryCount Service should not be called hourly due to performance issues.
1) In case of large database, when there are so many products into the system, then setLastInventoryCount service consider all the products and update records for them.

2) So it will keep server busy for some time in every one hour. This logic should be improved.

3) Also setLastInventoryCount service does not take facilityId into the account while setting last inventory count in ProductFacility entity. 

Thanks Divesh & Pranay for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933906 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 10:14:28 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \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
2009-04-08 10:54:51 +00:00
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Scott Gray 2fc3bfbe26 Fix problem where if autoCreateKeywords is left blank, keywords are not reindexed when updating the product. Reported by Daniel Kunkel OFBIZ-215.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576726 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 06:36:29 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski b0d13a464c implemented InventoryItemStatus service; set triggers and modified direct calls to store() to call the updateInventoryItem service (there may still be more)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537964 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 19:50:48 +00:00
Andrew Zeneski db02023658 few changes to use entity list iterators when doing inventory lookups; added code to get totals from serialized inventory records; next to add view to get totals (instead of doing math in simple methods)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525264 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 20:30:56 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
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
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 0f3d92aafc Conversion from MIT to ASL2.0 for all the files of the product component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422391 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:11:40 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00