Only added target-window="_BLANK" in widget forms when needed.
I don't know how to handle rendering of Birt reports in another window...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063374 13f79535-47bb-0310-9956-ffa450edef68
In "add order item" page, you select a product and leave other field empty, submit. Then you select same product but input some comment, after submit, you can only get one item in shopping cart item list with its order quantity increased but the comment
written in second time is discard.
The reason for this issue is because ShoppingCartItem.equals method return true if the attribute of either cart item or new item is empty.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063273 13f79535-47bb-0310-9956-ffa450edef68
one more patch to fix following issues in ebay and ebayStore components
1 Fixed issue of set complete order status in ebay when we complete order in ofbiz.
2 Created record of OrderPaymentPreference in PAYMENT_RECEIVED status.
3 Updated qty of cart item, if same product is adding again in cart during import order from ebay.
4 Set transactionId in cart.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063265 13f79535-47bb-0310-9956-ffa450edef68
Due to missing property "stateProvinceGeoId" in shippingAddressCtx the following call raises an NPE (EbayOrderServices.createShoppingCart, line 1118ff):
List<GenericValue> shipInfo = PartyWorker.findMatchingPersonPostalAddresses(delegator, shippingAddressCtx.get("shippingAddressStreet1").toString(),
(UtilValidate.isEmpty(shippingAddressCtx.get("shippingAddressStreet2")) ? null : shippingAddressCtx.get("shippingAddressStreet2").toString()), shippingAddressCtx.get("city").toString(),
shippingAddressCtx.get("stateProvinceGeoId").toString(), shippingAddressCtx.get("shippingAddressPostalCode").toString(), null, shippingAddressCtx.get("countryGeoId").toString(), firstName, null, lastName);
Checking whether the property is set (not empty) will solve this.
JLR: Norbert did the same for shippingAddressStreet2. I did not check if others were missing, hopefully there are none...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062762 13f79535-47bb-0310-9956-ffa450edef68
From "ordermgr/control/additem/product" page, if you try to select a "virtual" product into shopping cart with some comments or "desired delivery date" input, you'll be redirect to varaints selection page. After you select neccessary features and submit, the variant product appears in shopping cart item list, but the comments and "desired delivery date" you input ealier is lost.
1. add some hidden fields to store the values from previous "additem" form
2. add paramMap to request attributes in case those values were lost again if an error occurs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062733 13f79535-47bb-0310-9956-ffa450edef68
As xsd describes, "target-parameter" of a lookup field can be used to transfer extra parameters to lookup something. But if we choose "layer" mode (the default mode of lookup), this attribute does nothing. It works before jQuery introduced. I guess this feature is forgot by mistake during migration.
JLR: Nice catch! Actually IIRW it's because this has been introduced in trunk after we migrated this part in the jQuery branch and it passed "hidden" when I merged the trunk in branch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062709 13f79535-47bb-0310-9956-ffa450edef68
A Groovysh container to connect to. Just do a 'telnet localhost 9991' and you have a fully fledged groovysh.
This is a Groovy equivalent to the already existing BeanShell container.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062476 13f79535-47bb-0310-9956-ffa450edef68
The my time entry screen for hours in Project Mgr shows labels (in English) for the hour columns in following order: sun, mon,tue,wen,thu,fri,sat.
However when entering hours on in e.g the mon(day) column the actual date registered for the hours is for tuesday.
Seems like the week starts on monday, not on sunday
JLR: works well, would need more work for those who prefer to have weeks start on Monday...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062138 13f79535-47bb-0310-9956-ffa450edef68