Commit Graph
8242 Commits
Author SHA1 Message Date
Jacques Le Roux d2ccc5b08f A patch from Michael Brohl "return value of currentDelegatorTenantId.trim() ignored in org.ofbiz.webapp.control.LoginWorker.login()" https://issues.apache.org/jira/browse/OFBIZ-
The return value of currentDelegatorTenantId.trim() is not assigned in org.ofbiz.webapp.control.LoginWorker.login() so trim() has no effect.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1244139 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 18:08:01 +00:00
Erwan de Ferrieres 06257c02de update documentation on unit testing in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1243671 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 20:04:23 +00:00
Adrian Crum eaee24fd1f Added missing DOCTYPE declarations in some web.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1243422 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 07:08:03 +00:00
Adrian Crum 4a48104212 Add private constructors to static utility classes. Patch provided by Rishi Solanki - https://issues.apache.org/jira/browse/OFBIZ-4656.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1243364 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 23:19:33 +00:00
Jacques Le Roux bb56ad6049 OFBiz SOAP implementation was not handling
* null values in Map
* BigDecimal
* correctly TimeStamp format (we use xsd:dateTime in ModelService.getTypes())
So CXF was not able to unmarshall a List of Maps with those types in them.

It does not introduce any regressions:
* A new specific SOAP null type is introduced using ("nillable","true") and ("xsi:nil","true) attributes. I had also to set the http://www.w3.org/2001/XMLSchema-instance schema on the null node. Because it was impossible to add it in the envelope header, not a big deal anyway.
* I introduced a 'T' in the TimeStamp format. It's is OK, the deserialisation handles it well (we use xsd:dateTime, see  http://www.w3.org/TR/xmlschema-2/#dateTime)/. We don't handle TimeZone...
* BigDecimal was missing and is now correctly handled. I used 10 decimals and half up rounding (ROUND_HALF_UP) 

Also improves the SOAPEventHandler.sendError() method by passing the serviceName in the message

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1243026 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 10:50:56 +00:00
Hans Bakker 9de0762a42 make it possible that the applicable system settings in general properties can be overridded by settings in the database.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1240016 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 07:17:00 +00:00
Hans Bakker 57d7af2a63 update of system properties via entity:
- by default leave the values in the entity null
- use findOne method to get SystemProperty by primary key
- add check whether system property's value empty before using properties file
This change to make sure current users of a non tenant installation are not affected.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1239451 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 03:02:55 +00:00
Adrian Crum 13ff4e3f4c Fixed a recent change that caused tests to fail.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1239119 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:15:17 +00:00
Adrian Crum 651c0677ec Reduce some of the info logging.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1239054 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 10:54:00 +00:00
Hans Bakker c690a5aba5 some missing files in -r1238993
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238998 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 08:24:36 +00:00
Hans Bakker cc8c924b89 make <property-to-field/> in minilanguage first look in the newly created SystemProperty entity to be able to override the system properties defined in the properties files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238993 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 08:14:53 +00:00
Hans Bakker f484f7b9d0 revert r1238954 some local changes were added
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238991 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 08:13:21 +00:00
Hans Bakker 204b9eb01a Wrong commit reverted in r1238991
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238954 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 07:22:12 +00:00
Hans Bakker 4443ca47a2 typing error corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238918 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 03:05:48 +00:00
Erwan de Ferrieres 453af547bb OFBIZ-4672 - Add in selectAll.js a method to collapseAll (or deployAll) for a specifics screenlet. Refactorization of existing collapseAll method to be more jQuery - A patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1236401 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 21:40:43 +00:00
Hans Bakker f5970ffc66 add ant target for loading a file using a specific delegator and extend load message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1236044 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 06:01:03 +00:00
Erwan de Ferrieres 771e7a9b55 OFBIZ-2405 - Create a Portlet to show the payments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1235513 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 21:38:48 +00:00
Erwan de Ferrieres 9af1f47aee OFBIZ-2401 - Create a Portlet for training
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234931 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 18:28:17 +00:00
Erwan de Ferrieres 933e823269 removing unneeded library added at rev 1234563 when upgrading tomcat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234586 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 19:59:02 +00:00
Adrian Crum 7df6bb7216 Spelling correction in UI label file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234578 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:56:47 +00:00
Erwan de Ferrieres 89f188a776 Upgrading tomcat to version 7.0.25 - changelog @ http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234563 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:05:28 +00:00
Erwan de Ferrieres f09f963cb0 Adding missing training statuses, as they are used in forms but not created in base. Adding entity labels related
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234035 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:57:24 +00:00
Jacques Le Roux a79e90da46 Closes OFBIZ-4663 ERROR in log file when starting OFBiz, debug-xa-resources is commented in entityengine.xml
Oops... forgot the other files in previous commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234015 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:21:41 +00:00
Jacques Le Roux 9d2a060d23 Closes OFBIZ-4663 ERROR in log file when starting OFBiz, debug-xa-resources is commented in entityengine.xml
About the issue I got. I simply forgot to update my XML catalogs after having changed the OFBiz working copy reference name.

Thanks to Paul Piper for his help about this last point, by pointing about XSD reference.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234014 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:19:47 +00:00
Adrian Crum e22e2923b3 Fixed a bug where code assumed a GenericValue stored in the client session still exists in the database.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232398 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 12:40:34 +00:00
Erwan de Ferrieres 9b03a5022b Improvements on the EmplLeave entity. Adding entityLabels for the leaveStatus field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232158 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 20:51:18 +00:00
Sascha Rodekamp 3c573dc4c9 Disable the jackrabbit searchIndex because it won't work with Lucene 3.5 yet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232115 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 19:08:03 +00:00
Jacques Le Roux f0dacb7a23 A patch from Christoph Neuroth "Autocomplete / Suggest does not work with umlauts" https://issues.apache.org/jira/browse/OFBIZ-4661
Steps to Reproduce:

    Change the internal_name of a product to "Kochlöffel" (that's German for cooking spoon. Just in case you ever need one while in a German-speaking country and don't have a dictionary handy).
    Go to the catalog and use the product search box to the left to search for "Koch", you should see the product as a suggestion
    Clear the input field and search for "löffel" instead -> the product is not found.

The reason for this is that the special characters have to be url encoded for the GET request, but are never decoded. Easiest way to fix this is just to use a POST request instead.

jleroux: Post uses ISO-8859-1 as default encoding. But as we set a charset=UTF-8 in our header all characters should be handled correly (i18n concern)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232053 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 16:26:42 +00:00
Erwan de Ferrieres e8c5d98519 Adding missing labels for portalPageName
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232008 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 14:35:32 +00:00
Sascha Rodekamp 261318aaeb Remove duplicate tika lib and move the version 1.0 jar to jcr/lib
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231948 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 11:43:50 +00:00
Erwan de Ferrieres 7e204338d9 Adding missing logger for sl4j (no more log in console), -- Failed to load class org.slf4j.impl.StaticLoggerBinder -- and correcting some .classpath missing lines and licences badly referenced
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231915 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:53:59 +00:00
Sascha Rodekamp af727b0238 Fix the trunk after the Jackrabbit integration. Jackrabbit 2.3 doesn't work with lucene 3.5. I added a lucene 3.0.3 version only for the jcr part. I investigate what to do to make jackrabbit work with 3.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231892 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:11:29 +00:00
Sascha Rodekamp aee44cea77 Remove obsolete slf4j lib
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231656 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 12:19:37 +00:00
Sascha Rodekamp 0141c39f55 Reintegrating the Jackrabbit Development branch into the turnk.
The Merge contains the basic integration of jackrabbit into ofbiz and provides a simple API for further development.

Features:
API for easy CRUD operations
Versioning 
Multi Language Support
Object Content Mapping
Sample Implementation in Example Area

See this merge as first step. The development is still in progress but this is the stable starting point for all feature developments.


Detailed description can be found in the Wiki: https://cwiki.apache.org/OFBIZ/jackrabbit-branch-development.html

For any questions, requests, issues use the jira post: https://issues.apache.org/jira/browse/OFBIZ-4659

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231647 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 10:41:50 +00:00
Adrian Crum 13c5b28a17 Fixed a bug in GenericEntity.java where warnings were logged when the value came from a view entity and it tried to generate a property key for localization.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231584 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 20:57:25 +00:00
Adrian Crum 97082c457f Extracted FileUtil.java's OS-dependent file path conversion to a separate method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231539 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 17:49:01 +00:00
Erwan de Ferrieres 8c0a41e885 tabs to spaces, no functional changes - xml files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230481 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 10:51:58 +00:00
Erwan de Ferrieres 0aead2f1ac tabs to spaces, no functional changes - ftl files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230479 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 10:39:49 +00:00
Erwan de Ferrieres 05c9bae6e5 tabs to spaces, no functional changes - java files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230478 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 10:37:35 +00:00
Sascha Rodekamp c8d37ad7d5 Example Application Is Badly Broken (https://issues.apache.org/jira/browse/OFBIZ-4619). A Bug reported by Adrian Crum:
Go to https://localhost:8443/example/control/main

Click the New Example button. In the popup window, click Create. You are taken to the Find Example screen and it contains an error message.

Look at the current URL. Try navigating to it: https://localhost:8443/example/control/createExample The Find Example screen is displayed with an error message.

Click your browser's Back button. The popup dialog appears again.

In summary: There is no way to correct an invalid entry.

I added a required flag for the mandatory fields. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230474 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 10:21:36 +00:00
Erwan de Ferrieres 31a9eaaaa7 tabs to spaces, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230445 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 09:09:24 +00:00
Erwan de Ferrieres 337aa79464 OFBIZ-3651 - Minor tweaks to the Cobertura integration - A patch from Bob Morley. I've also changed the cobertura version from 1.9.3 to 1.9.4.1 (latest) as your modifications are allowing it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230444 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 09:01:06 +00:00
Hans Bakker 380d3638c4 revert 1229478 : test result files are empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229799 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 23:29:24 +00:00
Hans Bakker f207e9cd22 make test-results location configurable in a propoerties file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229478 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 07:13:31 +00:00
Adrian Crum 9e24170402 Converted login message in lookup screen to a link to the login page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229344 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 20:52:04 +00:00
Adrian Crum bae6b61fe8 Give the login screen a page title.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229135 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 13:07:23 +00:00
Ashish Vijaywargiya 04ae57b902 Apply bug fix patch from jira issue OFBIZ-4649 - Some parameters missing in xmlFormMacroLibrary.ftl macros.
Description:
Getting errors on clicking "Export" tab. Steps to regenerate the issue.

1. Go to Facility component.
2. Go to inventory tab. 
3. After that go to "Export" tab, there is an error:

Macro renderFormOpen has no such argument: viewSize
The problematic instruction:
----------
==> macro renderFormOpen [on line 64, column 1 in component://widget/templates/xmlFormMacroLibrary.ftl]
in user-directive renderFormOpen

For reference- please have a look on below given link-

https://demo-trunk.ofbiz.apache.org:8443/facility/control/ViewFacilityInventoryByProduct?facilityId=WebStoreWarehouse

I have done searching and found that there are parameters missing in some xmlFormMacroLibrary.ftl macros for both trunk and release branch 11.04.
Thanks Amardeep for the contribution!!!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229090 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 10:47:33 +00:00
Erwan de Ferrieres 09529c62a4 OFBIZ-4648 - Better french translations - A patch from Youssef Khaye
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1228649 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 16:23:54 +00:00
Adrian Crum 6067eec6ef FreeMarkerWorker JavaDocs - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1228592 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 10:26:52 +00:00
Jacques Le Roux 80b29253bf A patch from Deepak Dixit "Autocompleter fails if lookup fieldFormName contains (?)" https://issues.apache.org/jira/browse/OFBIZ-4646
For regenerating issue go to https://demo-trunk.ofbiz.apache.org/facility/control/ReceiveInventory?facilityId=WebStoreWarehouse , enter GZ-1005 and receive.
Now on receive inventory page search "Facility Location" via autocompleter then it will show the lookup screen instead of search result.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227965 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 05:47:27 +00:00