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

Empty Select on property of Database List linked with an integer property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 6.4.5, 7.2, 7.3
    • Old Core
    • None
    • Unknown
    • Awaiting Contributor feedback

    Description

      Step to reproduce :

      1- Create a new class : Sandbox.TestClass

      • Add a new prop "codeNumber" : type Number
      • Add a new prop "codeString" : type String
        2- Save and view the class
        3- Create the sheet and template of this class
        4- Create a new page with this class ( eg : codeNumber = 15 , codeString = 15)

      5-Create a new class : Sandbox.DBListTestClass

      • Add a new prop "dbListCodeNumber" type : Database List with followings :
        • Display Type : select
        • XWiki Class Name : Sandbox.TestClass.WebHome
        • Id Field Name : codeNumber
        • Value Field Name : codeNumber
      • Add a new prop "dbListCodeString" type : Database List with followings :
        • Display Type : select
        • XWiki Class Name : Sandbox.TestClass.WebHome
        • Id Field Name : codeString
        • Value Field Name : codeString

      6- Save and view the class
      7- Create the sheet and template of this class
      8- Create a new page with this class
      Result :
      ==> you'll see that the select of codeNumber is empty

      Attachments

        Activity

          People

            Unassigned Unassigned
            zoubir Zoubir Medjdoub
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: