Commit Graph
21879 Commits
Author SHA1 Message Date
Adam Heath d22dd8d05f OPTIMIZE/FEATURE: Factor getObject into another helper,
getObjectException; the latter doesn't catch any exceptions, and doesn't
log them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333655 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 22:13:11 +00:00
Adam Heath 565db82f80 OPTIMIZE: Switch internal getCrypted to take a byte array, and use
String.getBytes(Charset) to fetch the bytes.  Also switches the one case
of getBytes("UTF-8") to the Charset version.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333654 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 22:13:04 +00:00
Adam Heath 4f966b5ef2 OPTIMIZE: s/encHex/encValue/, this is a more accurate variable name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333623 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 21:13:33 +00:00
Adam Heath 030144565f FEATURE: Add a -digest variant, that uses the deprecated password
digesting code.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333622 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 21:13:27 +00:00
Adam Heath 9459906808 FEATURE: Improve warning when an oldFunnyHex hash is detected on a
password.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333621 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 21:13:21 +00:00
Adam Heath d192773e13 OPTIMIZE: Remove andCacheFieldSets from GenericDelegator; this variable
hasn't been used in like forever, man.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333620 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 21:13:14 +00:00
Adam Heath 589ae262f7 FIX: Oops, my bad. Originally, this was never meant to actually be committed
upstream.  However, I decided that it might be generally useful, so
committed it anyways.  I forgot that I needed to add the copyright
header to it.  I suppose I should add a pre-commit hook somehow either
in svn or git.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333619 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 21:13:08 +00:00
Adrian Crum 644502daca Minor code change in Mini-language <set> element. No Functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 15:01:01 +00:00
Adrian Crum 055d164b4d Overhauled Mini-language <call-class-method> <call-object-method> <field> and <string> elements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333491 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 14:59:56 +00:00
Adrian Crum ed29e24544 Created a base class - MiniLangElement - for all Mini-language elements, modified exception handling to accommodate the new base class. This change will provide a means for non-operation elements to throw exceptions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333489 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 14:57:40 +00:00
Christian Geisert 15b09dae60 German translation for AccountingEntityLabels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333439 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 12:54:27 +00:00
Adrian Crum a9a16a1c0f Updated Mini-language schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333042 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 13:38:31 +00:00
Adrian Crum f4c6457daa Oops, forgot to include null check in previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333034 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 13:22:50 +00:00
Adrian Crum e41512f7cd Overhauled Mini-language <call-bsh> element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333031 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 13:17:54 +00:00
Adrian Crum a636524386 Improved Mini-language <script> element - now supports inline scripts in the element body.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333030 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 13:13:10 +00:00
Adrian Crum 5c4009e4c8 Added some convenience methods to MethodOperation.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1333028 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 13:11:00 +00:00
Jacques Le Roux 661c42a9c2 Revert r1331995. We need rather to pass parameters through ant start* targets : http://ant.apache.org/manual/Tasks/property.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1332097 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 08:17:18 +00:00
Jacques Le Roux 232dd652be https://issues.apache.org/jira/browse/OFBIZ-4602 "Null values are not synchronized in http mode"
This is not a complete solution and induces more problem than it solves (notably in RuntimeData for jobs), to be continued...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331996 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 21:02:53 +00:00
Jacques Le Roux 4a37f97b14 -XX:+HeapDumpOnOutOfMemoryError may turn useful sometimes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331995 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 20:56:17 +00:00
Jacques Le Roux 289837001e Fixes "View Calendar Broken in Party Manager > Relationships" https://issues.apache.org/jira/browse/OFBIZ-4739
This was due to MacroScreenRenderer.renderScreenletSubWidget() calling HtmlFormRenderer instead of MacroFormRenderer. So there was still a call to the old, now inexistent, call_cal js function.

So this not only fixes this case but also all other similar cases, when a navigation-form-name screenlet attribute was used and a date field used in the related form.

I have also checked there are no other uses of HtmlFormRenderer in MacroScreenRenderer. So I think w are safe from other side effects...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331898 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 12:07:08 +00:00
Adrian Crum 6ed484ff82 Removed some unused Mini-language classes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331897 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 11:23:55 +00:00
Adrian Crum 66269e1396 Small fixup for my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331876 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 08:18:55 +00:00
Adrian Crum 4452b80aa0 Refactored how Mini-language element model lists are constructed and stored - to improve thread-safety and memory use.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331875 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 08:11:53 +00:00
Adrian Crum 9b8b914657 Overhauled Mini-language <log> element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331874 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 08:07:10 +00:00
Jacques Le Roux 94b8aa2420 A patch from Tom Burns for "eCommerce Create New Customer Improvement" https://issues.apache.org/jira/browse/OFBIZ-4831
1. Add support for dependent Country / State drop down to newcustomer.ftl
This change makes the behavior of the Country / State drop downs in newcustomer.ftl consistent with the Profile > Contact Information > Postal Address > "Create New" and "Update" behavior.

2. When an eCommerce user, who is not Logged In, clicks "Register" the newcustomer.ftl from opens with a "Go Back" button.
This button navigates to a Login form that prompts the user for a user name and password.
This makes no sense in the context.
A better design is to have a Cancel button. When the user clicks Cancel the application returns to the Main display for the current session.

jleroux: 
1. I wondered about returning to main page when coming from login screen and asking to create a new user. But it makes sense as well and is better when coming directly from main page. Anyway this is purely cosmetic
2. We don't need to get back to this screen (new profile) so no needs to use from-field="selectedStateName" in
<set field="selectedDependentOption" from-field="selectedStateName" default-value="_none_"/>
It makes things clearer

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331842 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 21:53:54 +00:00
Adrian Crum 1616a228d6 Overhauled Mini-language <add-error> element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331827 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 20:35:48 +00:00
Adrian Crum f35311f358 Reverting changes to the Mini-language <add-error> element. Too much code depends on the "error_list" name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331811 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 19:25:48 +00:00
Adrian Crum ade0bf0ccc Overhauled Mini-language <check-errors> and <add-error> elements.
This commit fixes a bug in the <add-error> element. Some of the tests written in Mini-language fail now because errors were previously ignored, but now the error handling works properly.

To assist the developer community with fixing the tests, I added an INFO log message to track down the faulty test code. Run the tests, and then search the log file for "<add-error>".


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331802 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 18:48:42 +00:00
Scott Gray f55e4fe144 Fix incorrect BigDecimal comparison, the goal is to find out if baseQuantity is greater than 1)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331753 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 12:12:00 +00:00
Scott Gray 37dcad0e67 Removing Jython tests as an option since it was never actually implemented, if we add script support now it'll likely be using Adrian's recent work and won't require a specific implementation for each script engine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331751 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 11:30:14 +00:00
Scott Gray 639c0159f2 Remove two redundant null assignments and fix a comment typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331747 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 10:51:04 +00:00
Scott Gray c76f942063 Fix potential (but unlikely) NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331741 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 10:30:40 +00:00
Scott Gray beb24b2345 Remove a bunch of redundant null checks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331740 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 10:30:31 +00:00
Scott Gray 387bea97bb Eclipse .classpath fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331738 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 10:13:20 +00:00
Ashish Vijaywargiya f27b8f8700 Bug fix - Applied patch from jira issue OFBIZ-4832 - Product images are getting removed when user uploads specific (small, medium, large or detail) image from product > content screen in 11.04 release and in trunk. Thanks Suprit for the contribution.
Details from jira issue:  
In current system when user upload original image system will automatically create rest of images that is small, medium, large, detail and thumbnail but when user upload specific image like small, medium or other image of product, system will remove all the images from specific product folder and place only recently updated image. Also if there will be medium, large or detail images are exist in system and user upload small image to complete image set then system removed all three images and add small image instead system should add new small image without touching other images. So this is a bug in 11.04. Provided patch in the task to resolve this problem.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331554 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 19:43:45 +00:00
Ashish Vijaywargiya 3e5f2017b8 Bug fix. Steps to reproduce is shown below:
Login into partymgr application first time then click on submit button of Find Party Screen then Navigate to "Orders" button, now it will ask you to login into the application. After logging into the application it will give console error as shown below. Thanks Aditya for fixing this issue.


2012-04-28 00:06:04,082 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR] Template processing error: "Expression requestParameters.hideFields is undefined on line 79, column 34 in component://order/webapp/ordermgr/order/findOrders.ftl."

Expression requestParameters.hideFields is undefined on line 79, column 34 in component://order/webapp/ordermgr/order/findOrders.ftl.
The problematic instruction:
----------
==> ${requestParameters.hideFields} [on line 79, column 32 in component://order/webapp/ordermgr/order/findOrders.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression requestParameters.hideFields is undefined on line 79, column 34 in component://order/webapp/ordermgr/order/findOrders.ftl.
	at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)
	at freemarker.core.Expression.getStringValue(Expression.java:118)
	at freemarker.core.Expression.getStringValue(Expression.java:93)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.IfBlock.accept(IfBlock.java:82)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.Environment.process(Environment.java:199)
	at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:258)
	at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:225)
	at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:270)
	at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:130)
	at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:915)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:613)
	at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:129)
	at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:646)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:613)
	at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:129)
	at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:646)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:260)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:260)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:260)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
	at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
	at org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216)
	at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:513)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
	at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
	at org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216)
	at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:513)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
	at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
	at org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216)
	at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:580)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
	at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
	at org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216)
	at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:580)
	at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
	at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
	at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
	at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
	at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
	at org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
	at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:849)
	at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:566)
	at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:339)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:662)
2012-04-28 00:06:04,111 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR] Template processing error: "Expression requestParameters.hideFields is undefined on line 131, column 85 in component://order/webapp/ordermgr/order/findOrders.ftl."

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331536 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 18:47:04 +00:00
Adrian Crum d507649506 Fix Eclipse classpath.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331505 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 17:10:32 +00:00
Adrian Crum ea8b01bcb0 Add security note to Mini-language <script> element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331418 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 13:10:57 +00:00
Adrian Crum 0a8e59574d Added auto-correct to the Mini-language <script> element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331394 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 12:46:46 +00:00
Adrian Crum 37bb36e08f Overhauled Mini-language <script> element. Added a "script" attribute so it can be used for small inline scripts (scriptlets).
Removed code that hid script engine exceptions in the error list. If a script engine throws an exception, it should be passed to the calling process, not hidden in an error message list (which might not get checked).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331355 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 11:18:52 +00:00
Adrian Crum b396e98bbe Bug fix in overhauled Mini-language <set> element: support operator substitutions in scriptlets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331353 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 11:12:43 +00:00
Jacopo Cappellato 6d07ddbccd Patch from Scott Gray to fix a bug that prevented to post the invoice transaction to the proper "sales" subledger.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331308 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 09:11:29 +00:00
Adrian Crum 9a64e92cc3 Renamed new <call-simple-method> attribute from memory-model to scope.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331259 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 07:15:14 +00:00
Adrian Crum 4b24b8da30 Fixed a bug in my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331247 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 06:55:10 +00:00
Hans Bakker ab0d140abd fixed error at
https://localhost:8443/webtools/control/FindGeneric?entityName=OrderHeaderAndRoleSummary  and press find, thanks Nop

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331216 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 04:33:21 +00:00
Adrian Crum 28f72c38d3 Added new attribute "memory-model" to the Mini-language <call-simple-method> element. Code cleanup and validation in FieldToResult.java. Improved validation in Now.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331137 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 22:40:22 +00:00
Erwan de Ferrieres 4aa6dfe81e OFBIZ-4845 Apache Commons Compress is missing for Tika
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331060 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 20:12:46 +00:00
Ashish Vijaywargiya 712831e20a Bug fix - OFBIZ-4732 - Not able to add Order Item Type for PO while adding item to existing PO.
If we are creating PO then user can add order item type from show cart screen, so there should be an option to add order item type while adding item to existing PO on edit item screen.
Thanks Deepak.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331020 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 18:36:09 +00:00
Ashish Vijaywargiya 9782c5c736 Bug fix - OFBIZ-4754 - Fixed fix me for ajax auto-completer for order entry process.
Fixed fixme for ajax auto-completer for showcart screen of order entry process.
Currently call_fieldlookup2 is used for the product lookup, auto completer is not supported via call_fieldlookup2 and it open a window instead of layered lookup.Need to use htmlTemplate.lookup field for the product lookup. Also removed the FIXME comment.
The FIXME issue was fixed in OFBIZ-4646, Now its working fine.
Thanks Nitesh, Deepak & Rishi!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331010 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 18:25:30 +00:00
Jacques Le Roux 6900761114 Some improvements in StringUtil class
* Add the possibility to use your own separator, not only "=" which stays the default
* I changed the default separator from "|" in some intermediary methods to null which was the default before my changes in r1212749.
* A new split method based on Pattern.compile(delim).split(str, limit). This allows to create a list of string, splitting only on the nth limit occurrences. This because StringTokenizer is deprecated, though I kept it as main split method
* some formatting also (my own way, more legible I think)

All this can notably be helpful when you deal with non encoded URLs...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1330995 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 17:56:01 +00:00