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

Undefined var $fieldsToReturn in ezsolr.php

    Details

      Description

      eZSolr::buildResultObjects will in certain conditions throw warnings about an uninitialized variable, specifically the $fieldsToReturn variable used in line 1569:

      https://github.com/ezsystems/ezfind/blob/master/search/plugins/ezsolr/ezsolr.php#L1569

        Issue Links

          Activity

          Hide
          Yannick Roger (Inactive) added a comment -

          I created a PR with a slightly modified version of the patch :
          https://github.com/ezsystems/ezfind/pull/113

          Feel free to review it.

          Show
          Yannick Roger (Inactive) added a comment - I created a PR with a slightly modified version of the patch : https://github.com/ezsystems/ezfind/pull/113 Feel free to review it.
          Show
          Yannick Roger (Inactive) added a comment - - edited Fixed in master: https://github.com/ezsystems/ezfind/commit/a34cca0c433a1c53997ef9828422906a96784e3a
          Hide
          Marcos Loureiro (Inactive) added a comment -

          QA Approved

          Show
          Marcos Loureiro (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Filipe Dobreira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d