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

Suggest Fails To Display Current Value Correctly On Edit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 10.11-rc-1
    • 10.10
    • REST
    • None
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      I have an application AppA with two short text fields, an ID and a Name, and an application AppB with a database list field Appa referencing AppA using ID as ID field and Name as value field. The display type of the reference field is input with Use Suggest. I have two instances of AppA, (ID: "A1", Name: "A1Name") and (ID: "A2", Name: "A2Name"). I create an instance of type AppB and set its field Appa to "A1Name" by choosing form the list ("A1Name", "A2Name"). I save and edit again. When I try to change the field Appa I get the list ("A1", "A2Name") instead of ("A1Name", "A2Name"). The example is attached.

      Attachments

        Activity

          People

            atallahade Adel Atallah
            Kido Guido Kracke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h