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 517665 - New database not created correctly
New database not created correctly
Status: RESOLVED FIXED
Product: glom
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Murray Cumming
Murray Cumming
Depends on:
Blocks:
 
 
Reported: 2008-02-20 14:15 UTC by Johannes Schmid
Modified: 2008-03-06 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johannes Schmid 2008-02-20 14:15:59 UTC
Steps to reproduce:

- Start Glom -> New Database
- Create database on local filesystem
- Create one table

The list view does not have any columns and selecting a row does lead to a lot of error messages on the terminal. Entering data does not work.

Expected:
It would work just like it works when you start from an example.
Comment 1 Murray Cumming 2008-03-05 17:06:18 UTC
I have fixed the lack of a default layout:

2008-03-05  Murray Cumming  <murrayc@murrayc.com>

	* glom/libglom/document/document_glom.cc:
	get_data_layout_groups_default(): Restored the code that creates 
	the default layouts, which was lost somehow.
	Bug #517665 (Johannes Schmid).

However, the details layout does not actually appear unti I open the Layout dialog and close it. I don't know if this is related to the same problem.

If you still see error messages, could you reopen and mention them here, please.
Comment 2 Johannes Schmid 2008-03-05 17:19:45 UTC
Hi Murray!

I removed that code on purpose because it's just for creating the default layout which shouldn't be necessary when you can create the by drag & drop (and the default layout will not be want you want in 99% of the cases).

What's broken for me is not the layout but the "List" view. I cannot add/delete/edit any dataset there.
Comment 3 Murray Cumming 2008-03-05 19:59:04 UTC
I think the default layout is a good default for most cases, so I'd like to keep that.

I'll investigate the list view again. Could you please paste those error messages so we know that we are talking about the same thing.
Comment 4 Murray Cumming 2008-03-05 22:34:45 UTC
I investigated. I don't have any problem with adding data in the list view. If you can still reproduce this problem, could you give more precise details, please.
Comment 5 Johannes Schmid 2008-03-06 16:11:32 UTC
Seems, I had some libgda problem (jhbuild vs. system installation) and it works now.

BTW, sorry for sometimes using tabs, all my other project use tabs and sometimes I forget to change the editor settings.