You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Leon (Reopened) (JIRA)" <ji...@apache.org> on 2011/10/06 20:40:29 UTC

[jira] [Reopened] (OFBIZ-4349) commit r1077940 breaks the function to retrieve i18n translation from real entity underlying a view

     [ https://issues.apache.org/jira/browse/OFBIZ-4349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leon reopened OFBIZ-4349:
-------------------------


there's a bug in recent commits. see "https://demo-trunk.ofbiz.apache.org/partymgr/control/NewCustomer": if you select country as USA, then the state name in state combobox are all "United States".


                
> commit r1077940 breaks the function to retrieve i18n translation from real entity underlying a view
> ---------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4349
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4349
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Assignee: Erwan de FERRIERES
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4349.patch
>
>
> in r1077940 changeset ([https://fisheye6.atlassian.com/changelog/ofbiz?cs=1077940]), it gets the pk fiels from view entity instead of previous real entity. I cannot understand what author erwan commented: "When using a view and fields with different names than in the original entity, the model was taking the original names so this could lead to warnings". The consequence of this commit is it cannot retrieve i18n translation from real entity now because the pks of view entity is usually different than that of its base tables.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira