Bug 82720 - Refresh of a subform from a subform doesn't work
Summary: Refresh of a subform from a subform doesn't work
Status: RESOLVED DUPLICATE of bug 82151
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.3.0.0.alpha0+ Master
Hardware: x86-64 (AMD64) All
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-08-17 07:09 UTC by agojc
Modified: 2014-08-27 06:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Refreshing in SubSubForm doesn't work (12.89 KB, application/vnd.sun.xml.base)
2014-08-17 17:40 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description agojc 2014-08-17 07:09:14 UTC
Win7 Ultimate x64 platform (normal and Virtualbox VM)
Bug re-created in 4.3.0 released version and 4.3.1 prerelease
(Works fine on 4.2.5.2 and 4.2.6)
No macro used.

Form with a wildcard filter displays information (multi-column table control) correctly when a value is submitted.

Subforms with multi-column table control DO NOT refresh except when the form is closed and reopened.
Comment 1 Robert Großkopf 2014-08-17 09:51:29 UTC
What do you mean with "wildcard filter"?
Where do you set the filter? In the mainform or in the subform?
Could you please add an attachment, which shows this bug?
Comment 2 agojc 2014-08-17 10:27:43 UTC
Wildcard filter means one textbox in which no, one, or several character(s) can be typed in with a button to refresh the form.
The textbox is in the main form.
Refresh button and table to show the filtered results are in the first subform.
Refreshes properly.
Three more tables inside this first subform and subforms themselves do not refresh until the document is closed and reopened (only with 4.3 versions).
Comment 3 agojc 2014-08-17 14:16:26 UTC
Addendum: you will get the exact same behavior with the "Media_without_Macros.odb" document illustrating Base Handbook.
Comment 4 Robert Großkopf 2014-08-17 15:07:52 UTC
(In reply to comment #3)
> Addendum: you will get the exact same behavior with the
> "Media_without_Macros.odb" document illustrating Base Handbook.

I have created this database. Please write down which form you are using. Have just tested a little bit with LO 4.3.0.4. Couldn't confirm any buggy behavior.
Comment 5 agojc 2014-08-17 15:52:59 UTC
Please go to the "Loan" form. Type for instance "g" in the filter textbox.
You'll get Garbo and Gerd as a result. The "Loan" table is correctly updated, as is the name field beneath (Loan for Reader ...).
The "Return" table doesn't refresh.
Plus, shifting between records in the "Loan" table doesn't either make this "Return" table change its display.
Checked again 2 minutes ago on a 4.3.0.4 version (dismantled the dev one).
Comment 6 Robert Großkopf 2014-08-17 17:40:48 UTC
Created attachment 104769 [details]
Refreshing in SubSubForm doesn't work

open the form.
Change Forname from "Robert" (ID 1) to "Belinda" (ID 2).
The subform will show the values for Belinda, the subsubform, created by the same table, won't.
Works with all Versions up to the last 4.2, doesn't work wil LO 4.3 alpa0 up to 4.3.0.4.
Tested with OpenSuSE 12.3 64bit rpm Linux.
Has nothing to do with a filter, so I will change the title also.
Comment 7 Robert Großkopf 2014-08-21 19:40:40 UTC
Problem isn't only navigation through the data. Input in subsubforms seems to be broken by the missing connection. See the added bugs.
I will set the importance to high and critical. Many databases wouldn't work any more with LO 4.3 ...
Comment 8 frofa 2014-08-23 11:53:40 UTC
Confirming this behavior using LO v4.3 with Mac OSX (6.8). Reverting to LO v.4.2.5 fixed the problem. (LO v.4.3 is unusable for me because of this critical breakdown of Base functionality.)
Comment 9 Robert Großkopf 2014-08-24 18:46:20 UTC
It's a duplicate of Bug82151, which has been fixed for LO 4.3.2.

*** This bug has been marked as a duplicate of bug 82151 ***
Comment 10 Dan Lewis 2014-08-27 00:16:34 UTC
(In reply to comment #6)
> Created attachment 104769 [details]
> Refreshing in SubSubForm doesn't work
> 
> open the form.
> Change Forname from "Robert" (ID 1) to "Belinda" (ID 2).
> The subform will show the values for Belinda, the subsubform, created by the
> same table, won't.
> Works with all Versions up to the last 4.2, doesn't work wil LO 4.3 alpa0 up
> to 4.3.0.4.
> Tested with OpenSuSE 12.3 64bit rpm Linux.
> Has nothing to do with a filter, so I will change the title also.

I have opened the attachment 104769 [details] using Version: 4.4.0.0.alpha0+
Build ID: b6da6a887a0417be02e123a6d19837123e58b94f
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-08-09_07:47:21 (deb x86 Kubuntu 14.04)

I had no problem adding information to the subform. Then I was able to cycle through the rows of the main form and what I had added appear when it should including matching values of the primary-foreign key pairs.

Another comment: This attachment contains a form with a main form and two identical subforms. This does not qualify as a form with a main form, and subform which also has a subform. To qualify, one of the subforms must have a subform with a foreign key that matches the primary key of the main form. The second subform must have a foreign key that matches the primary key of the first subform.
Comment 11 Robert Großkopf 2014-08-27 06:06:22 UTC
(In reply to comment #10)
> 
> I had no problem adding information to the subform. Then I was able to cycle
> through the rows of the main form and what I had added appear when it should
> including matching values of the primary-foreign key pairs.
> 
> Another comment: This attachment contains a form with a main form and two
> identical subforms. This does not qualify as a form with a main form, and
> subform which also has a subform. To qualify, one of the subforms must have
> a subform with a foreign key that matches the primary key of the main form.
> The second subform must have a foreign key that matches the primary key of
> the first subform.

Hi Dan,

the example isn't created for adding data or show a full qualified database. See the content of this bug. It should only show the refreshing of a subsubform. And exact this is, what it is doing:

If you do the steps written down in comment6 you see no refresh with LO 4.3.* (last version here 4.3.1.1). But you would see it with the actual 4.4.0.0alpha. The reason for this is the same as in the other reported bugs.

Regards

Robert