Commit Graph
13975 Commits
Author SHA1 Message Date
Adam Heath 7fc0f4cfdd Remove a bunch of static variables, instead using an AtomicReference and
an instance of EntityConfigUtil to manage everything.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918734 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:15:01 +00:00
Adam Heath ce2d761f51 Bad formatting, { shouldn't be on a line by itself.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918732 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:14:28 +00:00
Adam Heath 083663f6a4 Make use of FastMap's putIfAbsent, and remove an instance of
double-checked-locking.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918731 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:13:52 +00:00
Adam Heath b2ca928774 Remove unnecessary cast when getting from genericDAOs cache.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918729 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:13:25 +00:00
Adam Heath 9627cbc06c Implement proper non-blocking access.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918728 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:12:58 +00:00
Adam Heath b80b40b6d3 For internal classes, you don't need to prefix with the containing
class.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918727 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:12:31 +00:00
Adam Heath 4a52467763 Make all the internal variables private and/or final.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918726 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:12:03 +00:00
Adam Heath 76b4cfb1ac Make all the protected fields private and final.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918725 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:11:35 +00:00
Adam Heath b289b45142 Move the test case for ComparableRange to the correct package.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918724 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:10:52 +00:00
Adam Heath 503c5f9795 Remove javadoc from protected methods.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918723 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:10:11 +00:00
Adam Heath b517a45e60 Fix typo in javadoc parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918722 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:09:36 +00:00
Adam Heath 6b9b1156c3 Set src-dirs correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918721 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:09:08 +00:00
Adam Heath 6c27274238 Add sourcepathref to javadoc call.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918720 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:08:42 +00:00
Adam Heath 9844587d7d Don't force the session to be created in getProductStoreId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918719 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:07:36 +00:00
Jacques Le Roux e185456966 I stumbled upon this while testing the layered lookups (there are no HelpScreens.xml in commonext/widget/ but in common/widget/).
Not sure it fix anything but at least it does not refer anymore to something that does not exist.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918697 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 21:21:39 +00:00
Jacques Le Roux ff4623a475 Re-apply r912645
<<Make use of FSE.expand(), instead of expandString, to provide support
for direct setting of values in widgets.  This closes OFBIZ-3486.>>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918476 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 14:03:19 +00:00
Hans Bakker 6dd94695b9 Ebaystore update:
- changed to show the account name instead of the ebay userid at the top of the pages.
- adding a drop down box on the top of all pages allowing the user to swich the account

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918371 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 09:19:43 +00:00
Erwan de Ferrieres e9c99d97d3 Project manager update :
milestones can be added to a project and are diplayed on the Gantt chart

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918343 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 07:11:31 +00:00
Erwan de Ferrieres bcd5e24034 Upgrading jsgantt.js so it will be possible to display milestones in a Gantt chart
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918340 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 07:03:59 +00:00
Hans Bakker e0b56c3f33 Ebaystore update:
- screen for seller setting email templates in ebay and automatically to send mail functions. 
- Used ProductStoreEmailSetting link to productStore and add template data in Content->DataResource->ElectronicText (Use ContentRole For specify each ebay account)
- Used  service sendEmailFromScreen to send email.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918333 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 06:26:56 +00:00
Bilgin Ismet Ibryam 95cf993a40 Moved to right the lookup autocompleter image in tomahawk theme, because it is overlapping with lookup button.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918081 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 15:46:20 +00:00
Jacopo Cappellato 6131603f66 First step in the direction of making the calendar screens more reusable and extensible: a screen is now used to generate the content of an event.
I have also added specific content for production run header and tasks but we could further improve with each component overriding the screenlet.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918077 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 15:31:03 +00:00
Ashish Vijaywargiya e9cbf7971c Making code more verbose. Reported by Adam but it would work without fetching value from context.
Anyway we are fine from either option.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918053 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 14:28:15 +00:00
Ashish Vijaywargiya 13e48811b2 Applied patch from jira issue : OFBIZ-3528 - In payflowpro sending STREET in parameters from billing address fails if it contains special characters.
In payflowpro sending STREET from billing address fails if it has special charaters like "&" and "=". These need to be send with lenght tag. For more details see the sections 'Using Special Characters in

   1. Values' and 'PARMLIST Syntax Guidelines' in the PayPal Payflow
   2. Pro Developer's Guide

Along with this fix also add address1 to street as it is missing from the code.

Thanks Pranay for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917986 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 12:01:28 +00:00
Jacques Le Roux 423ce79a21 A slightly modified patch from Sascha Rodekamp " Some improvements for the layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3524) - OFBIZ-3524
A flag was added to fade the background behind the layered lookup (ie all the screen but the lookup) when a layer is opened.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917940 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 10:02:04 +00:00
Adam Heath 3edf885123 Fetch the correct party id when dealing with vendor returns, patch is
from OFBIZ-3514.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917792 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 23:24:50 +00:00
Adam Heath f9370cd98d Apply patch from OFBIZ-3513, don't hard-code "Company" as a fallback
partyId, instead fetching ORGANIZATION_PARTY from general.properties.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917790 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 23:24:19 +00:00
Adam Heath 168798567a The issueInventoryItemToShipment form was created inside a loop, so the
form needs to be named uniquely; therefor, append the item_index to the
name.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917787 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 23:23:46 +00:00
Adam Heath 9a77a067db Remove debian/orig-work, which is used by the make-orig target.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917701 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 20:35:53 +00:00
Adam Heath 2ef7601138 Remove a bunch of very simple classes, instead registering abstract
versions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917630 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:20:38 +00:00
Adam Heath a98cdfb0e8 Add an AbstractStringToNumberConverter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917629 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:20:03 +00:00
Adam Heath 50bee334d9 Add AbstractNumberToStringConverter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917627 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:16:27 +00:00
Adam Heath feaa07ed30 s/AbstractToNumberConverter/AbstractNumberConverter/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917626 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:15:58 +00:00
Adam Heath 397d41c700 All the Number->Number variants now have generic base classes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917625 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:15:24 +00:00
Adam Heath 6afb679a11 Add abstract classes to unify simple object to singleton collections.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:14:19 +00:00
Adam Heath 544927d764 BUG FIX: Actually implement proper simple array testing; the previously
added ArrayObjectToList converter was never actually used.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917623 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:12:35 +00:00
Adam Heath 7dad24f918 Fix init script stop, to wait for jsvc to actually finish running. This
fixes a race condition that can occur under load, where ofbiz is not
listening on the status port, but jsvc is actually still running.  This
would cause the pid file to exist, but then get removed by jsvc before
the init script could remove it itself.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917622 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:09:52 +00:00
Christian Geisert 544118daa4 German label translation
Submitted by Mirko Vogelsmeier
See OFBIZ-3518


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917550 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 14:38:13 +00:00
Bilgin Ismet Ibryam 7479c4d912 Don't return the default message "The action was performed successfully" when call-service element is used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917467 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 11:16:25 +00:00
Jacopo Cappellato 9f9afd2c42 The WorkEffort.reservPersons is now available also in production run tasks.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917457 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 10:40:52 +00:00
Jacques Le Roux aa95728f0b In eCommerce password Hint Message should be an event message, not error message.
Thanks to Koon Sang at https://issues.apache.org/jira/browse/OFBIZ-3525 - OFBIZ-3525

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917435 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 09:41:47 +00:00
Hans Bakker c5e8f716e5 ebaystore: fixed error in combine orders function: it was setting parameters wrong and could not find return request parameters.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917414 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 08:18:57 +00:00
Hans Bakker efe11b3211 reformat and tabs to spaces ebaystore java files: no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917407 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 07:24:40 +00:00
Hans Bakker 45d29521d7 reformat and tabs to spaces ebaystore xml/groovy/ftl files: no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917405 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 07:20:30 +00:00
Adam Heath 3b07b7950d BUG FIX: Move node test to before the loadClass call.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917377 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:07:00 +00:00
Adam Heath cabce4bcad BUG FIX: Move the check that tests whether we are converting to the
passed object to before the loadClass call.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917376 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:06:16 +00:00
Adam Heath 6f5e964bd4 BUG FIX: When the target type is Object, return the passed value.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917374 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:05:43 +00:00
Adam Heath 6502fed7dc BUG FIX: If the object is a string and it is empty, return null early.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917373 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:05:10 +00:00
Adam Heath fa5abfa4ce BUG FIX: Throw exceptions instead of logging errors.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917372 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:19:08 +00:00
Adam Heath c037f73f05 BUG FIX: Add support for converting to PlainString, which just calls
toString directly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917371 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:18:20 +00:00