Uploaded image for project: 'Blog Application'
  1. Blog Application
  2. BLOG-130

The pinned posts feature of the Cards post layout is not working correctly when a post that has quotes (") in its name, is marked as pinned post

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.10
    • 9.9.1
    • None
    • Unknown

    Description

      To reproduce the issue: 

      • On a blog that is using the 'Cards' post layout, create a new post with a quote(") in its name and publish it
      • Edit the pinned posts list and add the new post to it
      • Referesh the blog home page
      • Edit again the pinned posts and edit the list of pinned posts (replace one of the pinned posts with a another post)
      • Refresh the page

      Actual results: After the second update of the pinned posts list, the pinned posts displayed on the blog home page do not corresponds to the posts selected on the pinned posts form.

      Expected results: The pinned posts are correctly updated.

      The issue is caused by a bad escaping of the pinned posts when the pinned posts form is displayed, this is causing a javascript error which prevents the saving of the pinned posts when the user clicks on the save button.

      Attachments

        Activity

          People

            mouhb Mohamed Boussaa
            mouhb Mohamed Boussaa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: