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

"Google map items" doesn't fetch subtree, only children of the selected node

    XMLWordPrintable

Details

    Description

      It is clear in the use case "EZPUCC-2009-20-13: Google map dynamic block" that the block should fetch a subtree, not only children of the selected node:

      5. in the block, define the source (a node in eZ Publish to restrict the fetch to this subtree)
      

      However, with the test case provided below, only GeoArticle3 will show up in the block.
      Also, quite often, the map will not show up (see ezflow_mapgoneingmapitem.png ). But I haven't figured exactly under which conditions it won't

      Steps to reproduce
      Create some google map objects
      
         1. Log in as admin in ezflow
         2. Click on "Conference" in top menu
         3. Click in "News" in top sub menu
         4. Create new Geo Article
         5. Enter formdata:
            Title : GeoArticle1
            Summary: Summary of geo article1
            Find address : Klostergata 33 skien Norway
         6. Validate that Skien is located in the displayed map
         7. Click "Update values" button
         8. Click "Send for publishing"
         9. Create new Geo Article
        10. Enter formdata:
            Title : GeoArticle2
            Summary: Summary of geo article2
            Find address : Porsgrunn Norway
        11. Validate that Porsgrunn is located in the displayed map
        12. Click "Update values" button
        13. Click "Send for publishing"
        14. Click on "Conference" in top menu ( Yes, the last article will be made below /Conference (not /Conference/News) )
        15. Create new Geo Article
        16. Enter formdata:
            Title : GeoArticle3
            Summary: Summary of geo article3
            Find address : Bamble Norway
        17. Validate that Bamble is located in the displayed map
        18. Click "Update values" button
        19. Click "Send for publishing"
      
      Create the dynamic google map block
      
         1. Go to frontpage
         2. Edit frontpage
         3. Add block "Google Map Items"
         4. Edit googlemap block:
            Add Conference/ as source
            class : geo_article
            attribute : location
            limit : 33
            width :
            height :
         5. Publish frontapge
         6. Visit frontpage and ensure All three geo articles are display
      
      

      Attachments

        Activity

          People

            ls ls
            vl vl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: