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

Default value of ignore_visibility param in reverse_related_objects fetch is null

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.5.0beta1
    • 4.4.0
    • Misc
    • None

    Description

      eZ Publish 4.4.0 community edition - final

      There's an issue with reverse_related_objects fetch in content module. If ignore_visibility param is not explicitly specified, it defaults to null, ultimately instructing eZContentObject::relatedObjects function never to generate condition to either include or not include hidden nodes in fetch result.

      It should by default be set false, meaning that hidden objects will NOT be shown if we don't specify ignore_visibility param.

      Change required:
      kernel/content/function_definition.php - line 1136
      instead of "'default' => null", it should be "'default' => false"

      Attachments

        Activity

          People

            chen chen
            f8f4635f-c125-4f25-94af-5c94e74ef8c1@accounts.ibexa.co Edi Modrić
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: