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

TC-17 (eZ Flow)(Oracle) "Keyword" block does not appear on front page

    Details

      Description

      Hi,

      In ez flow, in Oracle, if we add a "keyword" block to frontpage, this block can't be seen after we publish the page.

      Note: clear all caches were executed with same result.

      Steps to reproduce

      Setup
       
         1. Log in as admin in ezflow
         2. Create new folder "News"
         3. Click "News" in top menu
         4. Create new article "Article1"
            Summary : body1
            Tags : testsystem, systemtest
         5. Create new article "Article2"
            Summary : body2
            Tags : testsystem, failure
         6. Create new article "Article3"
            Summary : body3
            Tags : systemtest
         7. Create new article "Article4"
            Summary : body4
            Tags : failure
       
      Test the keyword block
       
         1. Go to frontpage
         2. Edit fronpage
         3. In "Block type", select "Keyword"
         4. Click "Add block" button
         5. Move the new "Keyword" block to the top using drag&drop
         6. Edit the new block:
            Name : keyword test
            Source : "Conference" subtree
            Keywords : failure
            Classes : article
         7. Publish the frontpage and validate that the keyword block doesn't appear
         8. Edit the keyword block again : change source to be "Conference/News" node
         9. Verify that following field values are preserved:
            Keywords : failure
            Classes : article
        10. Publish the frontpage and validate that article2 and article4 are listed
      
      

        Issue Links

          Activity

          Hide
          João Pingo added a comment -

          The same issue is happening using the postgres database.

          Show
          João Pingo added a comment - The same issue is happening using the postgres database.
          Hide
          Chen Xiongjie added a comment -

          Confirmed.

          Show
          Chen Xiongjie added a comment - Confirmed.
          Hide
          Chen Xiongjie added a comment -

          The direct reason is because
          in classes/fetches/ezflowkeyword.php

          isset( $parameters['Source'] results in $classIDs = array( null ). Then it can't get correct keyword.

          This issue exists in mysql as well.

          Show
          Chen Xiongjie added a comment - The direct reason is because in classes/fetches/ezflowkeyword.php isset( $parameters ['Source'] results in $classIDs = array( null ). Then it can't get correct keyword. This issue exists in mysql as well.
          Hide
          Chen Xiongjie added a comment -

          There are another issue related:

          If there is no source selected, it should look it all objects but according to the cold it looks for object whose direct parent node is 0.

          Parent_node_id is the direct parent node id: http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions/keyword

          Show
          Chen Xiongjie added a comment - There are another issue related: If there is no source selected, it should look it all objects but according to the cold it looks for object whose direct parent node is 0. Parent_node_id is the direct parent node id: http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions/keyword
          Show
          Chen Xiongjie added a comment - Issue added: http://issues.ez.no/IssueView.php?Id=18540&activeItem=1&
          Show
          Chen Xiongjie added a comment - Fixed in ezflow master(2.4.0) https://github.com/ezsystems/ezflow/commit/7da6031fc869b95fc12367c563b65aca7575274d
          Hide
          Geir Arne Waaler added a comment -

          The issue is fixed. I hence move it from Code Review to Closed.

          Geir Arne Waaler
          eZ Documentation

          Show
          Geir Arne Waaler added a comment - The issue is fixed. I hence move it from Code Review to Closed. Geir Arne Waaler eZ Documentation

            People

            • Assignee:
              Chen Xiongjie
              Reporter:
              Paulo Cardiga
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: