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

eZ Find update index script shouldn't run if eZ Find is not enabled

    Details

      Description

      If you try to run the ezfind index script and for whatever reason you forgot to enable ezfind previously, you will still be able to run that script but you'll probably see that all your objects will produce and indexing error.

      This is because is eZ Find is not enabled, mapping between datatypes and ezfind attribute types can't be found as they reside in ini files.

      In order to not make the dev panic about, it should be good to add an error in this case and don't try to index anything

        Activity

        Hide
        Carlos Revillo added a comment -
        Show
        Carlos Revillo added a comment - Implemented in https://github.com/ezsystems/ezfind/pull/169
        Show
        Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezfind/commit/d90d7c5ba89757904f4b4ba7aaeba39ecaaf0aae#diff-d41d8cd98f00b204e9800998ecf8427e
        Hide
        Pedro Resende (Inactive) added a comment -

        Tested and approved by Q.A.

        Show
        Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.

          People

          • Assignee:
            Unassigned
            Reporter:
            Carlos Revillo
          • Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 4 hours
              4h