Commit Graph
27737 Commits
Author SHA1 Message Date
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
Ashish Vijaywargiya 68c43b3d69 Bug fix. Code should not read all the message from the Inbox. Code will only fetch the newly received message. Currently it is generating log message for all the Inbox message that is of no use and unnecessarily keeps system busy.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037883 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 20:56:07 +00:00
Hans Bakker ef76d5387d small adjustment fo multitenant, redirecting url in jsp did not work properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037624 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 07:55:56 +00:00
Jacques Le Roux d699ac5a57 A patch from Willem Janssen "Error in service signUpForContactList" (https://issues.apache.org/jira/browse/OFBIZ-4001) - OFBIZ-4001
The service signUpForContactList does not store the email address of the new entry to the list, instead it uses the email address of the first partyId NA to store to the list.

The service signUpForContactList calls service createContactListParty that has a check on a missing contactMechId. However this parameter is not a parameter that is used by the signUpForContactList service. So the check on the contactMechId has always the same result, it is missing!

signUpForContactList uses parameter prefferedContactMechId so I made a patch that adds the check on this parameter to createContactListParty. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037567 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 21:40:39 +00:00
Jacques Le Roux 03515798f6 A patch from Eric de Maulde "Service Engine can't display sendMail service" (https://issues.apache.org/jira/browse/OFBIZ-4019) - OFBIZ-4019
There's an error into file AvailableServices.groovy to open sendMail service


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037560 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 21:12:43 +00:00
Jacques Le Roux ac2e687b61 A modified patch from Anne Jessel "title-property should be titleProperty" (https://issues.apache.org/jira/browse/OFBIZ-4018) - OFBIZ-4018
Anne: some screen widgets set the field title-property instead of titleProperty. This causes errors in the logs, and means that the page title is not being set.
While preparing this patch, I discovered the labels referred to by some of these titleProperties were not available in Order component. However the missing ones were in Ecommerce. So I copied the missing ones to OrderUiLabels.xml.

JLR: instead of copying labels in OrderUiLabels.xml, I moved them to CommonUiLabels.xml: less and more consistent changes in the future.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037559 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 21:07:19 +00:00
Jacques Le Roux afeee2c250 A patch from Eric de Maulde "Preselect default country into drop down" (https://issues.apache.org/jira/browse/OFBIZ-4013) - OFBIZ-4013
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037521 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 18:33:41 +00:00
Jacques Le Roux 7e9b9bd56b Fixes "Secure URL when reading messages (readmessage?communicationEventId)" (https://issues.apache.org/jira/browse/OFBIZ-4017) - OFBIZ-4017
To simplify the macro, I have also used a javascript call for the newmessage request even if it was unneeded (no event or service call)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037507 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 17:30:08 +00:00
David E. Jones b720b413a1 Added new group-columns attribute to form element to not group input/other columns if not desired, defaults to true which is the old/original behavior
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037146 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 09:32:30 +00:00
Bruno Busco eae5209812 Added missing uiLabels property-map loading in screens used in the Ajax form update.
This caused some labels to not being localized when using the form pagination.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037079 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 23:22:48 +00:00
Bruno Busco ac92eeffd0 Enabled column sorting in Survey list, WebSite list and DataResource list forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037078 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 23:19:10 +00:00
Bruno Busco 6896249104 Enabled column sorting in ListContent form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036985 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 19:14:13 +00:00
Ashish Vijaywargiya 3633e9ef46 Improved comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036794 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 10:38:26 +00:00
Ashish Vijaywargiya 96e80e14ad Code Enhancement.
Sometime it happens that you are reading order information from some legacy database and importing them in OFBiz. So if orderDate is passed in context then lets check it with sales discontinuation date. And if sales discontinuation date is greater then passed order date then you should safely import the order.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036773 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 09:33:08 +00:00
Ashish Vijaywargiya 7e22493c32 Bug fix. If line feed exists in the note data then find those line feeds and replace it with the <br/> tag. This is better fix from my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036669 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 22:55:21 +00:00
Jacques Le Roux c233358a63 A patch from Shi Yusen "Improve the Chinese translation of word 'Review' " (https://issues.apache.org/jira/browse/OFBIZ-4028) - OFBIZ-4028
Improve the Chinese translation of word 'Review' to make it same as the term used by local ecommerce suites.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036483 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 15:16:29 +00:00
Ashish Vijaywargiya 80bcb1768b Reverting my recent changes. As it is not good practice to put html content in order notes. Malicious code can be put in this field by end user and it can get executed while rendering order view page. Thanks Scott for the comments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036444 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 13:07:18 +00:00
Ashish Vijaywargiya 40a55f1186 Bug fix. If database contains <br/> in order notes then it shows as it is on GUI.
So its better to use StringUtil.wrapString() method for rendering note info, it shows contents right. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036426 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 11:58:37 +00:00
Hans Bakker 46d74a9789 replacing an empty blog summary with text did not work and moving labels from ecommerce to content because used in both components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036332 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 07:28:45 +00:00
Hans Bakker 73344a5802 blog summary could not be updated, in the same process move the editarticle form from ecommerce to content because also used there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036329 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 06:29:25 +00:00
Hans Bakker 90acb5a194 simplify the setup component now only for a single company, used dependent state fields, and fixed various errors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036323 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 03:32:01 +00:00