When there is failure in sending email from OFBiz we need to break the loop.
Thanks Pranay for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053289 13f79535-47bb-0310-9956-ffa450edef68
To reproduce:
* go to Facility, Inventory Items tab (or any form that uses text-find widget)
* choose "Is Empty" from drop-down next to Product Id
* click Find button
Expected behaviour: no matching items listed, as all items have a Product Id.
Observed behaviour: all items match.
Problem is caused by find code assuming that there is no entity condition to be created if the text field is empty, but of course Is Empty is
different to the other operators in that the text field is expected to be empty.
The attached patch adds a special check for the Is Empty operator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042396 13f79535-47bb-0310-9956-ffa450edef68
Moved the feature that allows a new user to register for an account from MyPortal to the framework so that it is available in any application.
It has also been slightly reworked (code cleaning and internationalization).
Two flags in general.properties allows to configure if the register function must be enabled or not and if the captcha function should be used.
The captcha function needs to be improved because at the moment the code is contained in an hidden field so that it is very easy for a computer to bypass it.
A possible fix for this could be to put the MD5 coding of the captcha code in the hidden field.
Then the event that checks the code should compare the MD5 codes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042196 13f79535-47bb-0310-9956-ffa450edef68
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
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
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
- set delegator, dispatcher and security from session, servlet context or request's attribute to app context of birt engine before render and send email
- add the initialPath field to Tenant entity
- create the tenant context which as a default servlet using org.ofbiz.webapp.control.TenantServlet in the catalina container and check the multitenant property for initial the tenant context with root mount /
- move the changing a multi tenant delegator statement from ControlServlet to ContextFilter that could apply to every servlets
(implementation by Chattree Richard)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1032472 13f79535-47bb-0310-9956-ffa450edef68
The PortalPage list is now collapsible. The form to create a new portalPage has been moved to a dedicated screen.
This allows to have a less crowded screen and the portalPage being configured can be seen almost at full screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023447 13f79535-47bb-0310-9956-ffa450edef68
Generally xxxxUiLabelDecorator should not be used. Having a decorator that only adds UiLabel resources creates unnecessary screen dependences.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023429 13f79535-47bb-0310-9956-ffa450edef68
This should be the only change that needs to be reverted if any issue with the new include-portal-page is raised.
I do not proceed further with the widget introduction into other screens for a while (even if I have a local copy of the whole OFBiz converted) so that it will be tested more.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023206 13f79535-47bb-0310-9956-ffa450edef68