Commit Graph
10472 Commits
Author SHA1 Message Date
Marco Risaliti 78255405f5 Remove some warning in GenericTestCaseBase (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076439 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:28:02 +00:00
Marco Risaliti 2eda5a9dca Remove unused variable/import in SelectTest (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076437 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:22:33 +00:00
Marco Risaliti 5d53fe63fb Remove some warning in StringUtil (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076429 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:08:43 +00:00
Marco Risaliti fe74e744fb Remove some warning in UtilMisc (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076428 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:08:28 +00:00
Marco Risaliti f55a81a86d Remove some warning in UtilHttp (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076427 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:08:07 +00:00
Marco Risaliti 0b6d48faa6 Remove a warning in UtilGenerics (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076422 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:01:16 +00:00
Marco Risaliti 2249639ac1 Remove some warning in UtilCache (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076419 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:54:02 +00:00
Marco Risaliti b1266e64b3 Remove some warning in UtilCacheTests (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076413 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:49:33 +00:00
Marco Risaliti 04f9e16356 Remove some warning in UtilPlist (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076407 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:46:14 +00:00
Marco Risaliti fe88b86001 Remove a warning in UtilO (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076397 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:36:14 +00:00
Marco Risaliti 0a733c0896 Remove a warning in FlexibleServletAccessor (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076396 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:31:49 +00:00
Marco Risaliti 7eea3b7de9 Remove unused variable and suppress serial in FlexibleMapAccessorTests (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076395 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:30:37 +00:00
Marco Risaliti 01f355463d Remove some warning in UelUtil (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076392 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:28:56 +00:00
Marco Risaliti d1a6f5f805 Remove some warning in ObjectType (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076384 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:18:05 +00:00
Marco Risaliti 4ae79bcf5e Remove some warning in XmlRpcEventHandler (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076383 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:17:10 +00:00
Marco Risaliti bfdf2e4dab Remove some warning in SOAPEventHandler (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076381 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:16:52 +00:00
Marco Risaliti e467b7cf76 Remove some warning in ServiceEventHandler (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076379 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:14:49 +00:00
Marco Risaliti 0c77022d8c Remove unused variable/method in WfsEventHandler (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076362 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 20:17:24 +00:00
Marco Risaliti 2eb58acf4c Remove some warning from CoreEvents (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076359 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 20:02:41 +00:00
Marco Risaliti aaa6f94573 Remove a warning from RequestHandler (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076340 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 19:21:48 +00:00
Erwan de Ferrieres ef1e6723bc Removing duplicate title when displaying help, as the screenlet title has already the same label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076255 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 15:33:40 +00:00
Erwan de Ferrieres cfb5b8f963 Avoiding portalPageId in context when using screens so the right help is displayed when called
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076186 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 12:11:10 +00:00
Erwan de Ferrieres db367fe9c9 Typo in ui*L*abelMap.CommonExtHelpTitle + French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076173 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 11:28:09 +00:00
Scott Gray c9ec4ae824 Add inline-jdbc attribute idle-maxsize for greater control over the max idle connections that should remain in the pool. Previously it was always set to half of pool-maxsize (and still defaults to this value)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076114 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 06:31:38 +00:00
Jacques Le Roux 8f96fd0b65 A fix suggested by Michael Reichenbach at "Multiple responses send by SOAPEventHandler when ServiceValidationException occurs" https://issues.apache.org/jira/browse/OFBIZ-4207
Problem
=======

When calling a service that was defined as "export=true" and a non-optional parameter is missing, then the SOAP-Response is not a valid XML.

Cause
=====

The cause is, that in SOAPEventHandler.invoke() the dispatcher.runSync() throws a ServiceValidationException ("The following required parameter is missing..."). This will be catched by the GenericServiceException-block, a error response will be written to the output stream (via sendError()) and an EventHandlerException will be thrown. This exception will again be catched (this time by the Exception-block and another error response will be written to the output stream.

Solution
========

I think the best solution is simply not to call sendError in the GenericServiceException-block.

JLR: I simply commented out the faulty line (with a reference to OFBIZ-4207) in case someone would want to improve the error message.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075952 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 18:03:14 +00:00
Jacques Le Roux c0716dd0db Removes an useless unchecked annotation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075875 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 16:16:26 +00:00
Marco Risaliti c82cc82340 Remove unused variable in HtmlFormRenderer (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075553 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:42:58 +00:00
Marco Risaliti 30c0ef5ed3 Remove unused variable in XmlFormRenderer (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075546 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:41:07 +00:00
Marco Risaliti aa7f00442c Remove unused variable in TextFormRenderer (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075545 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:40:32 +00:00
Marco Risaliti 66ea3fb5df Remove unused variable in FoFormRenderer (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075541 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:31:27 +00:00
Marco Risaliti 822f6d1820 Remove some warning in IteratorTag (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075540 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:27:49 +00:00
Marco Risaliti ca6ca40950 Remove some warning in IfTag (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075539 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:26:51 +00:00
Marco Risaliti f52bef96d0 Remove some warning in RenderTag (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075538 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:24:34 +00:00
Marco Risaliti 4f9a3aa386 Remove some warning in InputValue (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075535 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:20:03 +00:00
Marco Risaliti c78d6dba39 Remove some warning in EntityField (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075534 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:19:34 +00:00
Marco Risaliti 3dcebfd840 Remove some warning in StandardEngine (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075532 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:10:37 +00:00
Marco Risaliti 2886701168 Remove some warning in HttpEngine (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075530 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:05:02 +00:00
Marco Risaliti de3bc6b1f5 Remove some warning in BSFEngine (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075529 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:04:00 +00:00
Marco Risaliti b0ceef3f7f Remove some warning in BeanShellEngine (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075528 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:02:36 +00:00
Marco Risaliti 097cb92c09 Remove some warning in ContextAccessor (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075527 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:59:37 +00:00
Marco Risaliti 2d7c4c5595 Remove some warning in EmptyCondition (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075526 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:58:18 +00:00
Marco Risaliti 22eff3dbc9 Remove some warning in Iterate (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075525 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:56:03 +00:00
Marco Risaliti 01c0bfb1e1 Remove some warning in CallBsh (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075524 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:51:20 +00:00
Marco Risaliti 2b1f993292 Remove some warning in EntityFinderUtil (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075521 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:36:29 +00:00
Marco Risaliti 8fc1103633 Add some @SuppressWarning("serial") in EntityFinderUtil (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075512 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:13:30 +00:00
Marco Risaliti 321e1ef08d Remove an unused variable in GenericDAO (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075510 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:02:07 +00:00
Marco Risaliti f729c27c2d Remove an unused import in GenericDelegator (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075507 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:53:15 +00:00
Marco Risaliti a14d03ccde Remove an unused import in EntityComparisonOperator (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075506 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:51:42 +00:00
Marco Risaliti 0c97ca1526 Remove some warning in PreferenceServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075504 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:43:35 +00:00
Jacques Le Roux 141bb6827f I should have used cache in 1st place here. It's never too late...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075350 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 14:35:02 +00:00