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

Exception message parameters are not passed in exceptioninline.vm

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      If the exception message has parameters, the translation key will ignore them, because the template does not pass them to the rendering of the translation key.

      How to reproduce:
      1. http://localhost:8080/xwiki/bin/propadd/XWiki/XWikiPreferences?propname=something&proptype=String (press YES)
      2. Access again http://localhost:8080/xwiki/bin/propadd/XWiki/XWikiPreferences?propname=something&proptype=String (press YES)
      3. Result:

      Property {0} already exists
      

      Attachments

        Activity

          People

            enygma Eduard Moraru
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: