You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ray Barlow (JIRA)" <ji...@apache.org> on 2006/10/19 15:15:35 UTC
[jira] Created: (OFBIZ-387) Improves the debug log to show the
details of which field it was complaining about
Improves the debug log to show the details of which field it was complaining about
----------------------------------------------------------------------------------
Key: OFBIZ-387
URL: http://issues.apache.org/jira/browse/OFBIZ-387
Project: OFBiz (The Open for Business Project)
Issue Type: Improvement
Components: framework
Affects Versions: SVN trunk
Environment: N/A
Reporter: Ray Barlow
Priority: Trivial
Attachments: GenericEntity.patch
Helps see the problem fields quickly, like this below that happens when cancelling an order item:
2006-10-18 21:33:08,147 (http-0.0.0.0-8443-Processor3) [TaxAuthorityServices.java:294:WARN ] In TaxAuthority Product Rate no records were found for condition:((productStoreId = '9000' OR productStoreId IS NULL) AND ((taxAuthPartyId = '_NA_' AND taxAuthGeoId = '_NA_') OR (taxAuthPartyId = 'USA_IRS' AND taxAuthGeoId = 'USA')) AND (productCategoryId IS NULL OR productCategoryId IN ('100', '101', 'CATALOG1_SEARCH', 'TSTCSL')) AND (minItemPrice IS NULL OR minItemPrice <= '15.9900000000000002131628207280300557613372802734375') AND (minPurchase IS NULL OR minPurchase <= '15.9900000000000002131628207280300557613372802734375'))
2006-10-18 21:33:08,438 (http-0.0.0.0-8443-Processor3) [ GenericEntity.java:384:WARN ] In entity field[ModelEntity[OrderAdjustment]@amount] set the value passed in [java.math.BigDecimal] is not compatible with the Java type of the field [Double]
2006-10-18 21:33:08,448 (http-0.0.0.0-8443-Processor3) [ GenericEntity.java:384:WARN ] In entity field[ModelEntity[OrderAdjustment]@sourcePercentage] set the value passed in [java.math.BigDecimal] is not compatible with the Java type of the field [Double]
2006-10-18 21:33:08,859 (http-0.0.0.0-8443-Processor3) [TaxAuthorityServices.java:294:WARN ] In TaxAuthority Product Rate no records were found for condition:((productStoreId = '9000' OR productStoreId IS NULL) AND ((taxAuthPartyId = '_NA_' AND taxAuthGeoId = '_NA_') OR (taxAuthPartyId = 'USA_IRS' AND taxAuthGeoId = 'USA')) AND productCategoryId IS NULL AND (minItemPrice IS NULL OR minItemPrice <= '0.000') AND (minPurchase IS NULL OR minPurchase <= '0.000'))
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (OFBIZ-387) Improves the debug log to show the
details of which field it was complaining about
Posted by "Ray Barlow (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-387?page=all ]
Ray Barlow updated OFBIZ-387:
-----------------------------
Attachment: GenericEntity.patch
> Improves the debug log to show the details of which field it was complaining about
> ----------------------------------------------------------------------------------
>
> Key: OFBIZ-387
> URL: http://issues.apache.org/jira/browse/OFBIZ-387
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Environment: N/A
> Reporter: Ray Barlow
> Priority: Trivial
> Attachments: GenericEntity.patch
>
>
> Helps see the problem fields quickly, like this below that happens when cancelling an order item:
> 2006-10-18 21:33:08,147 (http-0.0.0.0-8443-Processor3) [TaxAuthorityServices.java:294:WARN ] In TaxAuthority Product Rate no records were found for condition:((productStoreId = '9000' OR productStoreId IS NULL) AND ((taxAuthPartyId = '_NA_' AND taxAuthGeoId = '_NA_') OR (taxAuthPartyId = 'USA_IRS' AND taxAuthGeoId = 'USA')) AND (productCategoryId IS NULL OR productCategoryId IN ('100', '101', 'CATALOG1_SEARCH', 'TSTCSL')) AND (minItemPrice IS NULL OR minItemPrice <= '15.9900000000000002131628207280300557613372802734375') AND (minPurchase IS NULL OR minPurchase <= '15.9900000000000002131628207280300557613372802734375'))
> 2006-10-18 21:33:08,438 (http-0.0.0.0-8443-Processor3) [ GenericEntity.java:384:WARN ] In entity field[ModelEntity[OrderAdjustment]@amount] set the value passed in [java.math.BigDecimal] is not compatible with the Java type of the field [Double]
> 2006-10-18 21:33:08,448 (http-0.0.0.0-8443-Processor3) [ GenericEntity.java:384:WARN ] In entity field[ModelEntity[OrderAdjustment]@sourcePercentage] set the value passed in [java.math.BigDecimal] is not compatible with the Java type of the field [Double]
> 2006-10-18 21:33:08,859 (http-0.0.0.0-8443-Processor3) [TaxAuthorityServices.java:294:WARN ] In TaxAuthority Product Rate no records were found for condition:((productStoreId = '9000' OR productStoreId IS NULL) AND ((taxAuthPartyId = '_NA_' AND taxAuthGeoId = '_NA_') OR (taxAuthPartyId = 'USA_IRS' AND taxAuthGeoId = 'USA')) AND productCategoryId IS NULL AND (minItemPrice IS NULL OR minItemPrice <= '0.000') AND (minPurchase IS NULL OR minPurchase <= '0.000'))
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (OFBIZ-387) Improves the debug log to show the
details of which field it was complaining about
Posted by "David E. Jones (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-387?page=all ]
David E. Jones closed OFBIZ-387.
--------------------------------
Fix Version/s: SVN trunk
Resolution: Fixed
Assignee: David E. Jones
Thanks for the suggestion Ray. Something similar to your patch is now in SVN rev 465622.
> Improves the debug log to show the details of which field it was complaining about
> ----------------------------------------------------------------------------------
>
> Key: OFBIZ-387
> URL: http://issues.apache.org/jira/browse/OFBIZ-387
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Environment: N/A
> Reporter: Ray Barlow
> Assigned To: David E. Jones
> Priority: Trivial
> Fix For: SVN trunk
>
> Attachments: GenericEntity.patch
>
>
> Helps see the problem fields quickly, like this below that happens when cancelling an order item:
> 2006-10-18 21:33:08,147 (http-0.0.0.0-8443-Processor3) [TaxAuthorityServices.java:294:WARN ] In TaxAuthority Product Rate no records were found for condition:((productStoreId = '9000' OR productStoreId IS NULL) AND ((taxAuthPartyId = '_NA_' AND taxAuthGeoId = '_NA_') OR (taxAuthPartyId = 'USA_IRS' AND taxAuthGeoId = 'USA')) AND (productCategoryId IS NULL OR productCategoryId IN ('100', '101', 'CATALOG1_SEARCH', 'TSTCSL')) AND (minItemPrice IS NULL OR minItemPrice <= '15.9900000000000002131628207280300557613372802734375') AND (minPurchase IS NULL OR minPurchase <= '15.9900000000000002131628207280300557613372802734375'))
> 2006-10-18 21:33:08,438 (http-0.0.0.0-8443-Processor3) [ GenericEntity.java:384:WARN ] In entity field[ModelEntity[OrderAdjustment]@amount] set the value passed in [java.math.BigDecimal] is not compatible with the Java type of the field [Double]
> 2006-10-18 21:33:08,448 (http-0.0.0.0-8443-Processor3) [ GenericEntity.java:384:WARN ] In entity field[ModelEntity[OrderAdjustment]@sourcePercentage] set the value passed in [java.math.BigDecimal] is not compatible with the Java type of the field [Double]
> 2006-10-18 21:33:08,859 (http-0.0.0.0-8443-Processor3) [TaxAuthorityServices.java:294:WARN ] In TaxAuthority Product Rate no records were found for condition:((productStoreId = '9000' OR productStoreId IS NULL) AND ((taxAuthPartyId = '_NA_' AND taxAuthGeoId = '_NA_') OR (taxAuthPartyId = 'USA_IRS' AND taxAuthGeoId = 'USA')) AND productCategoryId IS NULL AND (minItemPrice IS NULL OR minItemPrice <= '0.000') AND (minPurchase IS NULL OR minPurchase <= '0.000'))
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira