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

NPE when adding or editing comments via the "More Actions" menu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0-milestone-2, 6.4.3
    • 6.4, 6.4.1
    • None
    • Reproduced on Jetty HSQLDB 6.4.1 and on XE 6.4 WAR with Firefox 35.
    • Easy
    • N/A
    • N/A

    Description

      Steps to reproduce:

      • go to the wiki home page
      • click the "More Actions" menu, then on "Comments"
      • add a comment and notice how the comment input and the "Preview" and "Add Comment" buttons are disabled (see "AddComment.png")
      • refresh the page and see that the comment has been added but that the add comment input is still displayed (see "CommentAdded.png")
      • click the pen icon in order to edit the comment - the add comment input is still there (see "EditComment.png")
      • click on "Save Comment" and see how the input and the buttons are disabled (see "CommentEdited.png")

      The logs show a NPE exception (see "logs.txt").

      Attachments

        1. logs.txt
          8 kB
        2. EditComment.png
          EditComment.png
          18 kB
        3. CommentEdited.png
          CommentEdited.png
          17 kB
        4. CommentAdded.png
          CommentAdded.png
          18 kB
        5. AddComment.png
          AddComment.png
          13 kB

        Activity

          People

            mflorea Marius Dumitru Florea
            raluca.moisa Raluca Moisa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: