Commit Graph
14503 Commits
Author SHA1 Message Date
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 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 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
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 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
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
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
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
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
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
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
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
Ashish Vijaywargiya 29603b334a Applied 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@1642400 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 08:02:05 +00:00
Ashish Vijaywargiya d230383a32 Applied patch from jira issue - OFBIZ-5844 - Convert java files to EntityQuery.
================================================================
Ashish Vijaywargiya / Arun Patidar: Getting error on http://demo-trunk-ofbiz.apache.org/ecommerce/round-gizmo-GZ-2644-p due to commit revision r1641044. There is an issue in CatalogUrlFilter class. Attaching the patch to fix the problem. Here is the error for your quick reference;

java.lang.IllegalArgumentException: You must pass an even sized array to the toMap method (size = 1)
	org.ofbiz.base.util.UtilMisc.toMap(UtilMisc.java:158)
	org.ofbiz.entity.util.EntityQuery.where(EntityQuery.java:160)
	org.ofbiz.product.category.CatalogUrlFilter.doFilter(CatalogUrlFilter.java:97)
================================================================ 
Thanks Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642104 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 11:32:46 +00:00
Jacopo Cappellato 373e0aba28 Moved the "bi" component from the framework to the specialpurpose folder; moved all the dependencies (client code) on the "bi" component from applications components to the "bi" component itself.
Now the "bi" component contains all the dimensions/facts/star schemas and all the logic to populate them and can be easily enabled/disabled.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642027 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 06:14:06 +00:00
Jacques Le Roux f25a007030 Fixes some formatting issues I crossed while merging to the SEO branch, I did not fix them all, just the ones who bugged me
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641366 13f79535-47bb-0310-9956-ffa450edef68
2014-11-24 11:21:54 +00:00
Ashish Vijaywargiya f9b159f793 Applied patch from jira issue - OFBIZ-5844 - Convert java files to EntityQuery.
===========================================================
Thanks Scott for reviewing and reporting an issue.

Scott's comment in email:
The where() methods don't currently support creating an entity
condition in the style used above. You'll need to wrap those three
parameters in a EntityCondition.makeCondition() method, i.e.
paymentMethodTypes = EntityQuery.use(delegator).from("PaymentMethodType")
.where(EntityCondition.makeCondition("paymentMethodTypeId",
EntityOperator.NOT_EQUAL, "EXT_OFFLINE")).queryList();

Attached is a patch with suggested solution.
==================================================
Thanks Arun for the contribution. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641317 13f79535-47bb-0310-9956-ffa450edef68
2014-11-24 06:26:37 +00:00
Nicolas Malin 9d696217e2 Corrective patch proposed by Gil Portenseigne that pass link's parameter from flexible string to correct parameter element on calendar menu screen, related to the issue OFBIZ-5847
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641096 13f79535-47bb-0310-9956-ffa450edef68
2014-11-22 18:05:32 +00:00
Ashish Vijaywargiya 3e019c8977 Applied ordermgr component 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@1641045 13f79535-47bb-0310-9956-ffa450edef68
2014-11-22 11:29:46 +00:00