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

Links are removed when a macro is collapsed and the editor looses focus

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3, 2.1 M1
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • keywords:
      link macro
    • Tests:
      Unit, Integration
    • Difficulty:
      Easy
    • Similar issues:

      Description

      Follow this steps to reproduce:

      • edit a new page in wiki mode and set the content to:
        before
        
        {{velocity}}abc [[123>>http://www.xwiki.org]] xyz{{/velocity}}
        
        after
        
      • switch to wysiwyg mode
      • collapse the macro by clicking twice on it or by using the macro menu
      • click outside the editor
      • expand the macro

      The link had been removed. The content is not affected if the page is saved. The problem is just that the link is not there anymore after the macro is expanded.

        Attachments

          Activity

            People

            Assignee:
            mflorea Marius Dumitru Florea
            Reporter:
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: