Commit Graph
27737 Commits
Author SHA1 Message Date
Nicolas Malin 8e4bfa1eba remove old deprecated code in WorkEffortEventReminder services related to issue OFBIZ-6519. Thanks Gil Portenseigne for this cleaning
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-21 20:09:31 +00:00
Michael Brohl c5e668dfc4 Applied patch for OFBIZ-6522: Potential IndexOutOfBoundsException in CategoryServices.getProductCategoryAndLimitedMembers.
If view indexes as input parameters of service getProductCategoryAndLimitedMembers get manipulated (e.g. by manipulating URL params or bookmarking an URL with those params and come back later), it can lead to an IndexOutOfBoundsException because of a lowIndex greater list size. The highIndex is checked for that, the lowIndex is not.

Thanks Martin Becker for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686741 13f79535-47bb-0310-9956-ffa450edef68
2015-06-21 16:32:05 +00:00
Nicolas Malin 0d334c4cea Set viewIndex and viewSize as optionnal and if they aren't present resolve viewSize from widgets.properties and set viewIndex to one. related issue OFBIZ-6523, this allow to remove hard-code on link that call findOrder service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686691 13f79535-47bb-0310-9956-ffa450edef68
2015-06-21 08:20:11 +00:00
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Nicolas Malin 7382855c7b Use as default on <entity-option> and <list-option> description attribute like <display-entity> element. Related issues OFBIZ-6489 and OFBIZ-6490. Thanks to Christian Carlow for this and Gil Portenseigne for the review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686673 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:28:12 +00:00
Nicolas Malin 371d19a06c Add orderRoleInfo screen to display on vieworder all role associate to this order. Came from issue OFBIZ-6044, thanks to Pierre Smiths for this suggestion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686671 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:06:33 +00:00
Nicolas Malin f9f1f01098 Migrate findParty.ftl to form widgets, related issue OFBIZ-6227. Added a new service performFindParty oriented only on search operation (do not contains screen information that managed by screen widget) and convert the FindParty form to works very similar of the older but with widget capacity. Thanks Gil Portenseigne for this issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686667 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 19:43:49 +00:00
Adrian Crum e2f875de2d Restored the 'request-confirmation' and 'confirmation-message' menu item attributes that were removed in the recent widget refactoring - https://issues.apache.org/jira/browse/OFBIZ-6334.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686666 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 19:41:05 +00:00
Adrian Crum 220270f628 Move theme-specific js & css references from CommonDecorator(s) to themes - https://issues.apache.org/jira/browse/OFBIZ-6362.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686655 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 17:02:22 +00:00
Divesh Dutta 5a15391319 [OFBIZ-4559] Fixed issue: InventoryWorker.getOutstandingProductQuantities returns inaccurate results when there are multiple ItemIssuances for an order, created new view entity called ItemIssuanceQuantitySum. This view entity will have sum of issued item grouped by orderItem of Order. Then this view entity is used in OrderItemQuantityReportGroupByProduct view entity instead of ItemIssuance entity. By doing this, we get accurate results.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686651 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 16:28:21 +00:00
Arun Patidar 56739c69ed Fixed the code to handle NPE on adding config products to cart. Need to verify further process after this fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686642 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 15:30:45 +00:00
Divesh Dutta 756535ab00 [OFBIZ-5347] 1) Fixed issue: Shipping costs not recalculated after changing sales order shipment method. For this introduced new service as per the design in this task. 2) This service will loads the cart save new shipping method in cart, re-do all the calculations for tax and promotion, and saves the cart again in order. 3) Also adding new SECA rule which will trigger resetGrandTotal service on new service updateShipGroupShipInfo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686635 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 14:58:45 +00:00
Nicolas Malin bdce756456 use better french translation CommonApply -> Appliquer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686622 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 13:53:49 +00:00
Nicolas Malin e424ded590 Replace FTL at webtools/control/entitymaint with widgets. Remove multi column and convert links as include-menu. By default the entityName is link on Find and receive the anchor. This patch is related to OFBIZ-6402, thanks Christian Carlow for this issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686621 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 13:50:13 +00:00
Arun Patidar 3f36969de4 [OFBIZ-6237] Applied patch from the task. Fixed the issue of deleting existing GeoAssocs records while addind new GeoAssocs. Thanks Himanil Gupta for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686616 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 13:28:30 +00:00
Nicolas Malin 6aab83641f error in parsing array in ajaxUpdateAreas, use a regexp tp split all parameters separate by comma and support this string a,{b,c,d},e as three parameters and not five. Patch related to OFBIZ-6496. Thanks Pierre Gaudin for this issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686593 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 12:13:13 +00:00
Michael Brohl 38f0c315e4 Applied patch for OFBIZ-6492: "FTL errors at facility/control/authview/ViewContactMechs when TELECOM_NUMBER countryCode or contactNumber is blank".
Thanks Christian Carlow for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686583 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 12:06:47 +00:00
Michael Brohl 3ebf5b704b Applied patch for OFBIZ-6317 which added framework/base/config to the Eclipse .classpath file.
Thanks Martin Becker for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686576 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:55:45 +00:00
Arun Patidar e02eae3790 [OFBIZ-6111] Applied patch from the task to fix after login redirects on ecommerce application. Now user redirects on its last view page like main page, products page or category page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686574 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:52:36 +00:00
Michael Brohl 8568760a60 Applied changes for OFBIZ-6300: Compiler-Error with JDK 1.8 and source compatibility 1.8.
This reintroduces type safety for getFieldentryIterator.

Thanks Martin Becker for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686570 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:43:30 +00:00
Divesh Dutta 3ea48b7551 [OFBIZ-6520] Formatting changes, no fuctional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686569 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:38:29 +00:00
Divesh Dutta 561953b93a [OFBIZ-6520] When CalculateProductPrice service is called and currency is not passed in IN parameter then, this service picks up default currency from general.properties file which is hard coded to USA. But if some one changes the currency of store, code to return product price does not work. So code should look at ProductStore's defaultCurrencyUomId field first and if that is not set up then code should look for default currency set in general.properties file. This way code to fetch product price will be more database driven. So changing the code accordingly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686566 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:35:00 +00:00
Michael Brohl 1f5a7c3f70 Applied patch for OFBIZ-6319: Add missing entries to .gitignore to ignore typical Idea/eclipse folders/files.
Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686549 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 10:40:58 +00:00
Arun Patidar 5268a0835b [OFBIZ-6347] Applied patch from task. Removed code to create duplicate OPP record. Thanks Mohammad Kathawala for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686545 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 10:20:32 +00:00
Michael Brohl 6865d2db88 Fix for "Print Pick Sheet PDF using orderId.pdf as attachement name" (OFBIZ-6398).
This was introduced by r1680671 during the improvement for (OFBIZ-4480). The behaviour is changed to name the attachment PickSheet<orderId>.pdf for single order pick sheets and preserve the original naming when used for multiple order pick sheets.

Thanks Deepak for reporting the issue and everyone else who took part in the discussion.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686536 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 09:00:17 +00:00
Divesh Dutta 1450b01bd9 [OFBIZ-6500] Adding missing UI label. This should fix the reported issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686529 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 08:16:49 +00:00
Deepak Dixit 5f0baa1c50 Fixed field name (or key) unitCost is not valid for entity ShipmentReceipt error on receive return screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686360 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 06:14:40 +00:00
Nicolas Malin 484124f581 Improve widget-form with four elements : include-form, include-grid, include-menu, include-screen to offert more flexibility to define complex display. The main purpose is to complete the screen widget capacity to replace ftl screen.
With these elements, example component have a new FindExample search screen to select the display list type with a example of :
   * include-form : list examples with their features
   * include-screen : list examples with their items
   * include-grid : list examples with their status history
The element include-menu is present on FindUtilCache screen. Also a new CommonInlineBarMenu menu type to display menu with specific purpose (in-line) is now present and with this logic adding in-line-bar css class on themes thomawak and flatgrey.

This patch is combinate Issues : 
 * OFBIZ-6502 Add support for form/grid embedding within grids
 * OFBIZ-6501 Add support for screen embedding inside grids
 * OFBIZ-6404 Allow form/grid widget hyperlinks to be grouped into a single column
sub-tasks of master issue OFBIZ-6314 Widget Refactoring - Placeholder issue

Thanks to Christian and Adrian for their time

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686116 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 21:50:27 +00:00
Jacques Le Roux ce2a5b3533 OFBIZ-6514 - All postalAddress simple-map-processors miss some fields
This could be seen as a moot point for some of them, but the main ones in party and product component should not miss these fields.

Here they are.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686071 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 16:41:43 +00:00
Jacques Le Roux 900ab6f291 OFBIZ-6513 - countyGeoId and geoPointId fields are missing in PartyAndPostalAddress entity view
Rather than adding both fields, I rather adds an allias-all. Then if ever we add new fields to PostalAddress they will not miss there.

Being only an addition, this does not need any data migration explanations


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686002 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 12:37:06 +00:00
Jacques Le Roux 714fee6eb4 Reverts r1685735, this was committed by error (wrong button :/)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685737 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 08:56:05 +00:00
Jacques Le Roux 2fa81f250a git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685735 13f79535-47bb-0310-9956-ffa450edef68 2015-06-16 08:51:43 +00:00
Jacques Le Roux 35a56b13e0 A patch from Pierre Smits related with "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
Removes the lines related to the ViewSprintItem lines after a week

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685621 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 16:48:18 +00:00
Nicolas Malin 34f0f48f08 correct renderLink macro on foScreenMacroLibrary.ftl to avoid a freemarker stacktrace, related to OFBIZ-6461
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685176 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 21:28:11 +00:00
Nicolas Malin c6e5d7e695 fix previous commit : tika has been commented, isn't needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685133 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 16:52:28 +00:00
Nicolas Malin 68522eb09b Second pass due to local problem :/ . Resynchronise template macro form xml, text, csv and fo from html related to issue OFBIZ-6461.
adding unit test that call webtools/control/WebtoolsLayoutDemo with html, text, csv, xml and fop render and detect on the stream if an FTl stacktrace is present.
The fop test is currently commented because the screenfop failed to generate WebtoolsLayoutDemo page.
To support the unit case, the screen engine has been extend to manage platform-specific : <text> and <csv>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685132 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 16:48:55 +00:00
Nicolas Malin ae1af54128 revert previous commit, bad repo use my apologies
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685130 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 16:46:08 +00:00
Nicolas Malin d3e95bb938 Resynchronise template macro form xml, text, csv and fo from html related to issue OFBIZ-6461.
adding unit test that call webtools/control/WebtoolsLayoutDemo with html, text, csv, xml and fop render and detect on the stream if an FTl stacktrace is present.
The fop test is currently commented because the screenfop failed to generate WebtoolsLayoutDemo page.
To support the unit case, the screen engine has been extend to manage platform-specific : <text> and <csv>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685124 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 16:25:30 +00:00
Scott Gray ed78fd5bff Re-alphabetize the eclipse classpath and tidy it up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 22:41:54 +00:00
Scott Gray 9bfa33026e Add shiro to eclipse .classpath
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684774 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 22:25:16 +00:00
Jacopo Cappellato eb6d01b066 New implementation of the two-way cryptographic services of OFBiz based on Apache Shiro:
* two-way encryption is now delegated to Apache Shiro, with stronger initialization vectors
* the mechanism is backward compatible
* new tools to update the encryption of private keys, useful to upgrade older versions of OFBiz and most of all to replace old keys with new ones (this is critical to implement stronger security practices as requested by PCI) 
* unit tests



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684608 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 09:01:30 +00:00
Christian Carlow aece17ee2f Adding support for styles for foFormMacroLibrary.ftl renderFormatListWrapperOpen
https://issues.apache.org/jira/browse/OFBIZ-6483

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684232 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 17:56:47 +00:00
Adrian Crum ed1d93be59 Revert rev 1684133 and fix the compiler error properly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684217 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 16:14:45 +00:00
Adrian Crum a73c51bb49 Fix a thread-safety issue. Trivial unit test changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684216 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 16:12:30 +00:00
Christian Carlow 78b42f0763 Adding support for foFormMacroLibrary.ftl renderFormOpen styles
https://issues.apache.org/jira/browse/OFBIZ-6481

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684176 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 13:19:55 +00:00
Christian Carlow e4b2284e49 Adding support for foFormMacroLibrary.ftl renderFieldTitle style parameter.
https://issues.apache.org/jira/browse/OFBIZ-6479

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684142 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 10:52:06 +00:00
Jacques Le Roux 08e14fc292 A patch from Taher Alkhateeb "Upgrade OFBiz to Java JDK 8" https://issues.apache.org/jira/browse/OFBIZ-6458
2nd step: allows Eclipse EJC to compile, fixes a problem with compilation error in eclipse only, it works okay in javac but not in Eclipse EJC

jleroux: this introduces a small "regression" in the code syntax but to allow users to compile with Eclipse EJC.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684133 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:58:50 +00:00
Jacques Le Roux b92c8c1bf4 A modified patch from Pierre Smits related with "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
jleroux: rather than removing I rather commented out the lines related to the ViewSprintItem lines in case the original author decides to use it. I will remove in a week

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684129 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:39:39 +00:00
Jacques Le Roux b7c4773ae6 Comments out unused form in Scrum. Thanks to Pierre Smits report at "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684128 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:31:28 +00:00
Jacques Le Roux b863051dfd Implements "Geo Data Set for Chile" https://issues.apache.org/jira/browse/OFBIZ-6476
Follow discussion on user ML. 

I did not see Pierre Smits's patch at OFBIZ-6476, so I committed the date Peter provided, plus the Chile CountryAddressFormat I added

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684105 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 07:39:39 +00:00