Login  Register

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

Posted by Nicolas Malin (Jira) on Jul 22, 2011; 6:24am
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4349-commit-r1077940-breaks-the-function-to-retrieve-i18n-translation-from-real-ew-tp3686061.html

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


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira