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
Jacques Le Roux
768458ffc6
A patch from Leon for "correction to changeset r1626462 and r1626463 " https://issues.apache.org/jira/browse/OFBIZ-5869
...
Uses now timestamp to replace "null" value.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1645950 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 13:45:54 +00:00
Jacques Le Roux
cd75b72260
A patch from Leon for ""Value" attribute of hidden form field is overridden by same name value in context" https://issues.apache.org/jira/browse/OFBIZ-5904
...
Uses URLEncoder.encode while rendering a link
Uses StringUtil.htmlEncoder.encode while rendering a form field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644904 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 14:46:56 +00:00
Jacopo Cappellato
ee209c08f6
Moved to the Attic the framework/sql component.
...
The framework/sql was an attempt to create a specialized SQL parser for the OFBiz entity engine. The idea was to use a standardized SQL string that the parser would convert to entity conditions and Delegator calls. So, you could use the same SQL string on any database. The component was never finished.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644469 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 16:24:48 +00:00
Jacopo Cappellato
afbf52ff23
Converted from warning to info two startup messages informing about the mechanism used to retrieve pk information from the database.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644354 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 09:11:47 +00:00
Jacopo Cappellato
79dd228162
OFBIZ-5146: added support for three new ModelViewEntity functions for the extraction of year, month, day from a date field: extract-year, extract-month, extract-day.
...
They are mapped to the Standard SQL:2011 EXTRACT function that is already supported by several DBMS including PostgreSQL and MySQL (but not yet Derby).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644348 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 08:25:45 +00:00
Jacopo Cappellato
011cf444b9
Fixed NPE introduced with rev. 1644015
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644088 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 15:28:56 +00:00
Ashish Vijaywargiya
6d398e3a62
Applied minor fix from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue().
...
Removed unwanted code. Thanks Arun for providing the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644047 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 13:30:26 +00:00
Ashish Vijaywargiya
c4f99c7be1
Applied patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue()
...
Thanks so much Arun for this important contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644030 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 11:38:24 +00:00
Ashish Vijaywargiya
9e044d163a
Applied patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue(). Thanks so much Arun for this important contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644015 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 10:09:22 +00:00
Jacques Le Roux
98a606576d
Hide useless error message related to the "Happy hour" (9020) promotion https://issues.apache.org/jira/browse/OFBIZ-5899
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644010 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 09:40:53 +00:00
Ashish Vijaywargiya
a33a44d42e
Applied patch from jira issue - OFBIZ-5901 - findParty screens show all party when the user uses some filters. Thanks youssef khaye for the contribution
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643743 13f79535-47bb-0310-9956-ffa450edef68
2014-12-08 05:43:40 +00:00
Adrian Crum
fe1a35d9af
Screen widgets - some code cleanup plus add some accessor methods.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643683 13f79535-47bb-0310-9956-ffa450edef68
2014-12-07 15:23:55 +00:00
Adrian Crum
50811e5a51
Screen widgets - clean up some object types around SectionsRenderer class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643584 13f79535-47bb-0310-9956-ffa450edef68
2014-12-06 18:50:10 +00:00
Nicolas Malin
8e618c23c3
I converted the Crud service from simple to entity-auto for :
...
Budget (except create)
BudgetItem
BudgetRole (except create)
BudgetReview
Issue Associate OFBIZ-5900
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643579 13f79535-47bb-0310-9956-ffa450edef68
2014-12-06 18:12:21 +00:00
Ashish Vijaywargiya
9cc29f49fe
Applied patch from jira issue - OFBIZ-5898 - Tenant should run with specified domain name. Front store should support multi tenant feature. Thanks so much Arun for the contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643510 13f79535-47bb-0310-9956-ffa450edef68
2014-12-06 09:22:23 +00:00
Jacopo Cappellato
6cb3300f90
Added a check to prevent client code holding a reference to a "tenant" delegator to access super/meta tenant tables. Thanks to Arun Patidar for spotting this and for discussing with me the proper solution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643499 13f79535-47bb-0310-9956-ffa450edef68
2014-12-06 08:01:06 +00:00
Jacques Le Roux
243ed3437b
A patch from Deepak for "Party Content Upload Ajax Is Broken" https://issues.apache.org/jira/browse/OFBIZ-5891 , thanks to Adrian's report
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643423 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 20:41:38 +00:00
Nicolas Malin
a230eea6cb
Improve screen projectmgr/control/EditProjectContents, to display the creation form instead of the update content (that doesn't works) when a workEffortContent is deleted. Raise by Dhiraj Gupta on issue OFBIZ-5730.Review the form to display only modification's field that can be modified.
...
Clean attribut's links by auto-attribut-entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643384 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 18:36:33 +00:00
Jacques Le Roux
e5566dd756
This fixes <<"Please Select Your Shipping Method" error sometimes occurs when updating order items>> bugs https://issues.apache.org/jira/browse/OFBIZ-5430
...
Fixes a long standing issue in OrderServices.saveUpdatedCartToOrder() where an empty csi may be initially added to ShoppingCart.shipInfo() by ShoppingCart.setItemShipGroupQty() (called indirectly by ShoppingCart.setUserLogin() and then ProductPromoWorker.doPromotions(), etc.). Then shipGroupsSize > realShipGroupsSize are different (+1 for shipGroupsSize), so simply bypass the 1st empty csi. This prevents the "Please Select Your Shipping Method" error, pfew...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643341 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 16:10:22 +00:00
Jacques Le Roux
e536447954
Fixes a possible NPE introduced in ShoppingCart.loadCartFromOrder() with OFBIZ-5761. Found while working on OFBIZ-5430
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643340 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 16:08:50 +00:00
Jacopo Cappellato
1f802e5e77
Added to all the Tomcat connectors the commented out setting for the "address" parameter: this is useful when you run multiple instances of OFBiz in the same server each bound to a different hostname/IP address.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643315 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 15:05:20 +00:00
Nicolas Malin
06e92d7fca
Converted humanres CRUD service to entity-auto for entity PartyQual, PartyResume, PartySkill, PerfReview, PerfReviewItem, PerformanceNote, Employment, EmploymentApp, PartyBenefit, PayGrade, PayHistory, PayrollPreference, SalaryStep, TerminationReason, UnemploymentClaim, EmplPosition, EmplPositionFulfillment, EmplPositionReportingStruct, EmplPositionResponsibility, ValidResponsibility, SkillType, ResponsibilityType, TerminationType, EmplPositionType, EmplPositionTypeRate, AgreementEmploymentAppl, EmplLeave only on update, EmplLeaveType, JobRequisition, EmploymentApp, JobInterview, JobInterviewType, PersonTraining, TrainingClassType, EmplLeaveReasonType. Issue associate OFBIZ-5760
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643314 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 14:59:47 +00:00
Nicolas Malin
a87126d4a7
Complete the entity-auto engine for manage a service can be wait a pk or not. In this last case the field need to present on OUT part. This appears when you have a fromDate and you offer the possibility to user to indicate it, otherwise it's instantiate with now. It's a small improvement to complete the issue OFBIZ-5800, you have an example with entity PartyQual and the screen humanres/control/EditEmployeeQuals?partyId=DemoEmployee
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643303 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 14:49:36 +00:00
Jacopo Cappellato
2012d7edd8
Added code to ignore the optional charset as the key to retrieve the requestBodyMapHandler. For example the same handler will be found and used when the Content-Type header is set as:
...
application/json
application/json;charset=utf-8
application/json;charset=UTF-8
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643184 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 08:18:20 +00:00
Jacopo Cappellato
652ff50044
Two Groovy DSL descriptors for Eclipse and IntelliJ in order to get the autocompletion and similar features while editing Groovy files in OFBiz.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643183 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 08:16:22 +00:00
Jacques Le Roux
02374516e7
Adds some sub-dir to runtime/.gitignore
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643176 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 07:33:46 +00:00
Jacques Le Roux
95ed642439
Fix a bug introduced with OFBIZ-5761. This appeared only in a custom project when using the underlying services. Then after creating a new ship group with createOrderItemShipGroup, when appending and item with appendOrderItem the OISGAs (OrderItemShipGroupAssoc) where duplicated
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643172 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 07:18:11 +00:00
Jacques Le Roux
44fe29de51
No functional changes, only formatting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643170 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 07:13:10 +00:00
Jacopo Cappellato
0e421f293e
OFBIZ-5894 When ContentWorker.renderContentAsText is used to render content that have electronicText with empty textData then it renders a string with the "null" value: this commit fix the issue. Thanks to Deepak Dixit for the bug report and fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643088 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 10:51:52 +00:00
Jacques Le Roux
5abf245037
Implements "Allow to edit ship groups contents after and order has been created" https://issues.apache.org/jira/browse/OFBIZ-5761
...
From an UI perspective this adds a "View ship group by order item" button which allows to create new ship groups by order items and to move the quantity of the order item between ship groups.
This is the adaptation of the "oisg-management" addon for R12.04 to the trunk. Thanks to Nicolas and Leila from Nereides for their help
For more information refer to the Jira issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643077 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 10:15:20 +00:00
Jacopo Cappellato
3c128ad8b8
OFBIZ-5896 This commits fixes a regression I introduced with rev. 1635232 (this actually reverts that commit) and provides a different and better fix for the error affecting the "Did you know?" screenlet.
...
ContentServicesComplex.getAssocAndContentAndDataResourceCacheMethod was not using the passed contentId in condition list, and also was not using the ContentAssocDataResourceViewFrom/To view entity to get the result. Thanks to Deepak Dixit for the patch.
Misc minor cleanups (removed commented out code) and some small formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643061 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 07:17:12 +00:00
Jacques Le Roux
504722181d
Changes a findList() to an EntityQuery.queryList()
...
Fixes several formatting issues
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642746 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 19:51:30 +00:00
Nicolas Malin
6c6f594b98
improve french label for PartyRoleTypeNotFoundForTheParty, thanks Jacques and Gil for their remarks
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642647 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 08:42:00 +00:00
Nicolas Malin
94e2874419
add french label for PartyRoleTypeNotFoundForTheParty
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642640 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 07:54:23 +00:00
Adrian Crum
158fbf7808
Party Manager - remove security-related screen and form widgets that were moved to framework.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642586 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 18:17:18 +00:00
Adrian Crum
efc25f07ff
Party Manager - remove unused element from web.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642580 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 18:11:41 +00:00
Adrian Crum
e5a06480cd
Party Manager - consolidate JS file locations into a single folder.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642575 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:47:15 +00:00
Jacques Le Roux
6847c81b55
A fix from bill hongs for "ImageManagementServices.createContentAndDataResource() method might uses DataResource.dataResourceName field to store too long names" https://issues.apache.org/jira/browse/OFBIZ-5501
...
This issue was only on windows, except if you use filenames longer than 100 chars which unlikely (path not included)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642423 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 12:47:19 +00:00
Ashish Vijaywargiya
adea5089a2
Applied patch from jira issue - OFBIZ-5890 - There is incomplete set of ShipmentMethodType and CarrierShipmentMethod data. Also carrierServiceCode is not present for all CarrierShipmentMethod records.
...
======================================================
There is incomplete set of ShipmentMethodType an CarrierShipmentMethod data. Also carrierServiceCode is not present for all CarrierShipmentMethod records.
Add all shiiping options along with carrierServiceCode for carriers FEDEX, UPS, USPS and DHL.
======================================================
Thanks Arun for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642413 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 10:20:25 +00:00
Ashish Vijaywargiya
8d8613a927
Applied bug fix from jira issue OFBIZ-5877 - Add new address not workign on manage address screen.
...
Thanks Rishi for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642409 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 10:05:28 +00:00
Ashish Vijaywargiya
2f0148c48d
Applied patch from jira issue - OFBIZ-5546 - RAW_MATERIAL return/RMA functionality not supported OOTB.
...
Thanks Harsh for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642405 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 09:40:01 +00:00
Ashish Vijaywargiya
828e25df45
One minor changes that I missed to commit in previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642401 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 08:07:26 +00:00