Adrian Crum
aa63974531
Moved some of the temporal expression data from demo to seed - so components can reference temporal expressions in their seed data.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225330 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 20:51:26 +00:00
Ashish Vijaywargiya
0ec8f44676
Bug fix: Applied patch from jira issue OFBIZ-4441. UtilXml firstChildElement should use getNodeName instead of getLocalName.
...
We have observed the same issue in past and provided a patch for the same. For more details please refer the commit r995384.
Fixing bug of reading node name. When we read first child element of the response of any third party integration for example ups etc, node name can't be read using "node.getLocalName()". So changing node.getLocalName() --> node.getNodeName().
This time before I revert my changes I will wait for Bilgin's comment to understand the exact problem with SOAP call due to which he did this changes. Bilgin please post your comment on this as soon as you get a chance.
http://svn.apache.org/viewvc?view=revision&revision=894359
Thanks Kiran, Sascha for the contribution. We were also observing this issue since quite long so for now it is better to put the code in trunk and releasebranch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1183314 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 11:39:19 +00:00
Jacques Le Roux
69d65781ea
A patch from Dimitri Unruh "With no DistributionCacheClear JMS is not working anymore." https://issues.apache.org/jira/browse/OFBIZ-4296
...
Tested in both case (with and w/out dcc), works fine AFAICT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1174964 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 19:22:40 +00:00
Sascha Rodekamp
16e6a8fef2
FIX: Using equals() with different object types ( https://issues.apache.org/jira/browse/OFBIZ-4422 ). A patch from Dimitri Unruh which fixes the equals method of the RunningService class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1173592 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 12:29:52 +00:00
Jacques Le Roux
d8eb4f7634
A patch from Varun Bhansaly "Issue receiving emails with attachment" https://issues.apache.org/jira/browse/OFBIZ-4413
...
Some Background : In our customization we have configured MCA to process incoming emails which is basically a custom service this service in turn calls service storeIncomingEmail, and rest of the custom code follows.
Now though we are able to receive emails (which can be seen in the communications in party manager), we have noticed that system does not some process the attachments and creates the link between communication event and content.
Analysis shows, MimeMessageWrapper.getAttachmentIndexes() while checking for content disposition, does a case sensitive comparison, which should rather be case insensitive.
This small change fixes the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172213 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 07:53:49 +00:00
Jacques Le Roux
11a8e5e54a
When it's INFO level I prefer to have names than Ids. And sorry but I don't see the point to show info like org.ofbiz.service.job.PersistedServiceJob@118dabe but I just removed this one in case it's useful to someone...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144625 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 09:57:51 +00:00
Adam Heath
baf66a724f
FEATURE: Parsing of secas.xml files are now done in parallel using the
...
global thread pool.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141317 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 23:09:56 +00:00
Adam Heath
35d2e86784
FEATURE: Parsing of service.xml files is now done in parallel, using the
...
global thread pool.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141315 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 23:09:45 +00:00
Adam Heath
27203418aa
OPTIMIZE: Don't do ecaCache merging in addEcaDefinitions, instead do it
...
once after everything it loaded.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141281 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:48 +00:00
Adam Heath
ee2f15f195
OPTIMIZE: Make these classes final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141278 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:32 +00:00
Adam Heath
6676048162
WHITESPACE: Do a bunch of whitespace transformative operations.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141276 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:20 +00:00
Scott Gray
aeee568b6b
Fix null check against a variable that was guranteed to be null, looks like a bug introduced during refactoring a while ago. The code now correctly tries to get the LocalDispatcher from the ServiceDispatcher before creating a new instance.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140375 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 23:39:00 +00:00
Jacques Le Roux
e6539dc8fc
Closes "JmsTopicListener started twice when distributed-cache-clear is active" reported by Martin Kreidenweis at https://issues.apache.org/jira/browse/OFBIZ-4296
...
Simply avoid to start a JMS Listener thread from Job Manager when DCC is on. Then set it back to previous value.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1131144 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 19:05:07 +00:00
Marco Risaliti
b11b9cc02d
Removed some javadoc warning (wrong param/return) into service component no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126729 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:38:36 +00:00
Jacques Le Roux
da9f389cb5
A small change to more easily see current pending jobs and possibly cancel some others while canceling one manually
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103667 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 10:03:39 +00:00
Adrian Crum
b722da2a04
Small fixup for ServiceDispatcher.java - truncate log messages longer than 10K. Some service results can be multiple MB in size, resulting in huge log entries (4 MB in entity reference page).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095032 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 11:20:39 +00:00
Jacques Le Roux
5c3977b73c
Fixes a NPE in GenericDispatcher.java. It's related to tenants changes. It appears when you set a jms-service: you have no delegator when you try to create a GenericMessageListener in JmsListenerFactory, but was hidden there
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090964 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 08:02:11 +00:00
Jacques Le Roux
f966ed6518
Fixes a bug in AbstractJmsListener.java. This was 1st reported by Calum Miller on user ML 3 years ago http://markmail.org/message/hb2r7vbjvekxbris . But as it seems this is no often use nobody noticed since but at least Anand H I who used the same in http://markmail.org/message/yvvm5nepopc7y246 . It appeared when you tried to set a jms-service in serviceengine.xml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090961 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 07:54:22 +00:00
Jacques Le Roux
a29d18a4a4
Changes a verbose log to info and improves the related error message. Useful when trying to use a jms-service.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090956 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 07:21:56 +00:00
Bruno Busco
e5e4b73a82
Better Italian labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090757 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 10:08:08 +00:00
Jacques Le Roux
6c5f2f5f55
Revert r1088762, this is not a working solution, because wsdl2Java fails to generate stubs with these changes.
...
We have to fix this though. A temporary solution for clients using CXF underneath is to follow the point 2 at http://mail-archives.apache.org/mod_mbox/cxf-users/200901.mbox/%3C200901231332.03818.dkulp@apache.org%3E
I think, as it has been already reported by Alexander Graf, it's related to http://www.ws-i.org/profiles/basicprofile-1.1.html#R2735 , but this have to be checked... Following recommendations and example there should allow us to deliver WS-I Basic Profile compliant WSDL. Unfortunately I have not enough time for that at the moment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089054 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 14:06:10 +00:00
Jacques Le Roux
b2b3540bbd
To be compliant with clients generated with Apache CFX which uses JAX-WS and follow WS-I Basic Profile: http://en.wikipedia.org/wiki/WS-I_Basic_Profile , allows to define an empty targetNameSpace by commenting out the TargetNamespace property in service.properties. See http://mail-archives.apache.org/mod_mbox/cxf-users/200901.mbox/%3C200901231332.03818.dkulp@apache.org%3E for details
...
Keeps the "http://ofbiz.apache.org/service ") tns, used only in wsdl:definitions, can be hardcoded
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088762 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 19:48:54 +00:00
Jacques Le Roux
46142d46a8
Completes https://issues.apache.org/jira/browse/OFBIZ-4218
...
Keeps the secure idea but enhance when working in a secure environment (VPN, local network, etc.) to return a comprehensive response. Depends on the secureSoapAnswer property in service.properties, true by default
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088047 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 15:23:40 +00:00
David E. Jones
38db32de85
Small change to service call logging for longer running services to show their results maps, helps establish context a bit better, especially on busy servers; tempting to show context as well, but that isn't in this change
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085333 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:40:05 +00:00
Marco Risaliti
a0ea7452bc
Revert rev. 1081093
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081517 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:10:37 +00:00
Marco Risaliti
57960fbb01
Remove some warning in sevice component (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081093 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:31:03 +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
0e0be97095
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.semaphore (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069104 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:09:04 +00:00
Marco Risaliti
a7cdf2c27f
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.rmi.socket.ssl (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069103 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:08:12 +00:00
Marco Risaliti
e067e74e06
Add a @SuppressWarning("serial") in RemoteDispatcherImpl (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069100 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:07:15 +00:00
Marco Risaliti
5f3cb658b0
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.mail (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069099 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:06:35 +00:00
Marco Risaliti
b11ecdecf9
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.job (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069098 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:05:30 +00:00
Marco Risaliti
d6b2911a52
Remove a unused variable/Add a @SuppressWarning("serial") in ServiceEcaRule (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069096 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:03:29 +00:00
Marco Risaliti
3b2d98ed7d
Add a @SuppressWarning("serial") in ServiceEcaCondition (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069095 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:03:02 +00:00
Marco Risaliti
8dac18ba1d
Add a @SuppressWarning("serial") in ServiceEcaAction (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069094 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:02:47 +00:00
Marco Risaliti
2c22e32fb3
Add a @SuppressWarning("serial") in ServiceConfigUtil (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069092 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:00:07 +00:00
Marco Risaliti
7b33addcc5
Add a @SuppressWarning("serial") in RecurrenceInfoException/RecurrenceRuleException (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069091 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 20:58:24 +00:00
Marco Risaliti
cd79fea95f
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069090 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 20:57:04 +00:00
Marco Risaliti
ce360524fe
Remove an unused variable/import in ModelPermission (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068557 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:31:43 +00:00
Marco Risaliti
5682344416
Remove an unused variable related to soap tests (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068556 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:29:31 +00:00
Marco Risaliti
ee20124370
Internationalization of return messages of java services of service component (OFBIZ-4091)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1066563 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 18:17:46 +00:00
David E. Jones
30c0a8cb24
Bug fix to support multiple delegators; these places has a hard-coded dispatcher name that may have been created with a delegator different from the one that is now active and attempted to be used with the same old dispatcher, resulting in undesired database switching; changed to the convention of using the delegator name for the dispatcher name, which is the normal default and should be used everywhere a special dispatcher name specific to a context, like a webapp, is not used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1066356 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 07:31:21 +00:00
Adrian Crum
55dc6b2256
Removed unused constant from TemporalExpressions.java. No functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056626 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 05:22:09 +00:00
Scott Gray
47f43a302a
Remove unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044931 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:31:27 +00:00
Scott Gray
bdd23c22d5
Add missing override annotations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044913 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:41:27 +00:00
Jacques Le Roux
66c5dd10a0
A patch from Dukian "Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup" ( https://issues.apache.org/jira/browse/OFBIZ-4031 ) - OFBIZ-4031
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039574 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 21:56:14 +00:00
Hans Bakker
19b0d3bcf8
soap session not closed after transfer, corrected
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039262 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 07:53:51 +00:00