Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4349

commit r1077940 breaks the function to retrieve i18n translation from real entity underlying a view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • Trunk
    • framework
    • None

    Description

      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.

      Attachments

        1. OFBIZ-4349.patch
          2 kB
          Leon
        2. OFBIZ-4349.patch
          2 kB
          Erwan de Ferrieres

        Activity

          People

            sascha Sascha Schumann
            utcb Leon
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: