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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4, 6.4.1
    • Fix Version/s: 7.0-milestone-2, 6.4.3
    • Labels:
      None
    • Environment:
      Reproduced on Jetty HSQLDB 6.4.1 and on XE 6.4 WAR with Firefox 35.
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: