Uploaded image for project: 'Forum Application'
  1. Forum Application
  2. XAFORUM-249

The existing comment text is not visible when editing the comment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.2
    • None
    • Windows 10 Pro 64 bit, Chrome v.59, Firefox v.54, IE v.11 using a local instance XWiki 9.5.1 with ORACLE 11.2

    Description

      Prerequisites: The Forum Application must be installed.

      STEPS TO REPRODUCE

      1. Create a forum and add a topic
      2. In the topic, add an answer and a comment to the answer
      3. Click the "Pencil" green Icon to edit the previously added comment

      EXPECTED RESULTS

      When entering the edit mode for the comment (regardless of the editor), the existing text of the comment is visible, so the content can be partially modified/deleted.

      ACTUAL RESULTS

      When entering the edit mode for the comment (and the editor appears), the existing text of the comment is not visible. Also, if typing another text and saved, the existing comment is fully overwritten.

      Also, when click on "Pencil" green Icon to edit any comment, the following warning appears in console:

      2017-07-13 11:58:10,765 [http://localhost:9515/xwiki/bin/edit/ForumCode/CommentTemplate?xpage=wysiwyginput&token=$services.csrf.getToken()] WARN  o.x.c.i.DefaultCSRFToken       - CSRFToken: Secret token verification failed, token: "$services.csrf.getToken()", stored token: "c30V5LIZ53dJLsW2ZpM5xw"

      Note: There are also some issues regarding the editors displayed in comments. See XAFORUM-234 and XWIKI-13828.

      Attachments

        1. Comment_after.png
          40 kB
          Ilie Andriuta
        2. Comment_before.png
          25 kB
          Ilie Andriuta

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: