Jacopo Cappellato
bd36135eef
OFBIZ-5692 Wrong eca event set on changeOrderStatus and updateReturnStatusFromReceipt; thanks to Deepak Dixit for the help in testing the fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614019 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 13:09:50 +00:00
Jacopo Cappellato
ecfc14a6bc
${bsh: to ${groovy: scriptlet conversions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613432 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 13:28:20 +00:00
Jacopo Cappellato
4f4f95092c
OFBIZ-4283: miscellaneous enhancements to give more control in the configuration of the DBCP connection pool. Thanks to Philippe Mouawad for the initial contribution that I have used as a starting point for a different implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613431 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 13:19:59 +00:00
Jacques Le Roux
da2da66c39
Fixes some typos in comments of TaxAuthorityServices class
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613245 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 18:55:20 +00:00
Jacques Le Roux
cc2dc59e02
Fixes descriptions in createProductPrice service definition and implementation (no functional changes)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613121 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 13:35:15 +00:00
Jacques Le Roux
9213a01a82
Small update, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613049 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 09:31:59 +00:00
Jacques Le Roux
afe670eefe
Fixes a typo, adds a line at EOF
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612931 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 19:40:54 +00:00
Jacopo Cappellato
f66ab18d6e
Upgrade to Commons DBCP 2; this new version is designed for Java 7 (JDBC 4.1).
...
Commons DBCP 2 relies on Commons Pool 2 and this commits upgrades that jar too.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612909 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 18:26:33 +00:00
Jacopo Cappellato
9c292a15da
Some minor changes for r.1605524: Updated build files to use/require Java 7
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612524 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 09:59:09 +00:00
Jacques Le Roux
48d8184fc1
A Jacopo's patch
...
minimumantversion = 1.9.0
ant-nodeps, javacc, jjtree now in Ant
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612474 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 06:05:38 +00:00
Adrian Crum
e4ba71404a
Fixed a bug in Mini-Language where a NPE could be thrown while using Verbose logging: https://issues.apache.org/jira/browse/OFBIZ-5689 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612205 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 07:50:08 +00:00
Jacques Le Roux
e3fc7fd412
Since we removed the specialpurpose components (but ecommerce), there was an issue with ordermgr js scripts.
...
The problem was double. It'd have been easy to add the missing "/js:" patch in allowedPaths in the web.xml of birt component from where the js scripts are now expected to be loaded in trunk.
But then you would need to also copy the js scripst there (in birt component). You could not simply move them because for upcoming branches we also need them in ordermgr component (they were there in images/js) else they would miss again.
This commit rather adds them under a simple ordermgr-js new webapp (simple, ie like framework/images, only to load resources) under commonext: applications/commonext/webapp/ordermgr-js to prevent the duplication maintenance hazards.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612202 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 07:32:10 +00:00
Jacopo Cappellato
5455dc53d4
Fixed bug I introduced in rev. 1610918: thanks to Deepak Dixit for the bug report and resolution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612190 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 05:56:45 +00:00
Jacques Le Roux
4dcfac549c
ant-nodeps can be re-added later if needed. Eclipse was complaining ("The project cannot be built until build path errors are resolved") though it was actually building it seems, only unable to report other errors, this one was blocking it.
...
I don't change macro.xml (ant-nodep refs) because it might be used later and does not harm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612053 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 08:19:12 +00:00
Jacques Le Roux
db60ba77b9
Most of the time I don't need all this information on screen, only the running command.
...
If you need them simply replace the top ECHO OFF command by ECHO ON
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612050 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 07:53:02 +00:00
Jacques Le Roux
fb62866eee
Removes an useless @SuppressWarnings("deprecation")
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612022 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 06:13:38 +00:00
Jacopo Cappellato
0e2d37fdad
This reverts most of the changes committed in rev.951013 for OFBIZ-3802 because they caused a few issues as reported in the same Jira ticket.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1611321 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 10:58:10 +00:00
Jacques Le Roux
77f16816da
Check properties values
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1611311 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 10:09:35 +00:00
Jacques Le Roux
f302a9a297
Format a bit more BJ's code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1611246 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 04:51:37 +00:00
Jacques Le Roux
406f8ea616
No functional change: forgot to save this formatting just before committing r1611002
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1611200 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 21:38:48 +00:00
Jacques Le Roux
149ba3a471
An updated ands slightly modified patch from BJ Freeman for "allow assignment of port for the Javamail container." https://issues.apache.org/jira/browse/1967
...
currently no property for setting the port to read email from in the javamail container.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1611002 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 13:29:19 +00:00
Jacopo Cappellato
c1e1671ab1
Add missing import from my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610925 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 07:57:01 +00:00
Jacopo Cappellato
3b4e2b7ec5
Fixed miscellaneous errors spotted while reviewing the logs generated by the ArtifactInfo tool.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610918 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 07:16:15 +00:00
Jacopo Cappellato
76ad4975fa
Fix for bug reported in OFBIZ-5338: prevent the risk of adding fields to the response map that are not part of the OUT attributes of the service definition.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610692 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 13:35:56 +00:00
Jacopo Cappellato
b86c3bbdaa
Applied fix contributed by Leon in OFBIZ-4363: In the definition of service "CreateDataResource", there's a (optional) OUT attribute "dataResource" which is used by method "persistDataResourceAndDataMethod" of org.ofbiz.content.ContentManagementServices; the field was never returned by the service.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610685 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 13:30:07 +00:00
Jacques Le Roux
ac2c4a2955
XML escape changed (at least) CommonFollowingErrorsOccurred messages (seen in French). Those are safe to not be escaped
...
Also indentation of the escape
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610425 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 15:12:13 +00:00
Jacopo Cappellato
85f8da63bb
Removed useless, old and incomplete code: OFBIZ-4740 Un-necessary Drop Down in Web Tools Service Reference page
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610420 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 14:51:52 +00:00
Jacopo Cappellato
912cdbcee9
OFBIZ-4854: added from/thru dates to summary box for project resources.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610385 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 11:00:09 +00:00
Jacques Le Roux
9e17ac349e
No functional change, removes an useless commented out attribute line: locale is always present in services contexts
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610380 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 10:39:36 +00:00
Jacopo Cappellato
50f4fa4135
Applied another contribution from Anahita Goljahani to OFBIZ-5592: UX improvement - aligment Chart of Account.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610355 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 08:45:21 +00:00
Jacques Le Roux
3aa0eabfd5
A patch from Pierre Smits for "user in securityPermissionGroup "CONTENT_USER" can't access content application" https://issues.apache.org/jira/browse/OFBIZ-5673
...
When assigning a user to securityPermissionGroup 'CONTENT_USER' this user can't log into the content application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609889 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 07:23:18 +00:00
Jacques Le Roux
ef9582c387
A patch from Pierre Smits for "User with update permission can't access screens in content application" https://issues.apache.org/jira/browse/OFBIZ-5676
...
When a user has security permission 'CONTENTMGR_UPDATE' he should be able to access various screens in the content application, but he can't.
This applies to screens associated to menu-items:
Content
DataSource
Content Setup
DataResource Setup
Template
CMS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609885 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 07:13:49 +00:00
Jacopo Cappellato
c786057c0f
Fix by Darrell Donati for bug reported in OFBIZ-5578: setPackedOnly parameter was not used to prevent a shipment to be moved to its final status.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609418 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 08:36:08 +00:00
Jacopo Cappellato
fe92b15e5b
Fixed bug reported by Christian Carlow in OFBIZ-5599: Facility Pick Stock Moves "Cannot compare: r-value is null" error when ProductFacilityLocation.minimumStock is not set.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609406 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 07:10:42 +00:00
Jacopo Cappellato
d059884bae
Fix by Deepak Dixit for bug reported by Vyom Jain in OFBIZ-5602: Sales Order with dropship item(s) uses non-existent GenericValue field to display supplier information.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609398 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 05:48:26 +00:00
Jacopo Cappellato
94e83e061d
Applied fix by Harsha Chadhar for OFBIZ-5203: after the user pressed a "delete employment position type" button the find screen was not working properly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609394 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 05:28:44 +00:00
Jacopo Cappellato
a22679b352
Fix bug reported and fixed by Igor Ishchenko in OFBIZ-5185: Unable to delete rate associated with employee position
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609389 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 05:10:31 +00:00
Jacopo Cappellato
758c666192
Improved labels of production run associations: thanks to Pierre Smits for the contribution in OFBIZ-5527 (I have modified the Italian labels).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609184 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:43:01 +00:00
Jacopo Cappellato
4e25f81233
Fixed field name in edit customer request screen; thanks to james yong for the report in OFBIZ-3474
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609167 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:19:53 +00:00
Jacopo Cappellato
e439b5b6a6
This is a slightly modified version of the work contributed by Simone Viani in OFBIZ-5619: when a service model was cloned (e.g. when runSync/call-service are invoked passing the require-new-transaction flag) the service was executed with use-transaction set to true, even if the called service is defined to not use it. Also added some checks to make sure that if require-new-transaction is true then also use-transaction must be true.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609155 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 13:56:39 +00:00
Jacopo Cappellato
e2a23a25a8
Removed from "parseEntityXmlFile" the useless require-new-transaction="true" because in this service definition we have use-transaction="false"
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609149 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 13:51:04 +00:00
Jacques Le Roux
bb8634ea7a
Reverts the change in r1608517, better to add a "no shipping" method in product store
...
Keeps the indentations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609147 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 13:32:53 +00:00
Jacopo Cappellato
c7b517df80
Fixed bug reported in OFBIZ-5595 by nguyenthang: invoices status change was not working after the refactoring of the screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609087 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 10:42:02 +00:00
Jacopo Cappellato
92fafc6905
Fixed broken and unnecessary column.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609076 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 10:22:52 +00:00
Jacopo Cappellato
f8453232f1
Fixed wrong tax adjustment types set by the "addtax" service used by the manual invoice editing screens; thanks to Aswath Satrasala for the bug report in OFBIZ-3255
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609065 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 09:40:13 +00:00
Jacopo Cappellato
ef5976a228
Fixed Tomcat internal logging that was broken after the upgrade to the 7 series; log4j configuration for Tomcat is now inline with the one described in http://tomcat.apache.org/tomcat-7.0-doc/logging.html
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609047 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 07:53:23 +00:00
Jacopo Cappellato
b7df4ce3ef
Escaped for html all the messages (including error messages).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608698 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 09:16:25 +00:00
Jacques Le Roux
5d249cf54a
In certain cases you need to protect from possible bugs here. This is what these changes do.
...
Improves indentation
Use real description for "Carrier Shipment Method" instead of only ID
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608526 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 17:50:39 +00:00
Jacques Le Roux
890c43b335
If there are no shipping methods, at least show "no shipping"!
...
Fixes indentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608517 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 17:22:02 +00:00
Jacques Le Roux
9d3acd9f3c
Fixes a bug: can't call PackSession.getShipmentCostEstimate() w/o orderItemShipGroup.contactMechId && orderItemShipGroup.shipmentMethodTypeId && orderItemShipGroup.carrierPartyId && orderItemShipGroup.carrierRoleTypeId)
...
Fixes indentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608495 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 15:37:06 +00:00