Skip to content

Commit

Permalink
Merge pull request #241 from GluuFederation/dbstorefix_4.4.1
Browse files Browse the repository at this point in the history
fix: fix for display name
  • Loading branch information
yurem authored Jul 14, 2022
2 parents 9123414 + f48e531 commit 636c9d8
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public boolean saveDocument(String name, String documentContent, Charset charset
oxDocument.setInum(documentService.generateInumForNewOxDocument());
String dn = "inum="+ oxDocument.getInum() +",ou=document,o=gluu";
oxDocument.setDn(dn);
oxDocument.setDescription("Testing the document saving");
oxDocument.setDescription(name);
oxDocument.setOxEnabled("true");
oxDocument.setOxModuleProperty("oxtrusr server");
documentService.addOxDocument(oxDocument);
Expand Down Expand Up @@ -121,8 +121,7 @@ public boolean saveDocumentStream(String name, InputStream documentStream) {
oxDocument.setInum(inum);
String dn = "inum="+ oxDocument.getInum() +",ou=document,o=gluu";
oxDocument.setDn(dn);
oxDocument.setDisplayName("Test");
oxDocument.setDescription("Testing the document saving");
oxDocument.setDescription(name);
oxDocument.setOxEnabled("true");
oxDocument.setOxModuleProperty("oxtrusr server");
documentService.addOxDocument(oxDocument);
Expand Down

0 comments on commit 636c9d8

Please sign in to comment.