Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 0c07b6df6f Revert r1304193 for now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304737 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 09:35:09 +00:00
Erwan de Ferrieres 3666656e8e Adding .idea to svn:ignore, same as rev 1304714 but for svn
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304715 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 05:53:15 +00:00
Erwan de Ferrieres 96ceb6aee6 OFBIZ-4748 - Add Intellij files to the .gitignore - A patch from Markus M. May
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304714 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 05:48:50 +00:00
Erwan de Ferrieres 233ed0ab49 Change misspelled parameter mainSubmited to mainSubmitted - a patch from Markus M. May
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304713 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 05:42:18 +00:00
Hans Bakker 280f83abba revert start/stop script changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304687 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 00:41:03 +00:00
Hans Bakker bc7b7828fd move start/stop script back into the rout, these are not tools but operational scripts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304679 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 00:15:33 +00:00
Jacques Le Roux 6cbfc00269 Ha forgot to save before committing, just better formatting around one operator and else block surrounded with curly bracket (could have been one line but in this case it's better read and safe like that)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304590 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 20:51:31 +00:00
Jacques Le Roux 83b98aca7d A patch from Kiran Gawde "Category Detail, Out of Stock check doesn't take into account Marketing Package and multiple facilities" https://issues.apache.org/jira/browse/OFBIZ-4525
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304589 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 20:47:20 +00:00
Jacques Le Roux f66035de48 Small refactoring: no need to have 2 blocks here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304570 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 19:39:34 +00:00
Jacques Le Roux 640b16783e A patch from Kiran Gawde "OnePageCheckout doesn't create purchase order for dropShip product" https://issues.apache.org/jira/browse/OFBIZ-4458
Select a item from drop ship supplier.
Perform one page checkout.

Issue: Purchase order for drop ship supplier is not created


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304567 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 19:34:31 +00:00
Jacques Le Roux 370bd8fb61 No functional change, only comments
Explains preferred way of using getCategoryTrail service and related method


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304454 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:42:24 +00:00
Jacopo Cappellato e5ead4907b Moved all platform dependent scripts to the "tool" folder, with the only exception of the "ant" scripts for unix and windows that are still in the home folder.
Removed a series of unused files (ant extensions).
Removed special handling for hsql db from ant tasks (hsql is no more bundled with OFBiz).
Please help testing the scripts as I was only able to run some limited tests on my Mac.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304369 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 14:26:32 +00:00
Jacques Le Roux 7c02c7829f Fixes 6 duplicated German labels
<value xml:lang="de">Termine</value>
<value xml:lang="de">Standard-Organisation</value>
<value xml:lang="de">Portlet-Attribute anpassen</value>
<value xml:lang="en">Persönliche Seite</value>
<value xml:lang="de">Kinder</value>
<value xml:lang="en">Portalseiten für die Anwendung</value>

And 1 duplicated English labels
<value xml:lang="en">Delivery to the following recipient(s) failed:</value>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304240 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 09:13:13 +00:00
Jacques Le Roux 3214b476cb A patch from Tri Duc Vo "contribute Ofbiz Vietnamese tranlasting to community from HaNoi" https://issues.apache.org/jira/browse/OFBIZ-4627
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304237 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 08:56:48 +00:00
Jacques Le Roux 4cccea2eea A patch from Markus M. May "Minor Refactoring in CategoryWorker - use delegator instead of request in getRelatedCategoriesRet" https://issues.apache.org/jira/browse/OFBIZ-4738
The method getRelatedCategoriesRet uses the request, the final called method could be called using the delegator directly easily. I have refactored the method accordingly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304207 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 06:41:56 +00:00
Jacques Le Roux b427c4d000 Add ${errMessage} to CommonDatabaseProblem label, it was missing there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304206 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 06:35:53 +00:00
Jacques Le Roux ad04c356d9 A patch from Paul Pipper "Categories - calculated trails" https://issues.apache.org/jira/browse/OFBIZ-4580
I noticed that currently OFBiz misses a simple function to generate a category trail. 
Generating a trail, however, is often useful when generating breadcrums, facetted search results, and proper category trees in general. 
Hence I created getCategoryTrail



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304205 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 06:32:23 +00:00
Jacques Le Roux 9fc15eeb1b A patch from Kiran Gawde "StringIndexOutOfBoundsException in OfbizContentTransform" https://issues.apache.org/jira/browse/OFBIZ-4464
Fixes this bug:
---- exception report ----------------------------------------------------------
Error in request handler:
Exception: org.ofbiz.widget.screen.ScreenRenderException
Message: Error rendering screen component://ecommerce/widget/CommonScreens.xml#main-decorator: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 (String index out of range: 0)
---- cause ---------------------------------------------------------------------
Exception: java.lang.StringIndexOutOfBoundsException
Message: String index out of range: 0
---- stack trace ---------------------------------------------------------------
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
java.lang.String.charAt(String.java:686)
org.ofbiz.webapp.ftl.OfbizContentTransform$1.close(OfbizContentTransform.java:97)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304200 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 06:26:22 +00:00
Hans Bakker 69d3195fc1 replace UtilProperties with EntityUtilProperties and pass delegator to checkSecureParameter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304197 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 06:14:02 +00:00
Jacques Le Roux 1c5a0459c3 A patch from Anne Jessel "Support validation of resource xml files" https://issues.apache.org/jira/browse/OFBIZ-4723
The xsd for the resource xml files is invalid. In addition, the format of the value of the xml:lang attribute in resource xml files is invalid, according to the xml standard.

The attached patch:

    provides a valid xsd
    updates UtilProperties and the Label Manager to deal with the correct formatting of the xml:lang value, while still working with the old format, following Adrian Crum's recommendation on the mailing list
    includes simple unit tests for UtilProperties to ensure it does work with both formats
    changes the Label Manager to include a reference to the new xsd, and to use the correct format of the xml:lang value, when writing a resource xml file.

Some minor code cleanups to these files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304193 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 05:47:10 +00:00
Joseph Eckard 62657cdca0 update eclipse classpath file to reflect jetty container upgrade
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304061 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 21:05:17 +00:00
Joseph Eckard de50ffca3c update LICENSE to reflect jetty container upgrade
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304043 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 20:40:51 +00:00
Joseph Eckard 32f7394a19 removed jsp & el api jars, these exist in base/lib/j2eespecs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303994 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 19:20:01 +00:00
Joseph Eckard ba4d9e2eee update jetty container to use the latest jetty-8 release, 8.1.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303894 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 17:08:31 +00:00
Jacques Le Roux 8cfaf4aaf6 A patch from Sebastian Leitner "ContentManagementServices throws NullPointerException" https://issues.apache.org/jira/browse/OFBIZ-4751
Fixes a NPE

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303764 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 12:59:00 +00:00
Jacques Le Roux 4bc25aede9 Avoids to show CC payment information in log when in verbose mode
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303714 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 10:25:31 +00:00
Jacopo Cappellato dced383147 Added missing argument form macro to fix rendering error in PDF forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303677 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 07:48:38 +00:00
Hans Bakker 324b42bd1d In image management browsing an image caused the upload service to start: fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303662 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 06:12:49 +00:00
Hans Bakker d59773d4af fix that cannot cancel order when the order use payment gateway of authorize.net
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303329 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 09:41:37 +00:00
Hans Bakker 630bddb06c fix... set default image function in image management
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303328 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 09:39:05 +00:00
Scott Gray 1e3d9b9f55 CVE-2012-1621: Ensure that collections (except for maps) are properly encoded for html when rendered using toString() e.g.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303145 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 20:54:06 +00:00
Ashish Vijaywargiya b0e153006c Bug fix, Applied patch from jira issue - OFBIZ-4734 - User behaviour issue on auto-completer.
Currently if user type in auto-completer text box and if matches found then list display as auto-completer result list but if no matches found then user didn't know that result will come or not, even no matches found.

Change behaviour is when user type in text box then spinner (ajax loader image) shows wchich tells user that search is in progress.
If matches found or not found spinner disapperars and reult/ no result message listed in auto-completer relsult list.
Now user won't see any abnormal behaviour at ui.

Added spinner image for the auto-completer request.
Also added the "No Records Found" message if no matches found for the auto-completer search.

Thanks Nitesh, Deepak and Rishi for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303062 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 18:08:05 +00:00
Ashish Vijaywargiya 34141f79f8 Bug fix, Applied patch from jira issue OFBIZ-4735 - User behaviour issue on Lookup.
Currently if user perform search or use pagination in lookup and if matches found then list display but if no matches found then user didn't know that result will come or not, even no matches found.

Change behaviour should be when user perform search or use pagination then spinner (ajax loader image) shows which tells user that search is in progress. If matches found or not found spinner disappears.
Now user won't see any abnormal behaviour at ui.
Thanks Deepak, Rishi & Anil Gupta for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303045 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 17:51:40 +00:00
Jacques Le Roux 024a070743 A change from Alexander Reelsen "Xml Deserializer does not support BigDecimal" https://issues.apache.org/jira/browse/OFBIZ-4733
In the last weeks the XML Serializer in trunk was extended to support BigDecimal. Unfortunately deserializing is not supported, which leads to services being broken when running via async as their are persisted in runtime_data... like sending mails, when a bigdecimal is involved

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302324 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 08:48:03 +00:00
Hans Bakker 0d802c0385 OFBIZ-4730 make <property-to-field/> in widget firstly lookup up the SystemProperty entity and then the properties file, contribution of Leon
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302320 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 08:25:06 +00:00
Ashish Vijaywargiya 3e390f9dd9 Bug fix: Source code of PaypalServices.java was not on classpath so was not giving build fail error when I build the source code last time. Fixing the build fail error.
Old log message:
On production systems you can't suppress Debug.log( message by the use of debug.properties file. It is always good to use Debug.* statements that are having log level setup in debug.properties file. The real problem comes with Debug.log( statement when you are printing any list or map object that contains so many records(or data) in it. 

Here I am changing all the occurrence of Debug.log( with Debug.logInfo(, Debug.logError( or Debug.logWarning( so that we can have better control of Debug.* statements on production system. :-)  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302276 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 05:50:47 +00:00
Jacopo Cappellato 4136875a6b Fixed issue reported in OFBIZ-4731: the ${bsh: syntaxt when used in value fields doesn't seem to work properly after the recent refactoring to the ScriptUtil and related mechanisms. Fixed by switching to ${groovy: syntax.
Even if there are plans to migrate all the scripts to the ${groovy: syntax, we will have to fix the root cause of this, also because there are several other occurrencies of the older sytax in the system.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302274 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 05:38:58 +00:00
Scott Gray 6bbf130249 Errors from ajax calls weren't being handled properly after the migration to jQuery.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302219 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 20:31:21 +00:00
Scott Gray e454d47cb9 CVE-2012-1621: Escape errors returned from ajax calls in the checkout pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302218 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 20:31:10 +00:00
Jacques Le Roux 9a9b96356d Improves the LookupBulkAddProducts form by disabling the amount field when Product.requireAmount field is not "Y"
No needs to use return there. I also tried a simple UEL expression (ie removing groovy interpretation by removing "groovy:"), it did not work

This really shows that, at least OOTB, only one possible syntax should be used, else it's only confusing more!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302210 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 19:54:38 +00:00
Jacques Le Roux 8b373ccbe7 Improve the LookupBulkAddProducts form by disabling the amount field when Product.requireAmount field is not "Y"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302195 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 18:33:09 +00:00
Jacopo Cappellato b7421179e4 Removed a series of references to the Webslinger component, now gone.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302102 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 09:23:18 +00:00
Jacopo Cappellato b258844a7e re-enabled manufacturing automated test that I temporarily disabled yesterday.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302101 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 09:21:22 +00:00
Erwan de Ferrieres a297da96dd Changes from while to for each loops in manufacturing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1301945 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 15:12:47 +00:00
Erwan de Ferrieres ceb6b06df1 Changes from while to for each loops in content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1301931 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 13:03:31 +00:00
Erwan de Ferrieres 2a35988fb5 Changes from while to for each loops in accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1301930 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 13:01:26 +00:00
Jacopo Cappellato dc4edc748e CVE-2012-1621: Removed the Webslinger component and all the framework dependencies on it; the reasons for this
* no active committer was maintaining the webslinger component
* the component was experimental and not really used by OFBiz
* the component was really big (lot of jars etc...) and we are trying to slim down the OFBiz framework and keep only the essential/useful features
* this fixes a security issue reported to the OFBiz PMC

The only Webslinger feature used by the OFBiz framework was the "service debug mode" (enabled by default with the property servicedispatcher.servicedebugmode): I have considered to keep it but it was impossible because it relied on Webslinger legacy code (in the org.webslinger.invoker.* package) that was never contributed as a source file to the OFBiz project; I have tried to review the source file from an external Webslinger repo but I couldn't find them; the only site about Webslinger I could find is this:
http://www.webslinger.org/Downloads
but the svn resources mentioned there are broken. The fact that the OFBiz frameework was dependent (for a feature useful only in development mode) on an external project that doesn't publish its source code (at least in an easy to find location) convinced me that it was better to clean up the dependency completely; on the bright side OFBiz should now use less memory.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1301866 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 05:35:45 +00:00
Jacopo Cappellato 30729104a5 Temporarily disabling automated tests that suddenly started to fail (because of DST?); I will reenable it tomorrow and will further research if it will still fail.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1301587 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 15:09:52 +00:00
Adrian Crum 48ac918030 Made the ScriptHelperImpl createServiceMap method behave more like mini-language. Error messages are saved in the result Map.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1300965 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 12:58:46 +00:00
Adrian Crum ded0847a65 Simplified ContextHelper.java code by adding auto-creation of some commonly-used bindings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1300954 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 12:26:50 +00:00