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

Page and DatabaseList properties list hidden documents

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Minor
    • None
    • 6.4
    • Old Core
    • Unknown

    Description

      Hello,
      In MyClass if I use a Page or databaselist property with this field:
      Display Type : select
      XWiki Class Name : AnotherClass
      Id Field Name : doc.fullName
      Value Field Name : doc.name

      The displayer show all document with AnotherClass object even hidden document.

      I think "doc.hidden=false" missing (depend of userpreference: "show hidden document" or not)

      Maybe it is on this line?
      https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/DBListClass.java#L216

      Thxs

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            Pbas Pascal BASTIEN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: