Commit Graph
14503 Commits
Author SHA1 Message Date
Adrian Crum 877c21d864 Comment out non-existent web application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400385 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 08:05:13 +00:00
Jacques Le Roux 2405327ded A patch from Tom Burns "Find Inventory Event Planned Displays Error Message" https://issues.apache.org/jira/browse/OFBIZ-5054
In the Manufacturing Manager MRP feature MRP Log displays an error when Find is clicked in the Find Inventory Event Planned screenlet.

To reproduce:
1. Create a Routing table (details beyond the scope of this note)
2. Navigate to the Manufacturing MRP feature.
3. Select Run MPR
4. Enter an MRP Name and Facility
5. Click Submit
6. Select MRP Log Tab
7. When Status is finished click Find in the Find Inventory Event Planned screenlet.

Expected:
MRP Plan
Actual:
Error message before MRP Plan
Error on line 159, column 17 in component://manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl null is undefined. It cannot be assigned to initialQohEvent The problematic instruction: ---------- ==> assignment: initialQohEvent=null [on line 159, column 17 in component://manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl] ---------- Java backtrace for programmers: ----------
...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1399761 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 18:15:38 +00:00
Jacques Le Roux afe62dee1a Extended from a Tom Burns's patch at https://issues.apache.org/jira/browse/OFBIZ-4851
To reproduce:
1. In Catalog Manager select the Products menu
2. Click find
3. Click product id GZ-1006-1
4. Click Locations tab
5. In Add Facility Location screenlet select Web Store Warehouse from the Facility Id drop-down list
6. In the Location Seq Id pop up window select Facility Id Web Store Warehouse click find.
7. Select a Location Id
8. In Add Facility Location click Add

Expected: Add location to product record
Actual:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#GlobalDecorator: java.lang.IllegalArgumentException: Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations (Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations)

jleroux: I found some other same cases and fixed them the same way

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1399539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 07:14:35 +00:00
Jacques Le Roux a21d16e369 A patch from Tom Burns "BIRT interferes with Context Help" https://issues.apache.org/jira/browse/OFBIZ-5033
To reproduce:
In the Accounting,Facility, or Order component.
Click the Help icon
Expected:
Help window opens for the active component
Actual:
Help window opens for BIRT

The following, added in Rev. 1361130 to BIRT ofbiz-component.xml, appears to be causing the problem. The problem goes away if BIRT is not loaded.

<webapp name="accounting"
title="Accounting"
server="default-server"
location="webapp/accounting"
base-permission="OFBTOOLS,ACCOUNTING"
mount-point="/accounting"/>
<webapp name="facility"
title="Facility"
description="FacilityComponentDescription"
server="default-server"
location="webapp/facility"
base-permission="OFBTOOLS,FACILITY"
mount-point="/facility"/>
<webapp name="order"
title="Order"
description="OrderComponentDescription"
server="default-server"
location="webapp/ordermgr"
base-permission="OFBTOOLS,ORDERMGR"
mount-point="/ordermgr"/>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1396105 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 16:53:07 +00:00
Jacques Le Roux 4a431398a0 A patch from Leon for "Internal notes and shipping notes are lost when input an order" https://issues.apache.org/jira/browse/OFBIZ-5038
When we try to create an order, we can input internal note and shipping note in "option" form. But those information is lost when we come back to "option" setting form or when we create the order at last. 
The estimated delivery before/after date are not correctly set either in "option" form.

1. submit internal notes and shipping notes to order cart
2. display estimated shipping before and after date
3. avoid adding internal notes and shipping notes multiple times if submit options repeatedly
4. make it possible to empty internal note or shipping note

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395953 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 10:48:41 +00:00
Jacques Le Roux 962091598a As a 1st step of "Proposal for a new help system" https://issues.apache.org/jira/browse/OFBIZ-4941, update docbook to version 1.77.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395307 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 14:02:53 +00:00
Jacques Le Roux 1996cda067 Looks like somehow I missed a bunch of files at r1395296. To be sure I will remove all before re-adding all again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395300 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 13:42:48 +00:00
Jacques Le Roux 15bc749091 As a 1st step of "Proposal for a new help system" https://issues.apache.org/jira/browse/OFBIZ-4941, update docbook to version 1.77.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395298 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 13:31:52 +00:00
Jacques Le Roux 31261145eb A patch from Paul Foxworthy "Recalculate Order causes NumberFormatException" https://issues.apache.org/jira/browse/OFBIZ-5046
On demo site, create a new order by using the URL https://demo-trunk.ofbiz.apache.org/ordermgr/control/orderentry

Enter any Product ID, e.g. GZ-1000
Enter a Quantity, e.g. 1
Click on Add To Order

Now click on Recalculate Order on the title bar of the Create Order screenlet
Check the logs. On the demo site, you can do this with the URL https://demo-trunk.ofbiz.apache.org/webtools/control/LogView

You will see:
Exception: java.lang.NumberFormatException Message: For input string: "i18n" ---- stack trace --------------------------------------------------------------- java.lang.NumberFormatException: For input string: "i18n" java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) java.lang.Integer.parseInt(Integer.java:449) java.lang.Integer.parseInt(Integer.java:499) org.ofbiz.order.shoppingcart.ShoppingCartHelper.modifyCart(ShoppingCartHelper.java:673)

The problem is the suffix _i18n on the input elements. The code in modifycart assumes the last thing in the parameter names is a sequence number.
This problem is not as severe as OFBIZ-5045, because the exception is swallowed immediately and the cart is updated properly. Still, these exceptions slow down OFBiz and add noise to the logs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393948 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 08:07:34 +00:00
Sascha Rodekamp 7101842027 Edit Estimated Ship Date or Estimated Delivery Date brings on date format error (https://issues.apache.org/jira/browse/OFBIZ-5045). A patch from Paul Foxworthy: The patch adds an if statement to ignore members of the isdm and iddm maps with keys that have a suffix of _i18n.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1392773 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 07:43:01 +00:00
Jacques Le Roux 77f1e6aae9 We missed a direct link to geos (ProducGeo)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1390336 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 08:55:02 +00:00
Hans Bakker 6a48156083 correction of an error introduced in commit r1337665 [2/2]. thank you tukkata for the contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1390258 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 01:46:49 +00:00
Jacques Le Roux b3ac428f69 A patch from Tom Burns "Pagination Fails in Form ListAgreementTerms " https://issues.apache.org/jira/browse/OFBIZ-5013
As mentionned by Tom, ListAgreementRoles pagination also failed: paginate-target FindAgreementRoles does not exist. I replaced by EditAgreementRoles, works


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1388832 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 16:24:26 +00:00
Ashish Vijaywargiya bcef92dd9f Applied bug fix from jira issue - OFBIZ-4972 - NumberFormateException while update order items.
If order item price or quantity is greater then 999 then update order items service throw NumberFormateException.
Steps to regenerate:
Create an order(SO/PO).
Edit order items, set order price 1000 and update order items.
Again edit order items and try to update price from (1,000 to 1,002).
System will throw NPE and if same will perform for quantity then it will throw NumberFormatException on console.
Thanks Deepak for the contribution. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1385014 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 05:25:28 +00:00
Ashish Vijaywargiya bf3918e95a Bug fix. When creating Sales Order priority of Order is set to Medium i.e 2 in OrderHeader. But when reserving inventory of sales order priority is not set in OrderItemShipGrpInvRes . This results placing Order to get last priority even if its ship before date is of earliest date. So this fix will solve the bug and Orders will get reservation priority as expected.
Thanks Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1385008 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 04:26:03 +00:00
Adrian Crum e6f5396094 Do not log credit card information.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1384894 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 19:21:48 +00:00
Jacques Le Roux 9dcd3564e3 Moves the workflow component to attic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1381884 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 05:39:26 +00:00
Erwan de Ferrieres 53913d4dbe A patch from Nicolas Malin - OFBIZ-5021 - Add screen to manage productStoreGroup Hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1381093 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 09:19:53 +00:00
Erwan de Ferrieres 3924e6d6ca A patch from Nicolas Malin - French uilabels for Marketing components - OFBIZ-4986
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1380900 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 21:37:33 +00:00
Erwan de Ferrieres 0e1d563143 Upgrading to lucene 3.6.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1380896 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 21:26:41 +00:00
Jacques Le Roux 1e64fe94c7 A slightly modified patch from Nicolas Malin "change serviceName by customMethod on Content " https://issues.apache.org/jira/browse/OFBIZ-5020
When you used a content as template, the content.serviceName value used to call the context populate service before rendering.
I propose to replace serviceName field by customMethodId and use customMethod pattern for more flexibility.
serviceName field is kept for backward compatibility

Thanks to Scott and Adrian for support


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1379937 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 09:46:20 +00:00
Jacques Le Roux 7738f5a45c Revert r1379389 it was incomplete and need more work, see https://issues.apache.org/jira/browse/OFBIZ-5020#comment-13446639
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1379740 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 10:44:14 +00:00
Jacques Le Roux fa5824d1af A patch from Nicolas Malin "change serviceName by customMethod on Content " https://issues.apache.org/jira/browse/OFBIZ-5020
When you used a content as template, the content.serviceName value used to call the context populate service before rendering.
I propose to replace serviceName field by customMethodId and use customMethod pattern for more flexibility.
serviceName field is renamed to oldServiceName field for backward compatibility



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1379389 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 09:55:34 +00:00
Jacopo Cappellato d7603a1dc1 Removed unused folder containing an empty file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1379342 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 07:57:16 +00:00
Erwan de Ferrieres e36990c0ce typo in French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1378693 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 20:00:50 +00:00
Erwan de Ferrieres 73f57f51dc OFBIZ-5011 - more accurate translations. Thanks Jacques for the review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377800 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 19:22:41 +00:00
Erwan de Ferrieres 8d67bc6815 OFBIZ-5011 - Complete French traduction for accounting component - A patch from Nicolas Malin
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377654 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 12:38:30 +00:00
Jacopo Cappellato b3c51dfa0f Misc cleanups (no functional changes) to the Lucene integration:
* removed unused imports
* removed unused old methods with duplicated logic
* made some methods private
* improved some debug statements
* formatting adjustments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1375970 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 10:16:52 +00:00
Adrian Crum e31fc1c801 Some Job Scheduler related notes/warnings - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374736 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 11:33:07 +00:00
Jacopo Cappellato dfd54dd328 Fixed some inconsistent use of Lucene Version (now the current Version is set as a static final field of SearchWorker); misc minor code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374328 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 15:43:30 +00:00
Jacopo Cappellato dc97189688 Minor code cleanup: removed unnecessary variable declaration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374283 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 14:24:47 +00:00
Jacopo Cappellato 739defff37 Minor code cleanup: removed empty lines and reused a variable rather than getting it from a GenericValue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374273 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 14:08:23 +00:00
Hans Bakker d2027b4c3b spelling error in r1369948
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1371044 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 06:08:13 +00:00
Erwan de Ferrieres 41c1dfbab2 Suppressing - in method names which are causing XSD validation to fail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369948 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:41:14 +00:00
Jacques Le Roux 9fd4ddb462 Closes "correct "javascript:void();" to "javascript:void(0);" to make it syntax valid" reported by Leon https://issues.apache.org/jira/browse/OFBIZ-4970
Firefox will throw syntax error if you call javascript void function without parameter.

jleroux: I did not reproduce with FF14 on XP (modern browsers correct by themselves) but I agree it's a better syntax. So I changed all where it was needed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369555 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 11:27:20 +00:00
Erwan de Ferrieres ab4c36f651 Fixing the javadoc for CategoryWorker.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369399 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 18:40:22 +00:00
Hans Bakker 9f63d1256f fix the grouporder tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1368889 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 11:14:03 +00:00
Hans Bakker bb74cd18fa improve the groupbuying function by properly return sales numbers when cancelling an order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1368822 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 07:52:28 +00:00
Jacques Le Roux b189d4e539 This closes "Price rule add not correctly" https://issues.apache.org/jira/browse/OFBIZ-4978
steps:
1.login and goto price rule tab
2.add a rule
3.add a condition for the rule
The issue is, the added condition is not my selection. I add condition "Party is Fanse Fan", then add, after success, in the detail list, the last party of the select box be shown on the condition , not the one which I choosed.

jleroux:
* The problem reported by Fanse is now corrected
* Fixes an issue when updating a condition (check is now done on input types and not only on value as in creation where it's not a problem, the copy and adaptation from creation to update service implementation was the reason of this bug

I'm in the process of adding some more check for condition creation, but will do that later (ne feature not only fixes as here)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1366960 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 21:49:52 +00:00
Jacques Le Roux d0c3271d1d A patch from Olivier Heintz "Small french translation correction" https://issues.apache.org/jira/browse/OFBIZ-4974
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1366698 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 14:58:32 +00:00
Jacopo Cappellato 955ae9eee1 A rather important refactoring of service related code:
* new factory interface for LocalDispatcher objects
* new factory implementation of GenericDispatcher
* new ServiceContainer container that initializes the factory (based on a configuration parameter)
* moved the getLocalDispatcher method out of GenericDispatcher and refactored (in a thread safe way) into ServiceContainer/GenericDispatcherFactory
* ServiceContainer also maintains the cache of LocalDispatchers that was managed by GenericDispatcher
* added code to ServiceContainer to deregister LocalDispatchers at shutdown: this finally fix the current code that was broken because the thread pool maintained by the JobPoller was never closed because of an issue with LocalDispatchers not being deregistered when not started by the ContextFilter
* change all code to call the ServiceContainer rather than GenericContainer to get a LocalDispatcher: now the implementation is no more directly referenced by calling code


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364952 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 09:16:26 +00:00
Hans Bakker a97af418b5 make the websiteId available in the tellafriend.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364942 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 09:00:06 +00:00
Jacopo Cappellato bf8f4a1308 Removed invalid references to non existing resources.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364247 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 09:54:02 +00:00
Jacopo Cappellato 7a0c6ef6ac Removed invalid links and controller entries (referencing non existing resources).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:16:10 +00:00
Jacopo Cappellato 66c2fac9d4 Removed duplicated service implementations (there were 2 copies in the same file).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364218 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:03:34 +00:00
Jacopo Cappellato c6ef77ac59 Removed the old and unused "serviceReaderUrls" context-param from all the web applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364217 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 06:33:26 +00:00
Jacopo Cappellato 5160656e26 Removed duplicated service implementations (there were 2 copies in the same file).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364216 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 06:26:31 +00:00
Jacopo Cappellato e283d923ab Added a new special error string returned by the serveObjectData event when the output stream has been already used; this is associated to a no-response because we will not be able to return the error page; this used to cause an error in the logs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1363786 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:03:34 +00:00
Jacopo Cappellato 3aa85842f2 Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list).
Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361130 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 09:48:32 +00:00
Jacques Le Roux 101af2bbfa A patch from Tom Burns for "HR Public Holiday Accepts Blank in Required Field "https://issues.apache.org/jira/browse/OFBIZ-4965
To Reproduce:
1. Navigate to HR > Global HR Settings > Public Holiday
2. Enter a From Date
3. Click Submit

Expected: Alert like "Required field Holiday Name missing"
Actual: New record created without required Holiday Name


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361056 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 07:09:43 +00:00