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
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
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
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
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
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
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
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
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
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
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