<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - switch() gives "wrong data type" error on reordering value-result pairs"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130583#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - switch() gives "wrong data type" error on reordering value-result pairs"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130583">bug 130583</a>
from <span class="vcard"><a class="email" href="mailto:dscheikey@gmail.com" title="Jürgen Kirsten <dscheikey@gmail.com>"> <span class="fn">Jürgen Kirsten</span></a>
</span></b>
<pre>Hello community,
I had found the same error and also created a sample document.
In my example I always search for the number 1 in 3 value pairs.
No problem in the first example. The three numbers are found. No matter what
else I enter, the alternative value is displayed.
In the second example I have no number in Value. If I now search for a number,
an error is displayed instead of the alternative value.
In the third and fourth example I mixed numbers and texts. If my value pairs
start with a number, it will still be found. But once the pairs are interrupted
by a text, the number is no longer found.
All in all I suspect an error when searching for texts or numbers. If I search
for numbers, I should also only get numbers as hits. You can adjust to this.</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>