leoncx / testmigrate

0 stars 0 forks source link

Carriage Return doesn't work #61

Open leoncx opened 11 years ago

leoncx commented 11 years ago

Author Name: Stephane Duret (Stephane Duret) Original Redmine Issue: 4901, https://forge.centreon.com/issues/4901 Original Date: 2013-09-24


Hello,

When I export/import configuration with CLAPI, the carriage return doesn't work.

For example, in a service template I want to add comments : @{FR: commentaire}

{EN: comment}@

When I export the configuration I have this : @{FR: commentaire}^M ^M {EN: comment}@

So, if I import this file, I will just have the first line.

Regards,

leoncx commented 11 years ago

Original Redmine Comment Author Name: Stephane Duret (Stephane Duret) Original Date: 2013-09-25T11:50:46Z


When I test with the last version: 1.5.2, I have the same problem but ^M is replaced by

For example: {FR: commentaire}

{EN: comment}

So, when I import the file with CLAPI, I have

in comments of my template.