wrong <key-map> definition for recently introduced entity "CountryAddressFormat"
-------------------------------------------------------------------------------- Key: OFBIZ-4376 URL: https://issues.apache.org/jira/browse/OFBIZ-4376 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Leon Priority: Trivial Fix For: SVN trunk Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leon updated OFBIZ-4376: ------------------------ Attachment: CountryAddressFormat.patch > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum reassigned OFBIZ-4376: ---------------------------------- Assignee: Adrian Crum > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092401#comment-13092401 ] Adrian Crum commented on OFBIZ-4376: ------------------------------------ Leon, Thank you for submitting the patch, but there are more problems that need to be fixed. For example, the field name "stateProvinceGeoAssocTypeId" is too long and it is causing errors too. If it is not too much trouble, could you provide a patch that corrects all of the errors introduced in rev 1153402? > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leon updated OFBIZ-4376: ------------------------ Attachment: CountryAddressFormat.patch new patch, besides key-map error fix, also change the field name "stateProvinceGeoAssocTypeId" to "stateProvGeoAssocTypeId" to avoid "field length greather than 30" waning msg > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leon updated OFBIZ-4376: ------------------------ Attachment: (was: CountryAddressFormat.patch) > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092474#comment-13092474 ] Leon edited comment on OFBIZ-4376 at 8/28/11 12:39 PM: ------------------------------------------------------- new patch, besides key-map error fix, also change the field name "stateProvinceGeoAssocTypeId" to "stateProvGeoAssocTypeId" to avoid "field length is greater than 30" warning log. was (Author: utcb): new patch, besides key-map error fix, also change the field name "stateProvinceGeoAssocTypeId" to "stateProvGeoAssocTypeId" to avoid "field length greather than 30" waning msg > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092525#comment-13092525 ] Adrian Crum commented on OFBIZ-4376: ------------------------------------ Leon, The ant run-install task throws a lot of exceptions after applying the latest patch. > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092607#comment-13092607 ] Leon commented on OFBIZ-4376: ----------------------------- humm, interesting. I review the OFBIZ-4270 and noticed that you have already mentioned the long foreign key name problem and a "null" value for "FRA". Don't know why it's in commit at last. {quote} Adrian Crum added a comment - 29/Jul/11 07:33 - edited I have no comment on the approach taken, but I see some problems in the patch. I believe some databases have a size limit for foreign key names, so you might need to fix that. Also, what is the purpose of the <CountryAddressFormat geoId="FRA"... > entry? It doesn't contain any meaningful data. {quote} I have not used run-install long time. Let me do some test to see what happend. > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leon updated OFBIZ-4376: ------------------------ Attachment: (was: CountryAddressFormat.patch) > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leon updated OFBIZ-4376: ------------------------ Attachment: CountryAddressFormat.patch Just fix anonther bug, the stateProvGeoAssocTypeId of "FRA" in imported data file, it should be "" not "null", since framework will treat "null" as a string contains 4 chars which are "null". This error will cause data import error and leads to consequent exceptions while doing seed data importing. > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092615#comment-13092615 ] Leon commented on OFBIZ-4376: ----------------------------- hi, Adrian, Should be ok this time. Passed the "run-instal" test in my laptop. btw, if you run-install in exist database, please "DROP TABLE GEO_WITH_STATE" firstly, otherwise, it will cause some conflication. > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092624#comment-13092624 ] Deepak Dixit commented on OFBIZ-4376: ------------------------------------- Hi Adrian, Leon I have already opened ticket for the same. [OFBIZ-4371|https://issues.apache.org/jira/browse/OFBIZ-4371]. > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leon closed OFBIZ-4376. ----------------------- Resolution: Duplicate hi, Deepak, It's almost the same of what to patch. accept yours. close this ticket. thank you and Adrian. > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092687#comment-13092687 ] Deepak Dixit commented on OFBIZ-4376: ------------------------------------- Thanks Leon. > wrong <key-map> definition for recently introduced entity "CountryAddressFormat" > -------------------------------------------------------------------------------- > > Key: OFBIZ-4376 > URL: https://issues.apache.org/jira/browse/OFBIZ-4376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Adrian Crum > Priority: Trivial > Fix For: SVN trunk > > Attachments: CountryAddressFormat.patch > > > Since the field-name (stateProvinceGeoAssocTypeId) and rel-field-name (geoAssocTypeId) is reversed, there's warning in log: {quote}[RelationRelatedFieldNotFound] The field "stateProvinceGeoAssocTypeId" of related entity GeoAssocType was specified in the keymaps but is not found for relation GeoAssocType of entity CountryAddressFormat.{quote} > The entity "CountryAddressFormat" is introduced into ofbiz just days ago. refs [OFBIZ-4270|https://issues.apache.org/jira/browse/OFBIZ-4270] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |