Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.7.0, 5.0, 5.1, 5.2, 2014.11, 5.3.7, 5.4.5
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.