Commit Graph
20727 Commits
Author SHA1 Message Date
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
Jacques Le Roux e1caa558a9 Fixes a wrong NPE check
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608491 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 15:33:19 +00:00
Jacques Le Roux 3c10fa1a0f Fixes a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608453 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 13:17:01 +00:00
Jacques Le Roux f60d731836 Replaces svn-external.properties by branch13.7-demo.patch which contains also changes in
url.properties
specialpurpose/build.xml
component-load.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608450 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 13:10:47 +00:00
Jacopo Cappellato 30736047df Removed useless logInfo statement that was causing the user password to be stored in the log files. Thanks to Grégory Draperi for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1608355 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 07:42:15 +00:00
Jacques Le Roux 416d873851 Adds the cron (must be edited/run under ofbizDemo user)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1607791 13f79535-47bb-0310-9956-ffa450edef68
2014-07-04 07:19:52 +00:00
Jacques Le Roux ab3794d0c1 This was stupid all can run under Java 7 (only tests are an issue for branches)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1607786 13f79535-47bb-0310-9956-ffa450edef68
2014-07-04 06:18:41 +00:00
Jacques Le Roux f66f2d79b1 More about ofbizDemo user (its GUID)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1607696 13f79535-47bb-0310-9956-ffa450edef68
2014-07-03 17:13:06 +00:00
Jacques Le Roux af32e75d56 Adds svn-external.properties for new branches
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1607469 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 20:25:53 +00:00
Jacques Le Roux bee28fe7bd A patch from yashwant dhakad for "Promotion item added twice when we use "Add all to cart" via ecommerce order history page." https://issues.apache.org/jira/browse/OFBIZ-5671
Reported by Deepak Dixit:
Steps to reproduce:

- Create an order (productId:WG-5569) as a logged in user.
- Go to eCommerce order history screen.
- Select newly crate order.
- On order status screen we have option to "Add all to cart"
- Click on "Add all to cart".
Current Behavior:
- All item added to cart including promotion item and promotion item added for item WG-5569.
- Now promotion item display twice one for promotion and one a  line item.
Expected Behavior:
- Promotion item should be excluded at the time of "Add all to cart"

jleroux: addToCartFromOrder is only used in ecommerce OOTB (request addordertocart) so it's OK

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1607457 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 19:43:37 +00:00
Jacques Le Roux 41c6d441d9 Adds demo-backup here since the VM is not backuped and we already lost those.
These are not the definitive versions but almost

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1607265 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 07:45:02 +00:00