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
There is an issue with commit r1507200. It does not compile.
I wonder though why Buildbot did not detect it and also why my IDE (Eclipse) does not detect it and also why this fails, because the same scheme is successfully used elsewhere.
The demo compilers (1.6.26, mine is 1.6.22, ) say:
classes:
[javac16] Compiling 11 source files to /home/ofbiz/trunk/applications/party/build/classes
[javac16] /home/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java:2097: incompatible types
[javac16] found : java.util.Map<java.lang.String,org.ofbiz.entity.GenericValue>
[javac16] required: java.util.Map<java.lang.String,java.lang.Object>
[javac16] Map<String, Object> postalAddress = UtilMisc.toMap("userLogin", userLogin);
[javac16] ^
[javac16] /home/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java:2117: incompatible types
[javac16] found : java.util.Map<java.lang.String,org.ofbiz.entity.GenericValue>
[javac16] required: java.util.Map<java.lang.String,java.lang.Object>
[javac16] Map<String, Object> telecomNumber = UtilMisc.toMap("userLogin", userLogin);
[javac16] ^
[javac16] 2 errors
Of course replacing by
java.util.Map<java.lang.String,java.lang.Object> postalAddress = UtilMisc.toMap("userLogin", userLogin);
as the compilers suggest does not help. I temporarily replaced by
Map<String, Object> postalAddress = new HashMap<String, Object>();
postalAddress.put("userLogin", userLogin);
Unrelated: I set my IDE to automatically clean imports...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507596 13f79535-47bb-0310-9956-ffa450edef68