Commit Graph
16007 Commits
Author SHA1 Message Date
Hans Bakker 3d2fc9f2fc add support email address to the company for demo purposes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040878 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 06:57:27 +00:00
Hans Bakker f05c14073d add an default purpose parameter to the getPartyEmail service to allow the selection of a specific purpose email
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040867 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 03:37:46 +00:00
Anil Patel 15bb00bbc6 Simplified code in EditShipment screen. Its real simple screen but had some really complex code. Ftl was not needed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040865 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 03:11:44 +00:00
Adam Heath 86b3d1d577 Add some calcAndAddTax variants that allow ship groups without an
address to be skipped.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040836 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 00:19:19 +00:00
Adam Heath 50e04ed280 Add helper method on CartShipInfo to clear all tax info, on the group
and its items.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040835 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 00:19:13 +00:00
Adam Heath db80ed5260 Oops, fix errant paste into wrong line, </td> was placed inside the
</#if>, instead of outside.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040834 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 00:19:06 +00:00
Adam Heath d241a1049a Fix several xml files that had DOS line endings; converted them to UNIX,
so that on fresh checkouts they will be auto-converted to native.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040833 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 00:15:17 +00:00
Adam Heath c63b8db8be When addSuggestionsToShoppingList was called with a non-existant
shoppping list, and it tried to create a new one(based on auto-save), it
wasn't passing the productStoreId to the service.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040805 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:04:23 +00:00
Adam Heath 3f8df78fea Fix some missing " in attribute value definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040804 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:04:16 +00:00
Adam Heath f0cd365956 Allow optimizeForLargeRuleSet to be specified when calling
calculateProductPrice; previously, it was always hard-coded to false.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040803 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:04:11 +00:00
Adam Heath 6cf143c8db If the last item of an approved order is cancelled, and a new item is
then added, the orderItemSeqId would be reused.  This is because
OrderReadHelper.getValidOrderItems() does not return cancelled/rejected
items, so the loop to find the highest orderItemSeqId wouldn't consider
them.  This means we have to loop over all items, to find the highest
value, then skip the invalid ones locally.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040802 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:04:04 +00:00
Adam Heath b1fbc9800d Remove uses of delegator.findByPrimaryKey(Cache)?, and replace with findOne.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040801 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:58 +00:00
Adam Heath 58a261d393 Fix method updateProductWithReviewRatingAvg, it wasn't storing the productId correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040800 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:51 +00:00
Adam Heath 3f8ba48174 Make use of several copy() helper methods in UtilIO; these methods all use an internal buffer, instead of the old code that copied 1 byte or 1 character at a time.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040799 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:46 +00:00
Adam Heath 192418385b Several utility methods for copying streams and
readers/writers/appendable.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040798 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:40 +00:00
Adam Heath b42218b540 The poster of a review(UserLogin) may not have a party attached, so
protect against a NPE.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040797 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:34 +00:00
Adam Heath 4b9c6d3fca postedPerson can be null(because no userLogin was attached to the
review), so protect against its access.  What would happen is when no
userLogin was available for the review, the table cell would not be
rendered, and the rest of the row cells would shift.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040796 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:29 +00:00
Adam Heath 9e4d9718f2 There is a race condition during shutdown, where the ofbiz java process
is no longer up, and responding to status requests, but the jsvc process
that managed the pid file has not yet stopped.  This means that the
existance test of the pidfile may succeed, but the removal of the
pidfile will fail, as the jsvc process itself removes it.  So, do a
forced removal, which then allows the rm to succeed, and the init script
no longer exits early.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040795 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:23 +00:00
Adam Heath 5c90b0507e When compiling, don't include the ant runtime classes; this makes the
compiled output more stable, and not depending on any random included
ant support libs.  If any are needed, they need to be explicitly added.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040794 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:19 +00:00
David E. Jones f2dff15007 Undo part of the changes from Hans in rev 1037624 which caused the system to reset the delegator to the base delegator and ignore the user's specified tenant
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040651 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 17:35:05 +00:00
Jacques Le Roux d2d3552892 Generalizes by using countries.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040440 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 09:01:51 +00:00
Jacques Le Roux f517be11ef revert r1037521 "Preselect default country into drop down" (https://issues.apache.org/jira/browse/OFBIZ-4013) - OFBIZ-4013
This is not how it should be done. For instance when you update a postal address from a party profile you always get selected the default country. OFBiz records correctly the change underneath but it's confusing as you don't see the right information on screen

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040426 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 07:45:53 +00:00
Erwan de Ferrieres 1778a5c41f Closing a not closed tc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040188 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 16:56:36 +00:00
Ashish Vijaywargiya 468b6ec109 Bug fix.
Removed hard coded viewSize value from FindGeneric.groovy file. If viewSize is not available in parameters then read defaultViewSize from widget.properties and set it as a viewSize. Hard coded view size create inconsistency in pagination. i.e If result contains 15 items then view size displayed in dropdown is 20 and only (1 - 10 of 15 ) items displayed as a search result.

Thanks Deepak & Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040091 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 12:46:58 +00:00
Jacques Le Roux bbc854feb9 According to Dukian at OFBIZ-4031 those lines should be removed. I just kept 2 duplicates in Chinese, and one in German
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040078 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 11:46:56 +00:00
Jacques Le Roux 600bac5ad9 A patch from Sascha Rodekamp "Redirect from Http to Https causes double service call" (https://issues.apache.org/jira/browse/OFBIZ-3988) - OFBIZ-3988
The problem is, when you call a request over http, but the controller wants an https request, the RequestHandler make an redirect to https (which is indeed pretty cool). But this redirect causes that Events/ Services will be called twice. This can be avoided when we return from the Service/ Event directly after doing the redirect.
Example: http://localhost:8080/ecommerce/control/setdistributor?distributor=4711

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040044 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 09:33:39 +00:00
Scott Gray e7961c147e Switched processWorkEffortEventReminder to use an EmailTemplateSetting record instead of its own property file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040016 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 05:37:56 +00:00
Scott Gray 0fc0ea4ad5 Extract processWorkEffortEventReminder out to a service so that the implementation can be overridden if desired. Deprecates org.ofbiz.workeffort.workeffort.WorkEffortServices.processEventReminder(DispatchContext, GenericValue, Map<String, Object>), use the processWorkEffortEventReminder service instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039980 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 23:29:44 +00:00
Jacques Le Roux a804ea3f5e Fixes the last error remaining from r1039574, OFBIZ-4031
Thanks to Dukian's help

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039892 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 15:31:28 +00:00
Jacques Le Roux 2c52e196f9 Fix a bug reported by Bruno on dev ML.
It was introduced by r1039574, related to OFBIZ-4031 
I guess Bruno discovered it while working on MyPortal. So it could be that there are more errors like this (<value> tags outside of the <property> tags)

Unfortunately
* The are not reported as errors by XSD when you load the file in an XML editor
* The Label manager does not report them
* The patch is 93074 lines and 5MB
* It's hard to scan this kind of errors in a patch even a small one



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039859 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 10:14:16 +00:00
Jacques Le Roux d555ce6c36 Fix duplicates in labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039858 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 09:56:44 +00:00
Scott Gray a0771ae85d Remove method that was a duplicate of the superclass method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039772 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 22:14:35 +00:00
Scott Gray 4ec14a82cb Remove redundant null check
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039771 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 22:14:25 +00:00
Scott Gray 5d3699e21b Formatting cleanup, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039770 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 22:14:16 +00:00
Scott Gray 3f34e1fdef Deprecated the ContainerField's id field and getter/setter, this sort of thing is already handled by ModelFormField
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039769 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 22:14:07 +00:00
Scott Gray 8391f99d84 [OFBIZ-4036] Form widget display field descriptions were still being encoded when encode-output was set to false. Bug reported by Bruno Busco.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039767 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 21:51:01 +00:00
Jacques Le Roux 66c5dd10a0 A patch from Dukian "Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup" (https://issues.apache.org/jira/browse/OFBIZ-4031) - OFBIZ-4031
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039574 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 21:56:14 +00:00
Hans Bakker 50cd9ce3ee make link from commevent to role optional so all commevents will be found even without a role
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039358 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 13:58:20 +00:00
Jacques Le Roux bfc89cc920 Fix a small bug reported by Anne Jessel on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039343 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 13:23:57 +00:00
Hans Bakker 19b0d3bcf8 soap session not closed after transfer, corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039262 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 07:53:51 +00:00
Ashish Vijaywargiya c582896678 Bug Fix.
If someone working in different time zone(For ex: PST) then updating, deleting records from db gives error on the console. 

Thanks Amit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039256 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 07:38:33 +00:00
Hans Bakker 78b5293c60 change style of new blog article button
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039243 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 03:16:45 +00:00
Ashish Vijaywargiya 0d7010f561 Bug fix. If we have lot of category on CategoryRollup page then pagination is not working.On this page it is showing few categories & after certain limit it is also not showing remaining category.This patch will fix this issue.
Thanks Amit for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1038990 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 10:26:29 +00:00
David E. Jones 872a21e20a Improved error message when map-name for field isn't a Map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1038893 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 02:04:30 +00:00
Hans Bakker 350dc3c0ed add root condition for initial path and add multi tenant condition in the login screen of myportal
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1038543 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 09:55:16 +00:00
David E. Jones 524525fa00 Fixed bug with new group-columns attribute when set to false the hidden fields were not rendering
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1038487 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 05:51:12 +00:00
Andrew Zeneski e45861d1b7 addressing JIRA OFBIZ-4029; where the CNP response was being clobbered by the CP response; this addresses the issue and includes a few minor clean-ups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1038317 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 20:14:57 +00:00
Andrew Zeneski 88817e1192 added order party Id override when loading cart from a shopping list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1038278 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 18:58:42 +00:00
Jacques Le Roux 4d55dcdae8 A patch from Sascha Rodekamp "Paging for products in category mgr is not correct" (https://issues.apache.org/jira/browse/OFBIZ-4033) - OFBIZ-4033
As you can see at https://demo-trunk.ofbiz.apache.org/catalog/control/EditCategoryProducts?productCategoryId=100
The number of products is 'one' (but there are more than one). It's related to the distinct operator in the EntityFindOptions.

This patch fixes the issue and shows the paging in the right way.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1038228 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 17:51:13 +00:00
Jacques Le Roux b8689d9e7a A patch from Sascha Rodekamp "Security Update for forgotten passwords " (https://issues.apache.org/jira/browse/OFBIZ-3842) - OFBIZ-3842
Improve the a random Password generation when the "require new password" function is called. In the current Trunk it's a kind of hard coded password that will be send to the user. After generating a new pass the "requireNewPassword" flag will be set to true (configurable).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1038209 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 17:13:53 +00:00