This patch will enable NOT-IN operator to the performFind service.
Only two lines of the file framework/common/src/org/ofbiz/common/FindServices.java were modified to enable de NOT-IN operator.
An use case is provided to test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1328637 13f79535-47bb-0310-9956-ffa450edef68
1. In OFBIZ-4822 it was decided that request to authview would be removed from the eCommerce customer ftl files because their only purpose was to set URL to https. The set field "donePage" in CustomerScreens.xml editperson effects the same result.
2. There are brackets in the password.ftl display for the href:
<a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a>
The brackets are inconsistent with the display for similar elements in the applications
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1328205 13f79535-47bb-0310-9956-ffa450edef68
On production systems you can't suppress Debug.log( message by the use of debug.properties file. It is always good to use Debug.* statements that are having log level setup in debug.properties file. The real problem comes with Debug.log( statement when you are printing any list or map object that contains so many records(or data) in it. Here I am changing all the occurrence of Debug.log( with Debug.logInfo(, Debug.logError( or Debug.logWarning( so that we can have better control of Debug.* statements on production system. :-)
Bad use of Debug statement. On production system you will get false alarm that you are having error in code base although the resultant statement is only giving additional information instead of error message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1328196 13f79535-47bb-0310-9956-ffa450edef68
A hideResultInLog service attribute is added. If set to true the service result will be hidden from possible exposition in ServiceDispatcher.runSync()
This is convenient when used for sending a password to an user (the password must be legible in the sent mail).
I'm sure a lot of you would want to have no logs at all in production. But by experience I know that we need to log info in logs even in production. Especially when the system is quickly moving ahead...
So this is a sure mean to hide any password in logs, being current or backuped somewhere on the servers disks...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1328122 13f79535-47bb-0310-9956-ffa450edef68
view was previously joined to another view, the conditions on the inner
view were added to the outer-most WHERE clause. This caused multiple
problems. One, if the join was optional, the generated sql actually made
it required(because it was in the WHERE, and not in the ON clause).
Second, the outer WHERE may reference a field that was not available *at
all* in the generated nested select(view table).
The fix is to *not* recurse thru all view member entities when finding
conditions, and instead attach them to a new WHERE clause on the
generated inner SELECT(view table).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327735 13f79535-47bb-0310-9956-ffa450edef68
case where getSerivceLogMap is called, and the elements are enumerated.
This could cause an error when the calling code was enumerating the map,
to print out it's information, but a service that was represented in the
map would finish, and get removed from the map. The calling code that
had the map might then get stuck in a loop that would never end(internal
to the map itself).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327731 13f79535-47bb-0310-9956-ffa450edef68
standard OutOfMemory type conditions; therefore, there is no reason to
actually catch and log any exception that won't be thrown anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327730 13f79535-47bb-0310-9956-ffa450edef68
reason that fails at class init time, then an exception will be thrown
then, and the class will not be usable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327729 13f79535-47bb-0310-9956-ffa450edef68
1. autocomplete feature shows the message "no records found" during a session timeout. This could be misleading for the user.
2. During a session timeout, clicking on ajax dialog button shows a large frame containing a message indicating session has timeout. Should show a more detailed message.
jleroux: what I adapted:
* Added <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> in htmlheader-for-ajax.ftl
* Replaced also spinner.gif in Tomahawk (better be consistent)
* Added a French label an kept those existing but English (improved by Wai)
* Removed the ajaxErrorText style in ajaxNotLoggedIn screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327502 13f79535-47bb-0310-9956-ffa450edef68
While viewing gantt chart in trunk for any project i get the following error
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://projectmgr/widget/ProjectScreens.xml#ganttChart]:
java.lang.IllegalArgumentException: Error running script at location
[component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
javax.script.ScriptException:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
instead (Error running script at location
[component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
javax.script.ScriptException:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
instead)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327275 13f79535-47bb-0310-9956-ffa450edef68
In eCommerce the naming and display of back buttons is inconsistent across the Profile Editing screens.
Example:
Changes Password label should be "Go Back" but is "[Go Back]"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327269 13f79535-47bb-0310-9956-ffa450edef68
. Some navigation buttons reached from the eCommerce Profile screen fail to return to the Profile screen.
Example:
Login as DemoCustomer
Click Profile
Click Update In the "Contact Information" > "Postal Address" section.
Click Go Back
Expected: Return to profile page
Actual: Remain on Edit Contact Information page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327260 13f79535-47bb-0310-9956-ffa450edef68
started, a shutdown command get's issued, stopping is occurring, but
then the server state ends up being set to RUNNING.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327254 13f79535-47bb-0310-9956-ffa450edef68