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. AddComment.png
          13 kB
          Raluca Moisa
        2. CommentAdded.png
          18 kB
          Raluca Moisa
        3. CommentEdited.png
          17 kB
          Raluca Moisa
        4. EditComment.png
          18 kB
          Raluca Moisa
        5. logs.txt
          8 kB
          Raluca Moisa

        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: