Commit Graph
21879 Commits
Author SHA1 Message Date
Adrian Crum 6731e764ef Bug fix: Make DateRange.java truly immutable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647839 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 20:21:46 +00:00
Adrian Crum 209a0261fb Remove references to immutability from ComparableRange.java - because its contained objects might be mutable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647838 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 20:19:42 +00:00
Jacques Le Roux 464fd93aec Implements "Improve the way FOP handles fonts notably for currency symbols" https://issues.apache.org/jira/browse/OFBIZ-5917
Adds
<auto-detect/>
in the fonts section of our fop.xconf

Adds the Google NotoSans font which is Apache licensed
* http://www.google.com/fonts/specimen/Noto+Sans
* https://www.google.com/get/noto/#/

Uses NotoSans as the default FOP font. For that puts the NotoSans font 4 files in framework/resources/fonts and add <directory>framework/resources/fonts/NotoSansFonts</directory> in fop.xconf
Renders ₹ in content/control/fonts.pdf as we do for €. Other symbols could be added later when needed, backed by Google NotoSans font...
Renders the NotoSans content/control/fonts.pdf  as we do for other main fonts

Adds the rupee symbol (₹) to antisamy-esapi.xml file like we have the euro symbol (€)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647782 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 13:45:03 +00:00
Adrian Crum 7aa7ea5769 Fixed a bug in UtilDateTime.java where SimpleDateFormat instances were not initialized with the locale.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647606 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 16:21:14 +00:00
Jacques Le Roux 9275586f87 French translation for r1609184
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647559 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 11:50:12 +00:00
Jacques Le Roux 3ca40543d5 Revert r1647522. This is not the right solution said Scott on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647542 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 11:06:32 +00:00
Jacques Le Roux 9f55c4a001 A patch from Prateek Ashtikar for "Issue reported while performing Refund & Void (java.lang.ClassCastException: java.lang.String cannot be cast to java.math.BigDecimal)" https://issues.apache.org/jira/browse/OFBIZ-5927
Change committed in AIMPaymentServices.java.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647522 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 09:51:56 +00:00
Jacques Le Roux b1de6b8bb2 Fixes a missing .from("CustomTimePeriod") in EntityQuery
Small formatting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647490 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 06:43:36 +00:00
Jacques Le Roux 6dc36838cd A patch from Christian Carlow for "Production Run Content button throws unable to resolve class GenericValue error" https://issues.apache.org/jira/browse/OFBIZ-5923
The GenericValue class needs to be imported for resolution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647338 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 16:02:48 +00:00
Ashish Vijaywargiya eb881e513f Applied patch from jira issue - OFBIZ-5922 - Edit product catalog text "ProductCatalogEmptyWarning" require grammatical correction.
Thanks Ejaz for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647311 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 13:23:18 +00:00
Ashish Vijaywargiya 74e2175dd1 Applied patch from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647310 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 13:20:03 +00:00
Jacopo Cappellato 4384b31ed9 Removed two unnecessary overloaded methods.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647289 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 11:08:07 +00:00
Jacques Le Roux b567828392 A patch from Anahita Goljahani for "EntityListIterator closing issue with EntityQuery.queryCount() when using DinamicViewEntity" https://issues.apache.org/jira/browse/OFBIZ-5921
When using the queryCount() method of EntityQuery with a DinamicViewEntity, I get an error message about the EntityListIterator not being closed.

This properly closes the EntityListIterator

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647275 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 10:01:53 +00:00
Jacopo Cappellato 99b7f462f2 Refactoring of Visit/Visitor/ServerHit* (and related) entities in order to be able to maintain them in a database separate from the main transactional database:
1) removed foreign key relationship from/to this group of entities and the other entities of the OFBiz data model; the fields are still available but they are not enforced by a foreign key constraint
2) removed one view entitiy joining Visit with Party entities and refactored the code that was using it in order to provide the same behavior
3) added a new entity group ("org.ofbiz.stats") for the Visit/Visitor/ServerHit* (and related) entities; for now the group is not active so that the entities are still in the same database as before; however assigning them to a different database is now a matter of uncommenting the group file definition in framework/webapp/ofbiz-component.xml and provide the new datasource definition
 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647271 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 09:19:33 +00:00
Jacques Le Roux 4ebf9fda0e A patch from Deepak for "Incorrect use of if-has-permission tag" https://issues.apache.org/jira/browse/OFBIZ-5920
Deepak: here is the patch for this issue, found some more places where if-has-permission tag used in different way, will create a new ticket to fix the if-has-permission tags and will used the consistent pattern.

jleroux: I wonder if this commit does not fix some other already reported issues, anyway it's good!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647266 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 09:13:12 +00:00
Ashish Vijaywargiya 4656af219d Based on Adrian's comment on Dev list removing the ternary operator check which was not needed actually.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647239 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 05:04:18 +00:00
Jacques Le Roux 936e72817e Completes "Deprecate doCacheClear in Delegator interface and class and related minilang classes" https://issues.apache.org/jira/browse/OFBIZ-5325
Removes useless deprecated things in trunk


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647132 13f79535-47bb-0310-9956-ffa450edef68
2014-12-21 12:47:38 +00:00
Jacques Le Roux 6d87f5bdf5 A patch from Divesh Dutta for "Inventory Transfer Printing Format and Layout" https://issues.apache.org/jira/browse/OFBIZ-4673
Adds PDF (fo.ftl file) which will be opened when user click on "Print" button. Earlier web page was opened with bad formatting. New PDF is clean.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647102 13f79535-47bb-0310-9956-ffa450edef68
2014-12-21 07:43:55 +00:00
Ashish Vijaywargiya 1a5feb6284 Applied patch from jira issue - OFBIZ-4159 - subscription resources page not alinged properly.
Thanks BJ for creating the issue, Thanks Divesh for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647001 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 14:56:55 +00:00
Ashish Vijaywargiya ed26dd4dc4 Applied patch from jira issue OFBIZ-4946 - Getting error when uploading a file after creating a data resource.
Thanks Ashish Ambulkar for creating the issue. Thanks Arun, Jacques for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646984 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 14:22:50 +00:00
Ashish Vijaywargiya 1c4dce1187 Applied patch from jira issue - OFBIZ-223 - CartShipInfo objects are not properly cloned when shopping cart items are exploded.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646977 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 13:38:06 +00:00
Ashish Vijaywargiya 917b658f69 Applied patch from jira issue - OFBIZ-5696 - Main page doesn't show organisation tree in HumanRes.
Thanks Pierre for reporting the issue. Thanks Deepak for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646975 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 13:18:55 +00:00
Ashish Vijaywargiya c572355faf Applied patch from jira issue OFBIZ-5313 - Tree rendering is missing labels.
Thanks Sumit for creating the issue and providing the patch for the same. Thanks Arun for verifying the issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646969 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 12:37:07 +00:00
Ashish Vijaywargiya 9e9187ecb3 One minor fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646967 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 12:28:28 +00:00
Ashish Vijaywargiya 72f6db3ffa Applied patch from jira issue OFBIZ-5385 - Purchase order immutable/unchangeable errors when adding variant products.
Thanks Christian for reporting the issue. Thanks Arun for providing the patch. 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646966 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 12:25:10 +00:00
Ashish Vijaywargiya 4bbbf895a8 Applied patch from OFBIZ-4511 - Non-standard markup for categories screenlet.
Thanks Anne for creating the issue and providing the first patch. Thanks Arun for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646944 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 10:23:47 +00:00
Ashish Vijaywargiya bc78f8985d Applied patch from jira issue - OFBIZ-4558 - Verify subscription email requires form submit.
Thanks Kiran for creating the issue, Thanks Deepak for provding the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646943 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 10:09:52 +00:00
Ashish Vijaywargiya 4c864b8047 Applied patch from jira issue - OFBIZ-5685 - Setting a dependent question for question of type 'Boolean Yes/No' is not possible.
Thanks Deepak for the contribution. Thanks Pierre for creating the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646939 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 09:50:35 +00:00
Ashish Vijaywargiya 6b1cc4e52b Minor improvement in conditional check.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646937 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 09:42:41 +00:00
Jacques Le Roux 0a3709f995 Due to r1646666 I found an issue in the tests I have for a custom project.
This line
itemStatus.set("statusUserLogin", userLogin.get("userLogin"));
should be
itemStatus.set("statusUserLogin", userLogin.get("userLoginId"));

I must say having named the OrderStatus.statusUserLogin field instead of OrderStatus.statusUserLoginId did not help in the 1st place

This was initially committed in 
trunk r1618378
R13.07 r1618379


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646935 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 09:30:39 +00:00
Ashish Vijaywargiya 30b9b75df7 Applied patch from jira issue - OFBIZ-4360 - Content is getting public to web search engine no privacy.
Thanks Deepak for the contribution. Thanks patrick LE BLAN for creating the issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646934 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 09:26:21 +00:00
Ashish Vijaywargiya 94a1000fcc Applied patch from jira issue - OFBIZ-5482 - Create Production Run RoutingId lookup field dropdown results empty.
Thanks Arun for the contribution. Thanks Christian for creating the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646930 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 09:12:46 +00:00
Ashish Vijaywargiya 5ceb7d4d7a Applied patch from jira issue - OFBIZ-5767 - WebShoppingCart ignores session currency.
Thanks Josip Almasi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646926 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 08:36:26 +00:00
Ashish Vijaywargiya 0877607603 Bug fix, one small conditional check got missed in OFBIZ-5844 - Convert java files to EntityQuery.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646917 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 05:48:51 +00:00
Ashish Vijaywargiya 682d5e14c8 Applied all the patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods.
Thanks so much Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646916 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 04:31:20 +00:00
Jacopo Cappellato 21dda83a53 Fixed a few unit tests that were failing due to recent updates for EntityQuery calls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646787 13f79535-47bb-0310-9956-ffa450edef68
2014-12-19 16:13:08 +00:00
Jacques Le Roux 5e6077d737 Adds the rupee symbol (₹) to antisamy-esapi.xml like we have the euro symbol(€)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646781 13f79535-47bb-0310-9956-ffa450edef68
2014-12-19 15:56:21 +00:00
Jacopo Cappellato f9d619b103 OFBIZ-5004: an IllegalArgumentException is thrown if an attempt to select an invalid field is performed; the code was just logging a warning message. Thanks to Christoph Neuroth, Adrian Crum, Paul Foxworthy, Scott Gray, Jacques Le Roux, Adam Heath for their valuable feedback and comments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646666 13f79535-47bb-0310-9956-ffa450edef68
2014-12-19 10:54:13 +00:00
Jacques Le Roux 73e1958d50 No functional changes
Removes a tab found by chance. 
My Eclipse setting automatically adds Override annotations when needed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646656 13f79535-47bb-0310-9956-ffa450edef68
2014-12-19 09:35:55 +00:00
Jacques Le Roux fc6eba04eb Reverts part of r1645950, thanks to Scott who spotted it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646546 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 21:48:44 +00:00
Ashish Vijaywargiya 45a5e7da6c Reverting one small change from r1646167, It seems that runService doesn't work with runAsync method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646447 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 12:58:00 +00:00
Ashish Vijaywargiya 80687f8fc2 Minor fix that got missed in 1646212.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646433 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 10:34:14 +00:00
Jacopo Cappellato fa57185832 Replaced zh-TW with zh_TW
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646252 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 14:22:45 +00:00
Ashish Vijaywargiya f8927d3d3e Applied patch from jira issue OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue().
We have removed the recent changes that we did for <property-to-field> in XML file because those changes was not actually needed.
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646214 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 12:28:02 +00:00
Ashish Vijaywargiya 05ceee8d4b Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
In this patch removed the use of "userLogin". Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646213 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 12:20:06 +00:00
Ashish Vijaywargiya 039f0608bc Applied framework related patch from jira issue - OFBIZ-5844 - Convert java files to EntityQuery.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646212 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 12:13:46 +00:00
Jacques Le Roux 80587c18c2 Fixes "FTL error message is displayed on Return screen, when clicked on Return selected items button" https://issues.apache.org/jira/browse/OFBIZ-5909
This is a trivial error, I don't want to spend too much time on that, user should be careful else use the browser back button!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646204 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 11:38:04 +00:00
Ashish Vijaywargiya f19b8bdfe7 Reverting r1646165. It seems that changes that we did for <property-to-field> are not needed. I will commit the new changes soon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646191 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 10:49:41 +00:00
Ashish Vijaywargiya d3e50d1e18 Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646167 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 08:10:12 +00:00
Ashish Vijaywargiya fa7cb8eb15 Applied recent patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue().
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646165 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 07:57:56 +00:00