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
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
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
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
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
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
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
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
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
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
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
* 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
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
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