Commit Graph
27737 Commits
Author SHA1 Message Date
Adam Heath 940ee4480b OPTIMIZE: If the specified instrumentation class is not found, don't
bother printing the thrown exception; this is a standard situation,
where the required jar may not have been downloaded, and the
instrumenter not compiled.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327252 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 19:57:38 +00:00
Adam Heath f319440097 OPTIMIZE: Remove some debug prints from Start.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327251 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 19:57:28 +00:00
Adam Heath 83d2081e55 OPTIMIZE: Delete derby and hsql data dirs first, with verbose turned off.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327250 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 19:57:22 +00:00
Adam Heath f640f0c901 FIX: UpdateFacilityGroupMembers.facilityId needs to link to Facility, not
FacilityGroup.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327249 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 19:57:17 +00:00
Adam Heath 755d06783e FIX: Fix off-by-one error in recently added shopping list pagination code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327248 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 19:57:11 +00:00
Adam Heath 895478438e FIX: Fix some entity relations that had spaces in their titles.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327247 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 19:57:05 +00:00
Adam Heath 942098cbcf FEATURE: Finally add the shell scripts I use to do automated testing
with git on several commits before I push upstream.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327246 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 19:57:00 +00:00
Erwan de Ferrieres a7eaf555b8 moving GetMenuContext.groovy to its right location with the other groovy scripts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327181 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 17:00:59 +00:00
Erwan de Ferrieres 3a790cb6ad tabs to spaces, no functional change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327038 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 10:50:19 +00:00
Erwan de Ferrieres a4f06bc9b8 Adding missing internationalization in FinAccounts.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327031 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 10:31:58 +00:00
Jacopo Cappellato 160982d9e7 Enhanced GroovyUtil to support the execution of data preparation methods defined in a Groovy script file (similarly to what is already supported by the ScriptUtil class for JSR223).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326996 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 08:44:43 +00:00
Jacopo Cappellato 807948f2ea Now start-debug doesn't depend on build to make it consistent with the other start* targets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326936 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 05:43:39 +00:00
Jacques Le Roux 7ac9321449 Fixes debug labels forgotten in r1326397
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326933 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 05:25:50 +00:00
Erwan de Ferrieres cc348ba512 Adding missing uiLabels in PartySalesOpportunities form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326788 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 20:40:37 +00:00
Jacques Le Roux 89942f54cd We don't need the KEYS file anymore and should rather follow the http://www.apache.org/dev/release-signing#web-of-trust way rather
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326625 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 14:13:20 +00:00
Jacques Le Roux 97fd47f4c5 Completes r1326572, found while reviewing: useless as David noted, it's cloned later in the process
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326580 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 12:58:06 +00:00
Sascha Rodekamp c7d0a04b27 Replaces if-compare with if-compare-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326572 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 12:19:42 +00:00
Sascha Rodekamp 1461d5819b createPartyContactMech: check for infoString is done without using the contactMechTypeId https://issues.apache.org/jira/browse/OFBIZ-4810 A slightly modified patch from Michael Brohl: The block which was commented out is needed for the condition list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326567 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 12:10:14 +00:00
Jacques Le Roux 4cd76a7bad Fixes a bug reported by Dimitrios Moustos on dev ML
The relationship between lead owner and lead company is not expired when converting the lead.
The reason is that as the partyRelationship which is to be expired is looked up the party group information is taken from partyGroupPartyId, which does not exist.
The correct variable to use is partyGroupId. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326503 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 06:27:45 +00:00
Jacques Le Roux aa625fe528 Seems that I reverted a correctly work done before, still no impacts anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326500 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 06:13:56 +00:00
Jacques Le Roux 2f9992e285 Renamed as suggested by Ashish, more standard and explicit name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326499 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 06:13:03 +00:00
Jacques Le Roux 2aa19c8285 Ah, forgot to save for r1326397, no functional impact anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326401 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:02:03 +00:00
Christian Geisert 70939b1439 added/corrected a few German Labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326399 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:00:07 +00:00
Jacques Le Roux a47cc18ff9 A modified patch from Tom Burns for "eCommerce Edit Contact Information use Dependent drop-downs" https://issues.apache.org/jira/browse/OFBIZ-4797
Using Dependent drop-downs to filter the State drop down based on the selection in the Country drop-down will improve the usability of the component.
Current Behavior:
1. Open eCommerce application
2. Log in as user with Postal Address say Demo Customer
3. In the menu bar select Profile
4. In "Contact Information" > "Postal Address" select update.
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list displays all geo values.

After improvement:
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list is limited to States in the United States.
6. Changing the value in the "Country" drop-down will update "State/Province" drop-down list with values for the selected country.

jleroux: Tom's patch had only a small issue: duplicated line (but this had any impact since overriden by the following line)
<set field="selectedDependentOption" value="_none_"/>

The problem was more in EditContactMech.groovy:
context.selectedStateName = geoValue.geoName;
was used, instead of needed by setDependentDropdownValuesJs.ftl
context.selectedStateName = geoValue.geoId;

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326397 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 18:58:17 +00:00
Jacques Le Roux 22947d25c2 "catalog of the XML schema of Ofbiz for Eclipse" https://issues.apache.org/jira/browse/OFBIZ-4760 by Francis ANDRE
This is the catalog of the XML schema of OFBiz for Eclipse. Just import it and this will avoid Eclipse to go to the web for checking the xml files against their schema.

jleroux: I decided to commit, because it's a very little file and add some interesting help to Eclipse devs. For instance when disconnected and also makes sure you use the schema version corresponding to checked out code.
I added a comment about its use in the file itself and a link to wiki

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326300 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 10:52:45 +00:00
Jacques Le Roux 4ba181855b Add version names to some libs, WIP...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326293 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 09:42:42 +00:00
Jacques Le Roux 6dec5661a3 Replaces ProductCountry and mostly PartyCountry by CommonCountry and merges all labels in CommonCountry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326270 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 08:24:45 +00:00
Erwan de Ferrieres cddbe25c21 changes forgotten at rev 1326132
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326269 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 08:10:42 +00:00
Hans Bakker 3416f110b9 improve error messages by replacing null pointer exception with meaningfull message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326268 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 07:58:09 +00:00
Jacques Le Roux 069d98299f A patch from Pierre Smits "Improve help screens in Project Mgr" https://issues.apache.org/jira/browse/OFBIZ-4806
Enhance the usability of the Project Mgr application by providing better help screens

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326142 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 16:42:07 +00:00
Erwan de Ferrieres 0b7c9aa68b Upgrading to latest ant version: 1.8.3
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326132 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 15:38:17 +00:00
Erwan de Ferrieres 8b8f386f6a Upgrade to tomcat 7.0.27
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326090 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 12:07:15 +00:00
Jacques Le Roux 50cbd9b4f3 Complete r1326064, moreover I forgot to save the others *-containers.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326080 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 09:59:33 +00:00
Jacques Le Roux 86ca2bcd04 Complete r1326064, I forgot to save ofbiz-containers.xml before committing and did not notice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326072 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 08:49:05 +00:00
Jacques Le Roux 8c481181d5 Adapted by hand from Lon F. Binder "CatalinaContainer Doesn't Respect <distributable/> Node for web.xml files." https://issues.apache.org/jira/browse/OFBIZ-4242
Per the servlet specification, the web.xml file should allow an optional <distributable/> node to indicate that the application is clusterable. Currently, OFBiz does not respect this setting and assumes all applications should be distributed if any cluster configuration is provided in the ofbiz-containers.xml file. As a result, if, for example, the DeltaManager is enable, all applications attempt to cluster and communicate via DeltaManager.

The expected and proper functionality is to check the individual application's web.xml file for the <distributable/> node and only use the DeltaManager if found; otherwise the StandardManager should be used for sessions.

jleroux: replaced some tabs, reformatted, added a comment about <distributable/> in the *-containers.file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326064 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 07:30:30 +00:00
Christian Geisert 6881ce39aa Moved Swiss German ("Offerte") to de_CH labels
See OFBIZ-2862


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325807 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 15:37:04 +00:00
Jacopo Cappellato 6558763ed6 Based on a suggestion by Adrian Crum, data preparation scripts can now be implemented with script methods that accept a Map context argument, for example:
def dataPreparationMethod(Map context) {
...
}



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325750 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 13:10:59 +00:00
Jacques Le Roux c3443466d3 Minor Webtools improvements. I was actually trying to see why client-autocomplete-field was not working on SERVICE_NAME runService form field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325701 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 10:04:50 +00:00
Jacopo Cappellato 6450c4f54d Modified Groovy util methods that prepares the binding to add the ScriptHelper object (to be consistent with the Groovy service engine and event handler and the "Script" JSR223 engine and handler): now Groovy scripts can execute the same exact Grrovy codes that can be executed when they are run thru JSR223.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325620 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 05:53:54 +00:00
Jacques Le Roux 1689c99809 Finally revert to previous values, in order to avoid possible confusion with values in properties file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325369 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 16:40:40 +00:00
Jacopo Cappellato 3d9441031b Removed commented out code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325254 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 13:45:39 +00:00
Jacopo Cappellato c04a9b280d Modified Groovy service engine and Groovy event handler to act in the same way of the "Script" (JSR 223) engine and handler: now they can execute the same exact Grrovy services and events.
In order to use these engine and event rather than the one that uses JSR223:
   * for services (service definition): set the engine to "groovy" rather than "script"
   * for events (event element in the controller): set the event type to "groovy" rather than "script"
 The main advantage of using them is that it is possible to attach a debugger to the Groovy methods.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325253 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 13:42:57 +00:00
Jacques Le Roux 8941baebee A patch from Tom Burns for "Add Support for Dependent Country State Drop Downs to SFA New Postal Address " https://issues.apache.org/jira/browse/OFBIZ-4801
Description

In SFA "Create New Account" does not implement dependent drop downs for Country/State.
This is not consistent whith the behavior in the Account update form which uses Country/State dependent drop downs.

To Reproduce:
In SFA select Accounts
Select "Create New Account"

Expect: "State" values to be limited to values valid for the selected country.
Actual: "State" values include all values in stateProvinceGeoId regardless of the selected Country.

After Improvement:
State values will be filtered based on the value selected in "Country Geo Id"


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325136 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 06:46:34 +00:00
Jacopo Cappellato e7eaf31ed9 Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325017 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 21:34:37 +00:00
Jacques Le Roux 8f45278325 Reverting to 2 changes which slipped in at r1324989 (WIP...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324995 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 20:48:56 +00:00
Jacques Le Roux c4c9542348 Oops, missed this file in r1324989
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324990 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 20:35:52 +00:00
Jacques Le Roux c79283dbfc A patch from Francis ANDRE "unify admin port and key setting: single point of definition in start.properties" https://issues.apache.org/jira/browse/OFBIZ-4793
If someone wants to change the admin password or port, he would have to change currently many files (-- build.xml, various .bat and .sh --). In order to avoid this error-prone pratice, I suggest to centralize the definition of the admin kay and port at 2 single points: the framework/start/src/org/ofbiz/base/start/start.properties and the
framework/start/src/org/ofbiz/base/start/jetty.properties

jleroux: in config.java I also changed 
String adminPortStr = getProp(props, "ofbiz.admin.port", "0");
adminKey = getProp(props, "ofbiz.admin.key", "NA");
to
String adminPortStr = getProp(props, "ofbiz.admin.port", "10523");
adminKey = getProp(props, "ofbiz.admin.key", "so3du5kasd5dn");

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324989 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 20:32:35 +00:00
Jacopo Cappellato f8c3982558 Marked files as binary
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324755 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 13:29:40 +00:00
Jacopo Cappellato 4e7840006d Fixed wrong variable name rom my last commit; thanks to Pierre Smits for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324687 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 10:32:28 +00:00
Jacopo Cappellato 9f817fcd64 Upgrade DBCP from snapshot version of 1.3 to the new release 1.4
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324685 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 10:24:18 +00:00