Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-155

IconTransformation works improperly cross Syntax

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Syntax - Confluence

    Description

      In class IconTransformation, I detected that it always use

      @Requirement("plain/1.0")
      private Parser plainTextParser;
      

      to parse a given configuration source into an XDOM which is used to map with the input XDOM later. It means we always compare a static one with a dynamic one(based on its syntax: XWiki, Confluence, TWiki,...).
      So my proposal is to look up the parser dynamically by rendering context.(Patch for 2.7.1 is attached to explain further)

      Attachments

        Activity

          People

            Unassigned Unassigned
            hieu.lai Hieu Lai Trung
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: