Commit Graph
21879 Commits
Author SHA1 Message Date
Mridul Pathak 04d1943b09 [OFBIZ-6013, OFBIZ-6090] "Return Selected Item(s)" button broken for manually created returns. Applying patch from OFBIZ-6090. Thanks to Christian Carlow for reporting the initial issue and providing the initial patch. Thanks to Amardeep for providing the updated patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661324 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 11:33:38 +00:00
Jacques Le Roux 2efac6355a Fixes a bug introduced by r1659914 for OFBIZ-5706 & OFBIZ-5709
Thanks to Deepak's report on dev ML:

> +        manufacturer = from("WorkEffortPartyAssignment").where("workEffortId", productionRunId, "roleTypeId", "MANUFACTURER").queryOne();
Here we need to use filterByDate for “ WorkEffortPartyAssignment”.

Actually it was a bit more because WorkEffortPartyAssignment PK is 
      <prim-key field="workEffortId"/>
      <prim-key field="partyId"/>
      <prim-key field="roleTypeId"/>
      <prim-key field="fromDate"/>

So I have also replaced .queryOne() by .queryFirst()



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661323 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 11:10:06 +00:00
Ashish Vijaywargiya 3cdc3e5838 Applied patch from jira issue - OFBIZ-5570 - appendOrderItem Service Not Applying Order Item Attributes.
Thanks Darrell Donati for creating the issue and thanks Divesh for providing the patch. Thanks Pierre for your active participation in the discussion.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661316 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 10:17:06 +00:00
Ashish Vijaywargiya 1fe7d01ca9 Applied patch from jira issue - OFBIZ-6088 - There should not need to setup SystemProperty data on each tenant for specifying path to store tenant images.
Thanks Arun for creating the issue and thanks for providing the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661307 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 09:27:11 +00:00
Sharan Foga cc0e4eb140 Fix incorrect Docbook Syntax OFBIZ-6082
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661303 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 09:10:15 +00:00
Ashish Vijaywargiya 835a77bfa8 Applied patch from jira issue - OFBIZ-4977 - Limitation and issue with delegator.findByPrimaryKeyPartial method : returns error when partialKeyset contains PK value.
Thanks Sumit for creating the issue and providing the patch for the same. Thanks Arun for the verification. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661292 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 06:59:57 +00:00
Ashish Vijaywargiya ff8303bbbb Applied patch from jira issue - OFBIZ-5419 - Ordering a License product sometimes (most often) gives a blank page.
Thanks Jacques for creating the issue and thanks Arun for providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661287 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 06:28:27 +00:00
Jacopo Cappellato 29afa23882 OFBIZ-6071: fix for issue in decrypting entity fields (encrypt="true" in entity definition) in tenant mode. Thanks to Divesh Dutta and Rohit Koushal for the report, the fix and the tests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660579 13f79535-47bb-0310-9956-ffa450edef68
2015-02-18 09:02:15 +00:00
Jacques Le Roux 8c1ad843da A patch from Christian Carlow for "Trunk fails to compile with Java 1.8" https://issues.apache.org/jira/browse/OFBIZ-5835
Build errors occur for trunk due to missing build.xml fileset for party, workeffort, product, order, ebay, and pos apps when using Java 1.8

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660444 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 16:53:19 +00:00
Jacques Le Roux 27c6b8dab5 Actually cleans unitData.xml after r1660412 for OFBIZ-6059
It was already there, I just committed it at r1660392

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660414 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 15:30:00 +00:00
Jacques Le Roux 129994acf2 A patch from Ron Wheeler for "UOM missing 2 entries" https://issues.apache.org/jira/browse/OFBIZ-6059
<Uom abbreviation="Pb" description="Petabyte of Data" uomId="DATA_Pb" uomTypeId="DATA_MEASURE"/>
<UomConversion uomId="DATA_Pb" uomIdTo="DATA_Tb" conversionFactor="1024"/>

were left out when PB was added.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660412 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 15:23:14 +00:00
Jacques Le Roux 046eb40f2a A patch from Ron on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660392 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 14:38:30 +00:00
Sharan Foga 1ad5ca3652 Applied patch from Anahita for OFBIZ-5641
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660389 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 14:21:58 +00:00
Jacopo Cappellato 2b726298eb OFBIZ-6068: patch by Rohit Koushal that fixes a series of ClassCastException happening since rev. 1553890 when accessing some blog fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660053 13f79535-47bb-0310-9956-ffa450edef68
2015-02-16 08:59:35 +00:00
Jacopo Cappellato 4d485d7046 Applied patch contributed by Gareth Carter in OFBIZ-5910: it is a fix for a bug introduced by the fix for OFBIZ-3382.
The issue reported in OFBIZ-3382 and the fix committed for it need to be reviewed and possibly reworked but in the meantime this fix will solve the problem with broken links reported recently.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660031 13f79535-47bb-0310-9956-ffa450edef68
2015-02-16 06:50:41 +00:00
Adrian Crum 98017c1e2e Fix an exception in MacroScreenViewHandler.java - https://issues.apache.org/jira/browse/OFBIZ-6074.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1659965 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 18:24:51 +00:00
Jacques Le Roux 6fa0b5df68 Forgot to commit this "unversioned file" in r1659914, thanks to Pierre for spotting it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1659923 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 13:35:03 +00:00
Jacques Le Roux 0455178476 A patch from Pierre Smits for
"Have parties to be assigned to production run tasks" https://issues.apache.org/jira/browse/OFBIZ-5706
It is not possible to assign parties to execute one or more task in a production run.

And
"ProductionRun doesn't capture and show manufacturing organisation" https://issues.apache.org/jira/browse/OFBIZ-5709
The production run should capture the manufacturing (internal) organisation on creation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1659914 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 11:38:46 +00:00
Jacques Le Roux 9ee507ab1c A patch from Pierre Smits for "Move CuttingListReport.groovy to appropriate folder" https://issues.apache.org/jira/browse/OFBIZ-6069
Currently the file is in the widget folder. This should be in the appropriate actions folder under webapp.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1659508 13f79535-47bb-0310-9956-ffa450edef68
2015-02-13 11:16:24 +00:00
Jacopo Cappellato 34beacd425 Relaxing default behavior of canonicalization in order to allow mixed and multiple encodings: with this change, in these cases, instead of throwing an error it will simply log a worning message.
This should fix, at least as a temporary solution, the recent issues happening after the upgrade to the new ESAPI.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1659224 13f79535-47bb-0310-9956-ffa450edef68
2015-02-12 11:17:46 +00:00
Jacques Le Roux 161a1ada0a A patch from Pierre Smits for "User should be able to delete associated production runs" https://issues.apache.org/jira/browse/OFBIZ-6030
If associations to production runs are set manually in a production run, it should be possible to delete erroneous associations.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658965 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 14:14:31 +00:00
Jacques Le Roux 38e01206cd Fixes a typo in comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658891 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 07:02:17 +00:00
Jacopo Cappellato 06b1108555 Fixed wrong minilang element I have committed recently as part of the currency exchange gain/losses GL transaction handling. Thanks to Deepak Dixit for spotting this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658882 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 06:29:12 +00:00
Jacopo Cappellato 441fa3a2be Completed support to foreign exchange rate gain/losses when a purchase invoice is posted at a different time of the receipt.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658662 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 10:44:02 +00:00
Jacques Le Roux 56894499a8 Fixes a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658623 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:17:56 +00:00
Jacques Le Roux 66499403cb Fixes https://issues.apache.org/jira/browse/OFBIZ-5305 "WebAppUtil.getWebappInfoFromWebsiteId throws IllegalArgumentException when web.xml not found"
I finally prefered to add an empty contenimages webapp.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658622 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:14:49 +00:00
Jacques Le Roux 4879e9c470 This reapplies r1519245: The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658621 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:04:39 +00:00
Jacques Le Roux 5cb93a20bb A README to give some information and references about and how to use the ecomseo webapp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658577 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 21:20:08 +00:00
Ashish Vijaywargiya 804de4890b Applied patch from jira issue - OFBIZ-5986 - Error on accessing new tenant.
Thanks Arun for discussing things with respect to this issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658369 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 11:37:23 +00:00
Jacques Le Roux ec1e40d0d2 Adds json-lib-2.2.3-jdk15.jar to. classpath
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658364 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 11:28:56 +00:00
Jacques Le Roux c267bc7009 Removes duplicates, keep commented out languages I have no ideas about
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658313 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 07:00:14 +00:00
Ashish Vijaywargiya bfe9749b51 Applied patch from jira issue - OFBIZ-5952 - IncomeStatement page broken.
Thanks Deepak for creating the issue and providing the patch for the same.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658310 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 06:36:00 +00:00
Adrian Crum 99763dffaf Fix C&P error in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658214 13f79535-47bb-0310-9956-ffa450edef68
2015-02-08 16:59:09 +00:00
Adrian Crum 480a28508d Add SQL 2003 and JDBC 4 support to JdbcValueHandler.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658211 13f79535-47bb-0310-9956-ffa450edef68
2015-02-08 16:56:26 +00:00
Jacopo Cappellato 8921a7b2e7 Removed debug statements that I have committed by error; thanks to Gil Portenseigne for the review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657848 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 14:51:45 +00:00
Jacques Le Roux d5d1579773 Updates apache Tika jar to 1.7 thanks to Deepak at https://issues.apache.org/jira/browse/OFBIZ-6062
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657790 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 12:47:45 +00:00
Adrian Crum a44b24b6ea Revert rev 1622256 to fix a service definition caching problem - https://issues.apache.org/jira/browse/OFBIZ-6060.
I'm reverting this instead of fixing it because the original commit was a first step in an effort to eliminate ThreadLocal variables in the framework (so we can make better use of multi-threading). But since then I have come to the conclusion that it will not be possible without a framework redesign.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657714 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 23:25:50 +00:00
Jacopo Cappellato 383e1dad96 A series of changes required to properly manage foreign exchange gain and losses when a payment is sent before the purchase invoice is received.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657514 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:26:37 +00:00
Jacopo Cappellato 0d5bab4c73 Fixed wrong classifications (Liability<-->Asset) for the unapplied payments accounts demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657507 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:09:21 +00:00
Jacopo Cappellato 857ef96b4e Added missing association to the demo Company for the Foreign Exchange Gain/Losses account
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657506 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:06:07 +00:00
Jacques Le Roux ab535e27fe Sort lines by blocks and alphabetically
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657332 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 17:25:11 +00:00
Jacques Le Roux a935824f09 This adds commons-discovery-0.5.jar in .classpath. I missed it in r1641037.
In a next commit I will sort the lines. Sorry for the inconvenience, this should have been done when paths changed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657323 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 17:07:27 +00:00
Jacopo Cappellato 8493d5f3cc Fix for error generated by the ViewFacilityInventoryByProduct screen because one of its forms was referencing an undeclared variable. Patch contributed by Deepak Dixit in OFBIZ-6052.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656983 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 04:25:06 +00:00
Jacques Le Roux 64088836d6 A patch from Wei Zhang for "Return <strong> tag for Autocomplete Dropdown highlight" https://issues.apache.org/jira/browse/OFBIZ-6036
I got the highlight text like <strong>US</strong> for Autocomplete Dropdown. See http://demo-trunk-ofbiz.apache.org/example/control/FormWidgetExamples

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656445 13f79535-47bb-0310-9956-ffa450edef68
2015-02-02 12:00:23 +00:00
Jacques Le Roux 19c1dc1c0b Removes a no longer needed comment, this was fixed at r1656198
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656200 13f79535-47bb-0310-9956-ffa450edef68
2015-01-31 14:48:56 +00:00
Jacques Le Roux d7e7028b2f Fixes a trivial bug introduced by Nicolas at r1649965 for OFBIZ-5905
Reported by Eduardo Arellano at https://issues.apache.org/jira/browse/OFBIZ-6049 "Error on Convert Lead"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656198 13f79535-47bb-0310-9956-ffa450edef68
2015-01-31 14:35:32 +00:00
Jacques Le Roux 240ad839a4 A patch from Youssef Khaye to finally fix "Incorrect quantityNotAvailable for OrderItemShipGrpInvRes when issuing items to shipments" https://issues.apache.org/jira/browse/OFBIZ-5364
This patch fixes the problem from a functional point of view and consequently the JUnit test in question.

In fact, functionally speaking, The previous patch is not good in measure or it does not take into account that an OrderItem might use several lines of stock InventoryItem.
orderId     orderItemSeqId  orderItemShipGrpSeqId   InvetoryItemId
10000       000001              10000                               000001
10000       000001              10001                               000001

So by making a stock exit (ItemIssuance) we can afford to cancel the reservation lines for the line of stock in question but not all the lines of stock.
That's why I added the lines in the inventoryItemId research question and then cancel a reservation!

While at it I reverted r1653056 since testMultipleInventoryItemIssuance now passes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656185 13f79535-47bb-0310-9956-ffa450edef68
2015-01-31 11:37:14 +00:00
Nicolas Malin f6bc517122 (OFBIZ-6047) Convert DataSource, Enumeration and Note entites CRUD service from simple to entity-auto. I remove also some end line space on CommonService.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656125 13f79535-47bb-0310-9956-ffa450edef68
2015-01-30 21:41:34 +00:00
Adrian Crum ee70626d67 Fixed a bug caused by recent widget refactoring - https://issues.apache.org/jira/browse/OFBIZ-6041.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656014 13f79535-47bb-0310-9956-ffa450edef68
2015-01-30 13:45:49 +00:00
Jacopo Cappellato e1fa200abb Implemented missing code to properly handle accounting transactions for foreign currency converion rates gain/losses.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655979 13f79535-47bb-0310-9956-ffa450edef68
2015-01-30 10:44:44 +00:00