Inside the component Part, the view-entity 'PartyIdentificationAndParty' uses the reserved word of MAXDB "PI". Without change it the Party component doesn't work properly
jleroux: I just changed form PI to PIN and PIM where relevant
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403370 13f79535-47bb-0310-9956-ffa450edef68
This fix a random issue which appears sometimes on Ubuntu (it seems beginning from Ubuntu 12.04, maybe related to Open jdk)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1402766 13f79535-47bb-0310-9956-ffa450edef68
Birt has been move to specialpurpose but BIRT_VIEWER_SCRIPTLIB_DIR in web.xml is still configured to framework.
jleroux: while checking I found also an error in birt/documents/Birt.xml and while at it I also commit a tiny part of OFBIZ-4941 in birt/ofbiz-component.xml because it breaks the help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400463 13f79535-47bb-0310-9956-ffa450edef68
I am getting an error(null Pointer Exception) in HR module when i am testing some functionallities.
I followed some steps in my testing.
Step 1:-Cleck on Recruitment tab and also click on "New job Requisition".Fill the data and create the record.
Steps 2:-click on sub tap "Internal Job Posting" and then click on "New internal Job Posting" Button on find Internal job posting page. Create the record from require data
Step3:-Again click "Internal Job Posting" sub tab. and find the created Internal Job Posting record.
You find operastion give the Error Massage
:ERROR MESSAGE:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#FindScreenDecorator: java.lang.NullPointerException (null)
You also check Job Interview and Approve sub tab
I have sent this mail to jacopo Le but Issue is not resolve till date
Please solve this issuse. I Am waiting for ur responce APAS
Thanks
Dhiraj Gupta
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400393 13f79535-47bb-0310-9956-ffa450edef68
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
When a groovy script fails, currently you can only follow the stack trace to rg.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:348), but not into the failed script itself, which makes debugging really hard.
This can easily be improved by wrapping the exception there:
- throw new IllegalArgumentException(errMsg);
+ throw new IllegalArgumentException(errMsg, e);
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1398679 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
I cannot find the root cause and it's hard to reproduce, but it does happen sometimes. The web browser reports "null object" exception when it tries to evaluate following codes in fieldlookup.js:
{quote}
var obj_caller = (window.opener? window.opener.lookups[num_id]: null);
{quote}
window.opener is there but window.opener.lookups is null.
jleroux: better be safe than sorry, even if it hides the original reason this no functional change can't have any side effects.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395460 13f79535-47bb-0310-9956-ffa450edef68
The email configuration setting mail.smtp.starttls.enable is ignored by the system.
I encountered this while configuring OFBiz an email server which had TLS enabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395104 13f79535-47bb-0310-9956-ffa450edef68
When i worked with Url Rewrite Filter, i faced the following issue:-
In case of http protocol in the url, https links on th epage were not being rewritten and when their was https url, http links were not rewritten.
The issue behind this what i found is that in RequestHandler.java encodeUrl() is not called in the above given case.
So, if we place response.encodeUrl() their the issue is resolved.
jleroux: This makes sense since we are still in the "if (encode) {" block. I just noticed that response != null was checked above so I placed the same check before encoding
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1394995 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
This has been tested in a custom project and work as expected it does not add any functional features for OFBiz if you don't use external requests in controllers. So should have any impacts OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1391037 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