Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13642

Fix SQL directory querySizeLimit overwrite

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8
    • Fix Version/s: 5.8.0-HF06, 5.9.2
    • Component/s: Directory
    • Tags:
    • Upgrade notes:
      Hide

      For a SQLDirectory's extension point, the following elements are now properly overwritten when declared a second time:

      • autoincrementIdField
      • querySizeLimit
      • cacheTimeout
      • cacheMaxSize
      • readOnly
      Show
      For a SQLDirectory's extension point, the following elements are now properly overwritten when declared a second time: autoincrementIdField querySizeLimit cacheTimeout cacheMaxSize readOnly

      Description

      org.nuxeo.ecm.directory.sql.SQLDirectoryDescriptor.merge does:

              if (overwite) {
                  querySizeLimit = other.querySizeLimit;
              }
      

      but overwrite is never true, we should use an Integer instead of int to do proper overwrite in all cases if it's not null.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: