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

Conversion fails when table with escape-backslash and code macro are together

    XMLWordPrintable

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      I found an interesting conversion problem.
      I have this situation: (Note the escape-backslashs in the table)

      {table}
      A| B | C
      X | Long\[\] | X
      {table}
      
      {code}
      System.out.println();
      {code}
      

      When I try to convert it to xwiki 2.0 it fails with the error message: "Failed to convert the selected syntax. If you want to use this....", etc.
      Unfortunately there is no stacktrace in the log.
      When I try to convert each macro on its own it works fine. It also works when I remove the escape-backslashes in the table. So it has probably something to do with them.

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            hor Reto Hotz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: