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

Object editor displays last instead of first property for each object

    XMLWordPrintable

Details

    • object editor property last display
    • Unknown

    Description

      In the object editor, objects are grouped by class and, for each object, they have displayed the following info:

      <className> <objectNumber>: <firstPropertyValue>
      

      Even if <firstPropertyValue> 'prefers' properties named '*name*' and '*title*', if no such properties exist, the fallback is to use the first String property (second preference) or the first nonTextArea property (final backup).

      The problem is that, if more than one String properties exist and no '*name*' or '*title*' properties exist, the last String property is displayed instead of the first. The same thing happens for nonTextArea properties, when there are more than one and no String or '*name*' or '*title*' properties exist.

      So instead of displaying the first properties, the last ones are displayed.

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: