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

Blog post creation does not properly handle dot anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 9.11.2
    • 9.10.5
    • Unknown

    Description

      To reproduce:

      • go to the blog home page
      • enter a post title with a do, for example "a.b"
      • click Create

      -> the generated URL is wrong: the "." became a "/"

      Regression caused by BLOG-160 but it was only working by luck before because the "." was removed but the reference never really been properly created as shown on https://github.com/xwiki-contrib/application-blog/blob/0b35472bfb72aa0bf4f19eb4bf4283182e6a10cc/application-blog-ui/src/main/resources/Blog/CreatePost.xml#L94. It should use document reference API to serialize an accurate one instead of basic concatenation.

      Attachments

        Issue Links

          Activity

            People

              acotiuga Alex Cotiugă
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: