Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.6k stars 397 forks source link

The Export .CSV only includes the 1st line of Notes #5777

Closed TalkingToes closed 20 hours ago

TalkingToes commented 6 days ago

Feature Request

Is your feature request related to a problem? Please describe

The resulting .CSV file only includes the 1st line of the Notes field.

Describe the solution you'd like

Console \ Management \ Devices \ Export creates a .CSV file with many columns, but the Notes column only includes the 1st row of each device. I'm hoping it would include the whole Notes field as entered into Cacti.

Maybe for each Notes, filter for Carriage Returns and any Comma and replace with a space?

Screenshots. Where is the 2nd line? Cacti: Screenshot 2024-06-24 110254

Excel: Screenshot 2024-06-24 110223

TheWitness commented 6 days ago

Yea, that's likely the issue. Good catch.

TheWitness commented 20 hours ago

I switched this to a bug from an enhancement. The way I am dealing with it is to replace carriage returns and line feeds with a space.