Re: gnue-forms: more master-detail-detail (and other) issues

Reinhard Mueller <[email protected]> Tue, 24 Jul 2007 21:59:49 +0200
Newsgroups gmane.comp.gnu.enterprise.general
Organization GNU Enterprise
Message-ID <[email protected]>
Hi, Oleg!

Am Dienstag, den 24.07.2007, 17:56 +0200 schrieb Reinhard Mueller:
> Yes. This is strange, I need to investigate this more closely.
> [...]
> However, I had some other strange behaviour, and I will investigate
> further on this.

I think I found out the reason for the strange behaviour: You use the
same datasource for the block "store" and the lookup of the dropdown.
This means that
* a new, empty record is inserted in the block if no current record
exists. However, since the dropdown is bound to the same datasource, you
see this new, empty record in the form of a "None" entry in the
dropdown.
* the selection of a dropdown value results in moving the block to that
record, leading to strange things like the detail moving its own master
away.

I created a second datasource called ds_store_lookup and linked the
dropdown field to that datasource, and everything seems to work fine
then.

Thanks,
Reinhard

_______________________________________________
Gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnue
signature.asc (application/pgp-signature, 307 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iQCVAwUARqZaMCpv03KHfKbjAQKZowQAhyaL3EwMvT9oWmStpB2HMJWYfoL+ciwV
ZJUs9wN9CsCjElgs9sUQQk1x0Ka6B3hKUkOlCDzOcvHgG7OOwZ3GF/ld+6h+peTb
m4wytFt3U6D1YiuA5h6uIRMZt/n1LySCfUheFuaDewsNcuALntZ9vCe4g9ULl1gc
wBAALPKMXEQ=
=os2l
-----END PGP SIGNATURE-----