Commit Graph
27737 Commits
Author SHA1 Message Date
Erwan de Ferrieres a0ff02ece1 Updating files related to commit 1405325 - upgrade to PDFBox 1.7.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405429 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 21:54:19 +00:00
Erwan de Ferrieres 97d5a93b23 Upgrading to latest stable Apache lucene version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405428 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 21:50:23 +00:00
Jacques Le Roux a1bffbab94 Closes Upgrade PDFBox to 1.7.1 https://issues.apache.org/jira/browse/OFBIZ-5066
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405325 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 12:43:30 +00:00
Erwan de Ferrieres 4e60dbe157 Upgrading to latest tomcat release 7.0.32
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405298 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 07:09:41 +00:00
Jacques Le Roux b46c7a2c06 A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Got an issue merging GeoData_JP.xml with Subclipse, using Toirtoise solved it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403746 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:48:42 +00:00
Jacques Le Roux e381dea7a3 Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403655 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 10:35:01 +00:00
Jacques Le Roux 0cc786f9a3 Thanks to Roberto Benítez Monje's report: "Ofbiz uses a reserved word in a Party View definition" https://issues.apache.org/jira/browse/OFBIZ-5062
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
2012-10-29 15:33:39 +00:00
Jacques Le Roux af2f71f48f Import/export https://issues.apache.org/jira/browse/OFBIZ-5047
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
2012-10-27 09:26:03 +00:00
Adrian Crum f32d22f78e Improved the FIXME comment in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1401573 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 07:46:39 +00:00
Adrian Crum 820d0eba5a Commented out a bad ECA in the Example component that was causing exceptions to be thrown in the updateExample service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1401254 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 11:40:51 +00:00
Scott Gray a2a2857bef Replace more misc. webSiteId retrievals with calls to WebSiteWorker.getWebSiteId(request). Deprecated CatalogWorker.getWebSiteId(request) and CatalogWorker.getWebSite(request).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400626 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 11:27:10 +00:00
Scott Gray 47abb49013 Replaced direct access to webSiteId from the servlet context attributes with calls to WebSiteWorker.getWebSiteId(request)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400601 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 08:53:04 +00:00
Scott Gray 206d159601 Avoid potential NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400574 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 05:09:46 +00:00
Jacques Le Roux 675c06a04a A patch from Leon for "correct BIRT_VIEWER_SCRIPTLIB_DIR configuration" https://issues.apache.org/jira/browse/OFBIZ-5053
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
2012-10-20 14:46:49 +00:00
Adrian Crum 8f23ccfa30 Fixed NPE in Content component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400421 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 11:34:26 +00:00
Jacques Le Roux 5192aeea13 A patch from Tom Burns "Error is comming in HR's recruitment Tab " https://issues.apache.org/jira/browse/OFBIZ-5056
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
2012-10-20 08:59:40 +00:00
Adrian Crum f4167231b1 Fixed broken UI in hhfacility component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400392 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 08:53:27 +00:00
Adrian Crum bd722a7f97 User Name is two words.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400388 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 08:47:52 +00:00
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
Sascha Rodekamp 1fbfbaea83 Upgrade jQuery Validation to Version 1.10
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1399132 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 07:14:00 +00:00
Sascha Rodekamp a567174540 - Upgrade Timepicker to version 1.0.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1399128 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 07:01:03 +00:00
Sascha Rodekamp 17f95ebca0 Upgrade jQuery to Version 1.8.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1398800 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 13:55:23 +00:00
Sascha Rodekamp 72318d523a Upgrade jQuery UI to Version 1.9
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1398771 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 12:57:46 +00:00
Jacques Le Roux ee091b11d5 A Christoph Neuroth's idea "Include complete stack trace in groovy script exception messages" https://issues.apache.org/jira/browse/OFBIZ-5049
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
2012-10-16 07:09:54 +00:00
Jacques Le Roux 88dfaa9bb4 Just to clarify, when you check all you don't check views. I just changed English and French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1397809 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 10:24:49 +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 06025d5235 A patch from Leon "very trivial update to fieldlookup.js in case of "null object" failure for weird unknonw reason" https://issues.apache.org/jira/browse/OFBIZ-4911
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
2012-10-08 07:26:02 +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 1daa9d0525 While testing for https://issues.apache.org/jira/browse/OFBIZ-5047 with trunk (instead of 10.04) I got an issue introduced by http://svn.apache.org/viewvc?view=revision&revision=950764 but actually the FTL code did not make any sense, why using a static call to isNotEmpty when you have ?has_content?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395296 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 13:24:44 +00:00
Jacques Le Roux 8e6e049ad5 A patch from Varun Bhansaly "Email configuration - mail.smtp.starttls.enable ignored" https://issues.apache.org/jira/browse/OFBIZ-4943
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
2012-10-06 16:18:09 +00:00
Jacques Le Roux cc5ddd92da Remove trailing blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395035 13f79535-47bb-0310-9956-ffa450edef68
2012-10-06 12:53:28 +00:00
Jacques Le Roux ac9f940790 A modified patch from Jyoti Sharma https://issues.apache.org/jira/browse/OFBIZ-5043
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
2012-10-06 10:59:12 +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
Jacques Le Roux 6eb198e3c2 No functional change, just swap parameters positions in JavaDoc, while reading fast I got confused
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393556 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 15:38:21 +00:00
Jacques Le Roux d652185fce Adds a new line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393369 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 09:26:15 +00:00
Jacques Le Roux 899598caba Moves throwRequestHandlerExceptionOnMissingLocalRequest from general.properties to requestHandler.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393367 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 09:25:19 +00:00
Adrian Crum 423947d9ed Small improvement to Web Tools Find Values screen - order values by pk.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393258 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 02:30:19 +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
Sascha Rodekamp 959321e0f1 Bug Fix: No Url encoding for get parameters (https://issues.apache.org/jira/browse/OFBIZ-2628). Thanks Wojciech Szymanowski for the hint. This Patch fixes the problems with parameters from hidden fields sending with POST method and parameters sending during "request-redirect" response type
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1392766 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 07:22:05 +00:00
Jacques Le Roux ecfc317a79 Closes "ControlServlet - Exception thrown for requests not defined by controller.xml" https://issues.apache.org/jira/browse/OFBIZ-5037
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
2012-09-27 14:49:20 +00:00
Sascha Rodekamp 49adbc5bcc Bug Fix: No Url encoding for get parameters (https://issues.apache.org/jira/browse/OFBIZ-2628). Thanks Wojciech Szymanowski for the hint. The CatalinaContainer.createConnector() method does not initialize Connector.URIEncoding property from ContainerConfig class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1390542 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 15:03:23 +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
Adrian Crum a8793d83dd Fixed a bug introduced in rev 1334336 - do not throw an exception if the web.xml file does not exist.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1389802 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 11:12:34 +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