Bug 83629

Summary: VIEWING: Related record doesn't immediately show up in sub-form
Product: LibreOffice Reporter: Robson Baptista Pinto <robsontananet>
Component: BaseAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: libo2016
Priority: medium    
Version: 4.3.1.2 release   
Hardware: Other   
OS: Windows (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:

Description Robson Baptista Pinto 2014-09-08 20:34:38 UTC
Problem description: 

Steps to reproduce:
1. ....
2. ....
3. ....

Current behavior:

Expected behavior:


Criei uma 'tabela 1' com os 2 campos sendo 'ida' e 'nomea' e 
renomeei a tabela como 'clientes' deixando como chave primária 
o campo 'ida'.
Criei uma outra 'tabela 2'com 3 campos 'idb', 'ida' e 'nomeb' e 
renomeei a tabela como 'detalhes_clientes' deixando como chave primária o campo 'idb' e como chave estrangeira o campo 'ida'.
Depois fiz o relacionamento das tabelas corretamente.
Logo em seguida criei através do assistente de formulário
o formulário principal e o sub-formulário indicando quais
campos tem ligação.
O problema que ocorre é que quando tenho os seguintes registros
na 'tabela 1':
'ida' 'nome'
1      maria
2      josé
3      carlos

E seleciono o registro 2 por exemplo para preencher os dados para serem vinculados na 2 tabela o registro não aparece. A não
ser quando fecho a tela e entro novamente. Ele até pisca no sub-formulário na medida em que seleciono o registro 1, 2 ou 3
ou 3, 2 e 1. Ou seja sempre o último registro da 'tabela 1' não
é reconhecido de imediato na tabela 2 que está como sub-formulário. E quando crio mais um registro ai sim o anterior
aparece.

O erro aparece na versão: 4.3.1
A Versão: 4.2.6 funciona perfeitamente.

         Agradeço mais uma vez toda equipe
          É uma honra estar colaborando
com esse pessoal que rala muito para que tenhamos uma
suite de escritório avançada como o Libre Office.
              Uso e recomendo a todos

                  Atenciosamente
              Robson Baptista Pinto
                    
                 






              
Operating System: Windows XP
Version: 4.3.1.2 release
Comment 1 Urmas 2014-09-08 23:09:34 UTC
English only here.
Comment 2 Nino 2014-09-10 19:50:39 UTC
providing translation and changing bug back to unconfirmed:

Original Summary: 
"Registro de um Relacionamento não aparece de imediato no sub-formulário"

Probable translation:
"Related record doesn't immediately show up in sub-form"

Summary translation:

Problem description: 
Created a table 'tabela 1' with 2 fields 'ida' and 'nomea' and renamed the table as 'clientes' leaving as primary key the field 'ida'. 
Created another table 'tabela 2'with 3 fields 'idb', 'ida' and 'nomeb' and renamed it as 'detalhes_clientes' leaving as primary key 'idb' and as foreign key, field 'ida'. 
After that, I related the tables correctly. 
Then, created with form wizard, the main form and sub form, indicating which fields have connections. 
Issue happens when I have the following records on 'tabela 1': 
'ida' 'nome' 
1 maria 
2 josé 
3 carlos 

and I select record 2, for example, to fill data to be linked to the 2nd table the record doesn't show. Except when I close the screen and open again. It even blinks in the sub-form as I select record 1, 2 or 3 or 3, 2 and 1. Meaning the last record of 'tabela 1' is not always recognized immediately on table 2 that is as sub-form. 
And when I create another record, there yes the previous one appears.
 
Error on version: 4.3.1 
Version: 4.2.6 works perfectly.
Comment 3 Robert Großkopf 2014-09-11 19:40:21 UTC
It's a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=82151 . There are many other reports for this. Will be fixed in 4.3.2

*** This bug has been marked as a duplicate of bug 82151 ***