Uploaded image for project: 'Content IO'
  1. Content IO
  2. CONTENTIO-282

[LDAP SCC] The pagination setting is missing in configuration

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.14.0, 3.13.1
    • None
    • None
    • 4.8.0 M2

      Environment:
      OpenLDAP (limited to 500 results).

      Steps to reproduce bug:
      -Try and synchronise more than 500 contents (SCC) 

      Bug:
      By default, in Ametys, the pagination is set to 1000 so it only synchronises the first 500 elements.

      Bérénice's suggestions:

      • Reduce the default pagination to 500 (-> compatible with OpenLDAP)
      • Make it possible to customise the pagination's value (within Ametys)

          [CONTENTIO-282] [LDAP SCC] The pagination setting is missing in configuration

          James Hawken added a comment -

          Don't have a test environment to check it is fixed but got the green light from Raphael

          James Hawken added a comment - Don't have a test environment to check it is fixed but got the green light from Raphael

          Finally changing the constant will not change anything: the TOTAL number of results is not limited by paging byt is limited by the ldap to 500 by default...
          In 4.8, and thanks to RUNTIME-3863 we handle it to log correctly errors when it happens... but anyway the server conf needs to be changed to authorize our ldap user to request more...

          Raphaël Franchet added a comment - Finally changing the constant will not change anything: the TOTAL number of results is not limited by paging byt is limited by the ldap to 500 by default... In 4.8, and thanks to RUNTIME-3863 we handle it to log correctly errors when it happens... but anyway the server conf needs to be changed to authorize our ldap user to request more...

          we decided to use the same constant in all ametys ldap connectors (at 500) to fix the issue.
          Implementing a configurable value would be done in other linked tickets

          Raphaël Franchet added a comment - we decided to use the same constant in all ametys ldap connectors (at 500) to fix the issue. Implementing a configurable value would be done in other linked tickets

            raphael Raphaël Franchet
            jhawken James Hawken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: