Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-703

DSML Export fails to export when the size limit is hit

    Details

      Description

      DSML Export fails to export when the size limit is hit

      I got this error when trying to export the ou=schema naming context with a '1000' size limit.
      Exporting as LDIF with the same settings does not complain at all.

      %%%%%%%%%%%%%%%%%%%%%
      Error while exporting DSML

      • [LDAP: error code 4 - Sizelimit Exceeded]
        javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'ou=schema'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3093)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
        at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129)
        at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198)
        at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171)
        at org.apache.directory.studio.connection.core.io.jndi.StudioNamingEnumeration.hasMore(StudioNamingEnumeration.java:139)
        at org.apache.directory.studio.ldapbrowser.core.jobs.ExportDsmlJob.processAsDsmlResponse(ExportDsmlJob.java:260)
        at org.apache.directory.studio.ldapbrowser.core.jobs.ExportDsmlJob.processAsDsmlResponse(ExportDsmlJob.java:230)
        at org.apache.directory.studio.ldapbrowser.core.jobs.ExportDsmlJob.executeAsyncJob(ExportDsmlJob.java:184)
        at org.apache.directory.studio.ldapbrowser.core.jobs.AbstractEclipseJob.run(AbstractEclipseJob.java:101)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
        [LDAP: error code 4 - Sizelimit Exceeded]
      1. DIRSTUDIO-703.patch
        5 kB
        Pierre-Arnaud Marcelot
      2. Screen shot 2010-10-08 at 15.40.53.png
        27 kB
        Pierre-Arnaud Marcelot

        Activity

        Pierre-Arnaud Marcelot made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-M1 [ 12319458 ]
        Pierre-Arnaud Marcelot made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Hide
        Stefan Seelmann added a comment -
        Show
        Stefan Seelmann added a comment - Fixed in 1.5.x branch: http://svn.apache.org/viewvc?rev=1085712&view=rev
        Pierre-Arnaud Marcelot made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -
        Show
        Pierre-Arnaud Marcelot added a comment - Fix at revision 1005913. http://svn.apache.org/viewvc?rev=1005913&view=rev
        Pierre-Arnaud Marcelot made changes -
        Attachment DIRSTUDIO-703.patch [ 12456703 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -

        As I'm currently working in a branch, attaching a patch that will need to be applied after, when the branch merge is done.

        Show
        Pierre-Arnaud Marcelot added a comment - As I'm currently working in a branch, attaching a patch that will need to be applied after, when the branch merge is done.
        Pierre-Arnaud Marcelot made changes -
        Field Original Value New Value
        Attachment Screen shot 2010-10-08 at 15.40.53.png [ 12456702 ]
        Pierre-Arnaud Marcelot created issue -

          People

          • Assignee:
            Pierre-Arnaud Marcelot
            Reporter:
            Pierre-Arnaud Marcelot
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development