Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-2625

Articles block: URL from search results breaks the block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Should have Should have
    • 1.29.0
    • 4
    • Block: Articles
    • Sprint #58

      The URL from the Read more button on the homepage, if added in the read more button link from an Articles block, breaks title of the block, the description, the read more button and it adds a line after the block. 

      Steps to re-create the bug:

      Situation A: 

      1. create new page
      2. add page element > articles
      3. add in the Button link field the following URL: [https://www.greenpeace.org/international/?s=&orderby=post_date&f[ctype][Post]=3&f[ptype][story]=59] (URL from the Read more button from the homepage/ normal search page)
      4. Post types -select Story, Tags - select Oceans, Article Count - 4 
      5. Hit Insert Element 
        1. this line ([Post]=3&f[ptype][story]=59" post_types="59" tags="85" article_count="4" ignore_categories="false" /]) appears under the block
        2. publish and view 

      Situation B: 

      1. create new page
      2. add page element > articles
      3. add in the Button link field the following URL: [https://www.greenpeace.org/international/?s=&orderby=post_date&f[ctype][Post]=3&f[ptype][story]=59] (URL from the Read more button from the homepage)
      4. Manual override 3 articles
      5. Hit Insert Element 

      Also, when trying to re-edit the block, the button link field is empty. 

      Eg: https://dev.p4.greenpeace.org/international/18427-2/ 

       

        1. front-end-URL-breaks-button.png
          front-end-URL-breaks-button.png
          440 kB
        2. second-version.png
          second-version.png
          105 kB
        3. second-version-front-end.png
          second-version-front-end.png
          256 kB
        4. step-1.png
          step-1.png
          88 kB

            kdiamant Kyriakos diamantis
            aradu Andrada Radu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: