Emmanuel Lecharny created DIRSTUDIO-1019:
--------------------------------------------

             Summary: LDIF editor can't open files bigger than 1Mb
                 Key: DIRSTUDIO-1019
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1019
             Project: Directory Studio
          Issue Type: Improvement
    Affects Versions: 2.0.0-M8 (2.0.0.v20130628)
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.0


There is a hard coded size limit for LDIF files in the LDIF editor :

{code}
            if ( fileLength > ( 1 * 1024 * 1024 ) )
            {
                MessageDialog.openError( site.getShell(), Messages.getString( 
"LdifEditor.LDIFFileIsTooBig" ),
                    Messages.getString( 
"LdifEditor.LDIFFileIsTooBigDescription" ) ); 
            ...
{code}

It would be better to use a size which is defined in the preference.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to