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

The livedata property description is not displayed

    XMLWordPrintable

Details

    • Easy
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Reproduction steps:

      1. Create a new Live Data
      2. Add a new field called test
      3. Add 'description': 'this is a test' to the Live Data propertyDescriptors of the test field
      4. Save

      Expected Result:

      The 'test' field should display 'this is a test' when hovered over.

      Actual Result:

      The field description does not appear when hovering over.

       

      Here is an example of livedata with a description added for one of the properties:

      {{liveData
        id="movies"
        properties="title,genre"
      }}{
        "data": {
          "count": 2,
          "entries": [
            {
              "title": "Meet John Doe",
              "genre": ["Comedy", "Romance"]
            },
            {
              "title": "Modern Times",
              "genre": ["Comedy", "Drama"]
            }
          ]
        },
        "meta": {
          "propertyDescriptors": [
            {
              "id": "title",
              "description":"this is a test",
              "name": "Title",
              "visible": true,
              "displayer": {"id": "link", "propertyHref": "url"}
            },
            {
              "id": "genre",
              "name": "Genre",
              "visible": true
            }
          ]
        }
      }{{/liveData}}
      

      Attachments

        Activity

          People

            Farcasut Farcasi Alexandru-Vicentiu
            Farcasut Farcasi Alexandru-Vicentiu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: