After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660344 - GdaDataAccessWrapper returns null field values when there is only one row
GdaDataAccessWrapper returns null field values when there is only one row
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: Client library
4.99.x
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks: 660239
 
 
Reported: 2011-09-28 09:14 UTC by Murray Cumming
Modified: 2011-11-24 07:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2011-09-28 09:14:54 UTC
As far as I can tell, when the underlying GdaDataModel has only 1 row, GdaDataAccessWrapper provides Null values for all columns. This is with PostgreSQL (though I don't actually need to use it with PostgreSQL). I haven't tested it without other backends yet.

I will investigate and try to provide a test case.
Comment 1 malerba 2011-10-11 20:31:48 UTC
Can you check with correction in commit http://git.gnome.org/browse/libgda/commit/?id=8b72f68df60b9e037d37d050e9602da2ffe43a0d ?
Thanks,
Vivien
Comment 2 Akhil Laddha 2011-11-24 07:11:28 UTC
Murray, ping, did commit mentioned in comment#1 fix your issue ?
Comment 3 Murray Cumming 2011-11-24 07:53:42 UTC
Yes, that seems to work now. Thanks again, Vivien.