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

JavaScript errors when annotations are merged with comments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.3
    • 4.3-rc-1
    • Annotations
    • None
    • Unknown
    • N/A
    • N/A

    Description

      First, if you hover an annotation that you just added you get:

      i.getStorage().get("prototype_event_registry") is undefined 
      

      The issue seems to be that the comment reply button doesn't have any event listeners or maybe Prototype.js has changed the way it stores the event listeners. In any case, this prevents the reply button from working.

      Second, on the comments tab, if you:

      • click edit
      • click cancel
      • click edit again

      you get

      c.down("form") is undefined
      

      And the annotation is replaced by the following information message:

      This annotation does not exist anymore. Please refresh the page for an updated view.
      

      I haven't tested other things because I'm not very familiar with the annotation feature, but I have the feeling that there might be other problems.

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: