This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See http://git.codelutin.com/faxtomail.git commit 1f588a70c7794fc55360c743c3bae900c1afa891 Author: Kevin Morin <morin@codelutin.com> Date: Wed Apr 15 11:54:34 2015 +0200 fixes #6960 [Réponse] Impossible d'ajouter les pièces jointes des éléments dont l'objet a un saut de ligne --- faxtomail-persistence/src/main/resources/faxToMail.properties | 2 +- .../faxtomail/ui/swing/content/reply/ReplyFormUIHandler.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/faxtomail-persistence/src/main/resources/faxToMail.properties b/faxtomail-persistence/src/main/resources/faxToMail.properties index 30dae76..8c53b23 100644 --- a/faxtomail-persistence/src/main/resources/faxToMail.properties +++ b/faxtomail-persistence/src/main/resources/faxToMail.properties @@ -31,7 +31,7 @@ hibernate.connection.password= #hibernate.dialect=org.hibernate.dialect.SQLServer2008Dialect #hibernate.connection.driver_class=net.sourceforge.jtds.jdbc.Driver -#hibernate.connection.url=jdbc:jtds:sqlserver://192.168.100.247:1433/faxtomailtest +#hibernate.connection.url=jdbc:jtds:sqlserver://192.168.100.176:1433/faxtomail #hibernate.connection.username=fx #hibernate.connection.password=FX2013! diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/reply/ReplyFormUIHandler.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/reply/ReplyFormUIHandler.java index 069b074..8bdecde 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/reply/ReplyFormUIHandler.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/reply/ReplyFormUIHandler.java @@ -104,7 +104,9 @@ public class ReplyFormUIHandler extends AbstractFaxToMailUIHandler<ReplyFormUIMo models.addAll(demand.getGroupedDemandes()); for (DemandeUIModel demandeUIModel : models) { - String prefix = demandeUIModel.getTitle(); + // remove newline character (cf #6960) + String prefix = StringUtils.remove(demandeUIModel.getTitle(), '\n'); + for (Attachment attachment : demandeUIModel.getAttachment()) { ReplyAttachmentModel replyOriginalAttachmentModel = -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.