Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25455

eZOracle: Link management doesn't show objects

    Details

      Description

      This issue is related to
      eZOracle: Link management doesn't show Objects using URL

      The short_name longname mapping in eZPersistentObject (legacy stack) is not working correctly.

      Oracle uses short_names in ezPersistentObject to access DB field values.
      The Bugfix ensures that the correct replacement of the attribute short_names with the longnames will be used
      for objectcreation!
      The first &$row is used for correct replacement and the second $row fixes an issue where results are correctly used for objeccreation
      (otherwise e.g. workflow/grouplist was not shown correctly 3 groups but only 2 where displaxed one was overriden)

      i create a pull request
      https://github.com/ezsystems/ezpublish-legacy/pull/1236
      but related to the ticket EZP-21411

      steps to reproduce:

      Access <your-admin>/url/list
      Click on an url (you'll browse to <your-admin>/url/view/<id>)
      the Objects using URL #<id> list is always empty

      you have also check the legacyview
      worklfow/grouplist, too. Without the patch (first &$row) all is fine
      if you have 3 workflowgroups defined e.g.

      • standard (1)
      • workflowgroup2 (2)
      • workflowgroup3(3)

      When applying the first &$row the url view is working but the workflow/grouplist is broken the following result is shown

      • workflowgroup2 (2)
      • workflowgroup3 (3)
      • workflowgroup3 (3)

      After adding the second $&row all is fine.

        Issue Links

          Activity

          Hide
          Yannick Roger (Inactive) added a comment -

          To QA, once this is merged, make sure to also run some test and sanity on MySQL and PGSQL.

          Show
          Yannick Roger (Inactive) added a comment - To QA, once this is merged, make sure to also run some test and sanity on MySQL and PGSQL.
          Show
          Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/92a05b397c1b7c368954d8af73103f7622c7e555
          Hide
          Felix Woldt added a comment -

          Thank's

          Show
          Felix Woldt added a comment - Thank's
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for 4.7 and 5.0, tests done with oracle, and executed sanity tests on versions 4.7 to 5.4 with mysql and postgres.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for 4.7 and 5.0, tests done with oracle, and executed sanity tests on versions 4.7 to 5.4 with mysql and postgres.
          Show
          Rui Silva (Inactive) added a comment - Note: fixes for EZP-22177 ( https://github.com/ezsystems/ezpublish-legacy-ee/commit/4e740b3c9b090d91d023677ef1f46cd5721daf9b ) and EZP-21411 ( https://github.com/ezsystems/ezpublish-legacy-ee/commit/c2108ed3672cd758e2054e37c1c1a298da1e9972 ) are also needed for this jira's fix to apply cleanly.

            People

            • Assignee:
              Unassigned
              Reporter:
              Felix Woldt
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: