<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 - IsNew not set for new data forms - was OK in 6.1.5"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=123597">123597</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>IsNew not set for new data forms - was OK in 6.1.5
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.1.1 rc
</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>Base
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tim@tim-passingham.co.uk
</td>
</tr></table>
<p>
<div>
<pre>I have just installed Version: 6.2.1.1
Build ID: 1:6.2.1~rc1-0ubuntu0.18.10.1~lo1
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3;
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded
On opening a base form for a new item, my macros use the IsNew function on the
form. This used to be true for New records. It is now False in certain
situations, and my macros fail.
I'll have to revert to 6.1.5 to keep my systems running.
I have tried to reproduce this on a simple embedded database but have failed so
far. The particular case for my system using a Mariadb backend is that I open
a form using:
Set oOpenForm =
oController.loadComponent(com.sun.star.sdb.application.DatabaseObject.FORM,
sForm, false)
And then it immediately triggers my 'After Change' macro which checks for
'IsNew'. This is now False, even for a form which is set to only be able to
add new data.
If I manage to get further information, and hopefully a reproducible case, I
will post again here, but I have to revert to 6.1.5 for now and install a 6.2
test system later.</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>