In this way it will be easier to compare the ootb Lucene integration with custom ones (based on Lucene/Solr/etc...) and to switch between them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518925 13f79535-47bb-0310-9956-ffa450edef68
This is related with r1361130, where the birt component was moved from framework to specialpurpose.
The fix is to create the possibility of a loose coupling from applications controllers to specialpurpose controllers. For that an if-present attribute is added to the include element. When used, if the included controller does not exist, instead of an error and a stack trace, a warning is thrown (only in English, for developers) suggesting to checkout the component from trunk. Indeed, in the current case, this situation should only arise in release after 12.04 where the birt component, like all others but the ecommerce component, had been removed. This can be used in other cases, but for now only the component level is covered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518777 13f79535-47bb-0310-9956-ffa450edef68
When releasing a good to inventory from a production run (both declare and return material) the uom of the good returned isn't set in the inventory item.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518336 13f79535-47bb-0310-9956-ffa450edef68
I wonder about the codes of the other parts of GBR. They don't exist in 3166. But they were already in GeoData.xml before the Apache era. Anyway they can't hurt and are not a problem, so far...
This also adds 3166 links to CountryCodeData.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517947 13f79535-47bb-0310-9956-ffa450edef68
When producing a good in Manufacturing the manufacturing date and time doesn't get set in the inventoryItem
jleroux: I also noticed that 1 instance of datetimeReceived for SERIALIZED_INV_ITEM in productionRunTaskProduce used UtilDateTime.nowDate() instead UtilDateTime.nowTimestamp(), I changed it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517780 13f79535-47bb-0310-9956-ffa450edef68
jleroux: I vaguely remember a change related to ignore-if-null and ignore-if-empty. Anyway replacing ignore-if-null by ignore-if-empty does the trick, which makes sense
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512573 13f79535-47bb-0310-9956-ffa450edef68
See Purchase Order #DEMO10090 in the Order Managaer application, where the order are to be approved.
Try to click on the link;
Shipments Nbr 9998 Packing Slip
----------------------------------------------
Then the following error is shown:
----------------------------------------------------------
The Following Errors Occurred:
Problems with the response writer/output stream: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/facility/ShipmentScreens.xml#PackingSlip.fo]: java.lang.IllegalArgumentException: Operator must be EQUALS or NOT_EQUAL when right/rhs argument is NULL (Operator must be EQUALS or NOT_EQUAL when right/rhs argument is NULL )
-----------------------------------------------------------
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512376 13f79535-47bb-0310-9956-ffa450edef68
While looking for other cases like r1459222 and r1509164 introduced by r1300812 and r1305309. I noticed there were a lot of wrong for loops formatting (miss a white space after for), this changes it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1511742 13f79535-47bb-0310-9956-ffa450edef68
"other-field-size" of drop-down form element is a very nice feature, but it's crippled in current version.
attached a patch to make it works and added an example section for that into FormWidgetExample.
jleroux: Interesting, I did not know this feature existed, it was committed long ago by David (before ASF era)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1511279 13f79535-47bb-0310-9956-ffa450edef68
When a product has lotid set to mandatory the receipt of inventory in facility generates following error:
The Following Errors Occurred:
The lotId is mandatory for the product M-AMBER-40.
However, it is not possible to set the lotid on the receipt form.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1510042 13f79535-47bb-0310-9956-ffa450edef68
When an order is created from a cart, OrderItemAttribute entities are created as expected. But when this same order is used to load back to the cart, the OrderItemAttributes are not reset. I found the cause of this issue in the org.ofbiz.order.shoppingcart.ShoppingCartServices.loadCartFromOrder(DispatchContext, Map<String, Object>) method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1509164 13f79535-47bb-0310-9956-ffa450edef68