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

Suggest Fails To Display Current Value Correctly On Edit

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.11-rc-1
    • Component/s: REST
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      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

        1. AppA.WebHome.xar
          11 kB
          Guido Kracke
        2. AppB.WebHome.xar
          11 kB
          Guido Kracke

          Activity

            People

            • Assignee:
              atallahade Adel Atallah
              Reporter:
              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