You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Yin T (JIRA)" <ji...@apache.org> on 2008/03/20 21:23:24 UTC

[jira] Created: (OFBIZ-1715) Warning messages in the ofbiz log related to entity definition

Warning messages in the ofbiz log related to entity definition
--------------------------------------------------------------

                 Key: OFBIZ-1715
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1715
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
         Environment: n/a
            Reporter: Yin T
            Priority: Minor



When ofbiz is starting up and a GenericDelegator is created.  A number of warnings messages appears in the log from the call to ModelEntityChecker.checkEntities().


2008-03-20 16:10:04,076 (main) [   GenericDelegator.java:151:WARN ] =-=-=-=-= Found 7 warnings when checking the entity definitions:
2008-03-20 16:10:10,836 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyId of entity Survey for relation Survey.
2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyResponseId of entity SurveyResponse for relation SurveyResponse.
2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyId of entity Survey is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyResponseId of entity SurveyResponse is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [TableNameGT30] Table name [SALES_OPPORTUNITY_TRACKING_CODE] of entity SalesOpportunityTrackingCode is longer than 30 characters.
2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationNameNotUnique] Relation Uom of entity CustRequest is not unique for that entity.
2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFkDuplicate] Relation to Uom from entity CustRequest has a duplicate fk-name "CUST_REQ_CUOM".


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (OFBIZ-1715) Warning messages in the ofbiz log related to entity definition

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582924#action_12582924 ] 

jacques.le.roux edited comment on OFBIZ-1715 at 3/27/08 11:46 PM:
------------------------------------------------------------------

Did you try with a fresh new DB, I can't see any of these warnings. WIth no answers I will close soon...

      was (Author: jacques.le.roux):
    Did you try witha fresh new DB, I can't see any of these warnings
  
> Warning messages in the ofbiz log related to entity definition
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1715
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1715
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: n/a
>            Reporter: Yin T
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> When ofbiz is starting up and a GenericDelegator is created.  A number of warnings messages appears in the log from the call to ModelEntityChecker.checkEntities().
> 2008-03-20 16:10:04,076 (main) [   GenericDelegator.java:151:WARN ] =-=-=-=-= Found 7 warnings when checking the entity definitions:
> 2008-03-20 16:10:10,836 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyId of entity Survey for relation Survey.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyResponseId of entity SurveyResponse for relation SurveyResponse.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyId of entity Survey is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyResponseId of entity SurveyResponse is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [TableNameGT30] Table name [SALES_OPPORTUNITY_TRACKING_CODE] of entity SalesOpportunityTrackingCode is longer than 30 characters.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationNameNotUnique] Relation Uom of entity CustRequest is not unique for that entity.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFkDuplicate] Relation to Uom from entity CustRequest has a duplicate fk-name "CUST_REQ_CUOM".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-1715) Warning messages in the ofbiz log related to entity definition

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1715.
----------------------------------

    Resolution: Invalid

Thanks for comment Pranay

> Warning messages in the ofbiz log related to entity definition
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1715
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1715
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: n/a
>            Reporter: Yin T
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> When ofbiz is starting up and a GenericDelegator is created.  A number of warnings messages appears in the log from the call to ModelEntityChecker.checkEntities().
> 2008-03-20 16:10:04,076 (main) [   GenericDelegator.java:151:WARN ] =-=-=-=-= Found 7 warnings when checking the entity definitions:
> 2008-03-20 16:10:10,836 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyId of entity Survey for relation Survey.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyResponseId of entity SurveyResponse for relation SurveyResponse.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyId of entity Survey is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyResponseId of entity SurveyResponse is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [TableNameGT30] Table name [SALES_OPPORTUNITY_TRACKING_CODE] of entity SalesOpportunityTrackingCode is longer than 30 characters.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationNameNotUnique] Relation Uom of entity CustRequest is not unique for that entity.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFkDuplicate] Relation to Uom from entity CustRequest has a duplicate fk-name "CUST_REQ_CUOM".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1715) Warning messages in the ofbiz log related to entity definition

Posted by "Yin T (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583764#action_12583764 ] 

Yin T commented on OFBIZ-1715:
------------------------------

I downloaded the latest trunk on Mar 30,2008.  I could not reproduce the problem specified.  Jacques/Pranay might have a point.  My copy of the source tree might have contained stale data.

> Warning messages in the ofbiz log related to entity definition
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1715
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1715
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: n/a
>            Reporter: Yin T
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> When ofbiz is starting up and a GenericDelegator is created.  A number of warnings messages appears in the log from the call to ModelEntityChecker.checkEntities().
> 2008-03-20 16:10:04,076 (main) [   GenericDelegator.java:151:WARN ] =-=-=-=-= Found 7 warnings when checking the entity definitions:
> 2008-03-20 16:10:10,836 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyId of entity Survey for relation Survey.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyResponseId of entity SurveyResponse for relation SurveyResponse.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyId of entity Survey is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyResponseId of entity SurveyResponse is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [TableNameGT30] Table name [SALES_OPPORTUNITY_TRACKING_CODE] of entity SalesOpportunityTrackingCode is longer than 30 characters.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationNameNotUnique] Relation Uom of entity CustRequest is not unique for that entity.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFkDuplicate] Relation to Uom from entity CustRequest has a duplicate fk-name "CUST_REQ_CUOM".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OFBIZ-1715) Warning messages in the ofbiz log related to entity definition

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-1715:
--------------------------------------

    Assignee: Jacques Le Roux

> Warning messages in the ofbiz log related to entity definition
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1715
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1715
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: n/a
>            Reporter: Yin T
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> When ofbiz is starting up and a GenericDelegator is created.  A number of warnings messages appears in the log from the call to ModelEntityChecker.checkEntities().
> 2008-03-20 16:10:04,076 (main) [   GenericDelegator.java:151:WARN ] =-=-=-=-= Found 7 warnings when checking the entity definitions:
> 2008-03-20 16:10:10,836 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyId of entity Survey for relation Survey.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyResponseId of entity SurveyResponse for relation SurveyResponse.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyId of entity Survey is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyResponseId of entity SurveyResponse is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [TableNameGT30] Table name [SALES_OPPORTUNITY_TRACKING_CODE] of entity SalesOpportunityTrackingCode is longer than 30 characters.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationNameNotUnique] Relation Uom of entity CustRequest is not unique for that entity.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFkDuplicate] Relation to Uom from entity CustRequest has a duplicate fk-name "CUST_REQ_CUOM".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1715) Warning messages in the ofbiz log related to entity definition

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582924#action_12582924 ] 

Jacques Le Roux commented on OFBIZ-1715:
----------------------------------------

Did you try witha fresh new DB, I can't see any of these warnings

> Warning messages in the ofbiz log related to entity definition
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1715
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1715
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: n/a
>            Reporter: Yin T
>            Priority: Minor
>
> When ofbiz is starting up and a GenericDelegator is created.  A number of warnings messages appears in the log from the call to ModelEntityChecker.checkEntities().
> 2008-03-20 16:10:04,076 (main) [   GenericDelegator.java:151:WARN ] =-=-=-=-= Found 7 warnings when checking the entity definitions:
> 2008-03-20 16:10:10,836 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyId of entity Survey for relation Survey.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyResponseId of entity SurveyResponse for relation SurveyResponse.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyId of entity Survey is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyResponseId of entity SurveyResponse is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [TableNameGT30] Table name [SALES_OPPORTUNITY_TRACKING_CODE] of entity SalesOpportunityTrackingCode is longer than 30 characters.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationNameNotUnique] Relation Uom of entity CustRequest is not unique for that entity.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFkDuplicate] Relation to Uom from entity CustRequest has a duplicate fk-name "CUST_REQ_CUOM".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1715) Warning messages in the ofbiz log related to entity definition

Posted by "Pranay Pandey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583278#action_12583278 ] 

Pranay Pandey commented on OFBIZ-1715:
--------------------------------------

I would also suggest to check it with fresh DB, I also didn't find such warnings.

> Warning messages in the ofbiz log related to entity definition
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1715
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1715
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: n/a
>            Reporter: Yin T
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> When ofbiz is starting up and a GenericDelegator is created.  A number of warnings messages appears in the log from the call to ModelEntityChecker.checkEntities().
> 2008-03-20 16:10:04,076 (main) [   GenericDelegator.java:151:WARN ] =-=-=-=-= Found 7 warnings when checking the entity definitions:
> 2008-03-20 16:10:10,836 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyId of entity Survey for relation Survey.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (long-varchar) of objectInfo of entity DataResource is not the same as field type (id-ne) of surveyResponseId of entity SurveyResponse for relation SurveyResponse.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyId of entity Survey is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFieldTypesDifferent] The field type (id-ne) of surveyResponseId of entity SurveyResponse is not the same as field type (long-varchar) of objectInfo of entity DataResource for relation DataResource.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [TableNameGT30] Table name [SALES_OPPORTUNITY_TRACKING_CODE] of entity SalesOpportunityTrackingCode is longer than 30 characters.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationNameNotUnique] Relation Uom of entity CustRequest is not unique for that entity.
> 2008-03-20 16:10:10,846 (main) [   GenericDelegator.java:153:WARN ] [RelationFkDuplicate] Relation to Uom from entity CustRequest has a duplicate fk-name "CUST_REQ_CUOM".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.