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

eZ Find: moving a node does not re-index its children with delayed indexing

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      Preparation:

      1. Prepare a eZ Publish 4.5/eZ Find 2.4 installation, fully patched;
      2. Enable delayed indexing;
      3. Make sure Solr service is runnnig;

      Issue:

      1. Create the following content structure:

      Home
      	Articles (folder)
      		Test1 (article)
      			Test2 (article)
      	Articles 2 (folder)
      

      2. Run content indexing cronjob:

      $ php runcronjobs.php ezfindexcontent
      

      3. Go to Solr's admin interface (default is http://localhost:8983/solr/admin/) and search for "Test2". It returns:

      ...
      <str name="meta_main_url_alias_ms">Articles/Test1/Test2</str>
      ...
      

      4. Go back to eZ Publish's admin interface, and move "Test1" article to "Articles 2" folder;
      5. Run content indexing cronjob;
      6. Go to Solr's admin interface and search for "Test2". It still returns:

      <str name="meta_main_url_alias_ms">Articles/Test1/Test2</str>
      

      ...which is wrong, should return:

      <str name="meta_main_url_alias_ms">Articles-2/Test1/Test2</str>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 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 - 15 minutes
                15m