Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1139

Home content object has missing data on studio-clean

    XMLWordPrintable

Details

    Description

      1. Install a studio-clean version 1.6.1 environment using: php app/console ezplatform:install studio-clean --env=dev
      2. Install Solr Bundle following the documentation: https://doc.ez.no/display/DEVELOPER/Solr+Bundle
      3. Create the search index using: php app/console ezplatform:solr_create_index --env=dev

      It will return the following warning on the output:

      $ php app/console ezplatform:solr_create_index --env=dev
      Indexing Content...
      [2016-11-22 20:08:33] app.WARNING: Content with id 512 has missing data, so skipped for indexing. Full exception: Could not find 'ObjectState' with identifier 'array (   'groupId' => 2, )'
       14/14 [============================] 100%
      

      Here's the info from the log, and the related query:

      [2016-11-22 21:52:40] doctrine.DEBUG: SELECT `ezcobj_state`.`default_language_id` `ezcobj_state_default_language_id`, `ezcobj_state`.`group_id` `ezcobj_state_group_id`, `ezcobj_state`.`id` `ezcobj_state_id`, `ezcobj_state`.`identifier` `ezcobj_state_identifier`, `ezcobj_state`.`language_mask` `ezcobj_state_language_mask`, `ezcobj_state`.`priority` `ezcobj_state_priority`, `ezcobj_state_language`.`description` `ezcobj_state_language_description`, `ezcobj_state_language`.`language_id` `ezcobj_state_language_language_id`, `ezcobj_state_language`.`name` `ezcobj_state_language_name` FROM `ezcobj_state` INNER JOIN `ezcobj_state_language` ON `ezcobj_state`.`id` = `ezcobj_state_language`.`contentobject_state_id` INNER JOIN `ezcobj_state_link` ON `ezcobj_state`.`id` = `ezcobj_state_link`.`contentobject_state_id` WHERE ( `ezcobj_state`.`group_id` = :placeholder1 AND `ezcobj_state_link`.`contentobject_id` = :placeholder2 ) {":placeholder1":2,":placeholder2":52} []
      [2016-11-22 21:52:40] app.WARNING: Content with id 512 has missing data, so skipped for indexing. Full exception: Could not find 'ObjectState' with identifier 'array (   'groupId' => 2, )' [] []
      

      Additional side-effects:

      • The "Home" breadcrumb will not be displayed in the path
      • The tree menu will only display the part of the subtree we are on, and ignore the rest of the tree (objects under "Home")
      • When adding object relations (ezobjectrelationlist) the "Home" subtree will not be available on the modal dialog

      Attachments

        Activity

          People

            Unassigned Unassigned
            ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: