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

Database List in class definition does only support string fields in refered class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 15.10.1
    • None
    • None
    • Unknown

    Description

      As outlined here:

      https://forum.xwiki.org/t/database-lists-with-class-name-id-and-value-field-data-type/16296

      the Database List property of a class using the  “XWiki Class Name”, “Id Field Name” and “Value Field Name” options does only work if the referred fields are of type "String".

      Either this should be validated when referring to a field in the class definition or a meaningful error should be displayed when the data is computed.

      Right now, the list does simply not populate if either of the fields refer to a non String type.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbu@netsuccess.ch Beat Burgener
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: