[Libreoffice-bugs] [Bug 123597] New: IsNew not set for new data forms - was OK in 6.1.5

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 20 17:34:00 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123597

            Bug ID: 123597
           Summary: IsNew not set for new data forms - was OK in 6.1.5
           Product: LibreOffice
           Version: 6.2.1.1 rc
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: tim at tim-passingham.co.uk

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190220/0a9e166c/attachment.html>


More information about the Libreoffice-bugs mailing list