[jira] [Updated] (OFBIZ-4349) commit r1077940 breaks the function to retrieve i18n translation from real entity underlying a view
Posted by
Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4349-commit-r1077940-breaks-the-function-to-retrieve-i18n-translation-from-real-ew-tp3686061p3879529.html
[
https://issues.apache.org/jira/browse/OFBIZ-4349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leon updated OFBIZ-4349:
------------------------
Attachment: OFBIZ-4349.patch
patch to resolve issue mentioned just above: to get the field alias from same member view entity.
and, correct some typos.
> 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, 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.jspaFor more information on JIRA, see:
http://www.atlassian.com/software/jira