<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Losing Dots when importing a CSV with IPv4 addresses"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=119722">119722</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Losing Dots when importing a CSV with IPv4 addresses
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.5.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>thomas.seeling@gmx.net
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=144713" name="attach_144713" title="CSV file with IPv4 addresses">attachment 144713</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=144713&action=edit" title="CSV file with IPv4 addresses">[details]</a></span>
CSV file with IPv4 addresses
I have to work with CSV files quite often (reports generated from scripts). I
noticed that LO has a serious problem with IPv4 addresses (IPs and subnet
masks). Some IPs get imported as they should while others lose the dots. LO
shouldn't change the data at all. When I look at the format menu the column is
marked as "number" but obviously it cannot be a number if it contains 3 dots,
so LO should autoformat as "Text".
See attached bugreport.csv. First line is ok, second and third not.
Open Dialog, select CSV file, select "semicolon" and leave other settings as
default.
Works:
10.112.0.171
Does not work:
10111216147
10111216148
For now as a quick workaround my scripts generate CSV with quotes. The quotes
get imported into the cells as well, so then I mark all columns as "Text" and
do a global search+replace from " to <nothing> but this is quite ugly.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>