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

eZSearch::registerSearchObject() inserts duplicates when DelayedIndexing is set to 'classbased' [ patch attached ]

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 4.1.3, 4.1.4, 4.2.0, 4.3.0
    • Cronjobs, Search
    • None
    • Operating System:
      PHP Version: (please be specific, like '4.4.3' or '5.1.5')
      Database and version:
      Browser (and version):

    Description

      This is a duplicate of issue #013971 in a case introduced by enhancement #012456

      Here's a patch (made against 4.3.0) to correct this issue. Since the code is exactly the same in both cases, I refactored it in a private static method for further modification if needed.

      Steps to reproduce
      • Enable classbased delayed indexing
      • Edit an object of relevant class
      • Before indexing cron runs Edit the same object again
      • See the duplicate entry in table ezpending_actions

      Attachments

        Activity

          People

            patrick.allaert patrick.allaert
            zeitounator zeitounator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: