Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15206

Code displayed in the notifications when a page name has a space at the beginning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.11.5, 10.5-rc-1
    • 10.2
    • Notifications
    • Windows 10 Pro 64 bit, Edge 16, Firefox 59, IE11, Chrome 66, using a local instance of XWiki 10.2 on PostgreSQL 10
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      Preconditions: The email server for the XWiki instance is configured and the user profile has set a valid email address.

      1. Login as Admin
      2. Create a new user (e.g. U1)
      3. Login as U1
      4. Go to the Notifications > Settings and set 'Email Frequency' to 'Daily' and 'Details of the changes' to 'Standard' in Email Preferences
      5. Set all Pages Notifications to ON (menu and e-mail)
      6. Login as Admin
      7. Create a page starting with a space in its name (e.g. ' Page1')
      8. Edit and comment the page
      9. Trigger "Notifications daily email" (as set in user's profile) from Job Scheduler
      10. Login as the user (U1)
      11. Observe the notification list and the email received

      EXPECTED RESULTS

      In the notifications for the related events (create, edit and comment), the name of the page is displayed as it was originally created, with the space at the beginning: ' Page1'.

      ACTUAL RESULTS

      In both the notification list and in the email received, some code is displayed in the name of the page:

       ' Page1'

      Attachments

        Activity

          People

            gdelhumeau Guillaume Delhumeau
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: