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

Translations are not properly used when using livetable source for livedata

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 14.4.3, 15.10
    • Live Data
    • None
    • Unknown

    Description

      How to reproduce:

      According to the documentation of live data, I used the following macro call to add a livetable for the Movies source (the Movies demo application shipped with the Help application):

      {{liveData id="films" properties="longText1,doc.title,staticList1,date1,databaseList1,boolean1,_actions" showPageSizeDropdown="false" source="liveTable" sourceParameters="className=Help.Applications.Movies.Code.MoviesClass&'translationPrefix=movies.livetable."}}{{/liveData}}
      

      Also, I added a new movie in the movies, containing just a title and no values for the columns.

      Expected result:
      The Movies application entries display with - as an empty value display, as they do in the movies livetable from the movies application home:

      Actual result:
      The Movies application entries display but instead of the - for the empty value, there is a piece of code and some translations seem to be missing (for the doc.title, for example):

      Attachments

        Activity

          People

            lucaa Anca Luca
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: