directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r823127 - /directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/dialogs/LdifEntryEditorDialog.java
Date Thu, 08 Oct 2009 11:11:25 GMT
Author: seelmann
Date: Thu Oct  8 11:11:25 2009
New Revision: 823127

URL: http://svn.apache.org/viewvc?rev=823127&view=rev
Log:
Fix for DIRSTUDIO-557 (Edit value and edit entry are not working if DN is invalid):
o must use the right connection

Modified:
    directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/dialogs/LdifEntryEditorDialog.java

Modified: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/dialogs/LdifEntryEditorDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/dialogs/LdifEntryEditorDialog.java?rev=823127&r1=823126&r2=823127&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/dialogs/LdifEntryEditorDialog.java
(original)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/dialogs/LdifEntryEditorDialog.java
Thu Oct  8 11:11:25 2009
@@ -109,14 +109,14 @@
         {
             if ( ldifRecord instanceof LdifContentRecord )
             {
-                entry = ModelConverter.ldifContentRecordToEntry( ( LdifContentRecord ) ldifRecord,
browserConnection );
+                entry = ModelConverter.ldifContentRecordToEntry( ( LdifContentRecord ) this.ldifRecord,
+                    this.browserConnection );
             }
             else if ( ldifRecord instanceof LdifChangeAddRecord )
             {
-                entry = ModelConverter.ldifChangeAddRecordToEntry( ( LdifChangeAddRecord
) ldifRecord,
-                    browserConnection );
+                entry = ModelConverter.ldifChangeAddRecordToEntry( ( LdifChangeAddRecord
) this.ldifRecord,
+                    this.browserConnection );
             }
-
         }
         catch ( InvalidNameException e )
         {



Mime
View raw message