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

Regression: searchDocuments fails on PostgreSQL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7
    • 1.7 RC1
    • Storage
    • None
    • regression, postgresql
    • Unit

    Description

      When introducing the hidden documents filter, the WHERE condition compares doc.hidden with 1, although doc.hidden is a boolean property. This wasn't detected because several RDBMSs can automatically convert 1 to true.

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: