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 673256 - Unhandled value-type in properties dialog.
Unhandled value-type in properties dialog.
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2012-03-31 19:49 UTC by Andreas J. Guelzow
Modified: 2012-04-01 09:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2012-03-31 19:49:54 UTC
When opening objs.xls, the last property is imported with an invalid value type:

Breakpoint 1, cb_dialog_doc_metadata_tree_prop_selected (selection=0x8c78cf0, state=0x8c4d548)
    at dialog-doc-metadata.c:1578
1578				if (val_type == GSF_DOCPROP_VECTOR_TYPE) {
(gdb) p val_type
$1 = 0
(gdb) p prop_name
$2 = (gchar *) 0x89ee9a8 "msole:unknown-doc-23"
(gdb) 

This prevents it from being edited in the file->DocumentProperties dialog.

It is exported as
<meta:user-defined meta:name="msole:unknown-doc-23" meta:value-type="float">657985</meta:user-defined>

so possibly the error lies somewhere else but in the import.
Comment 1 Andreas J. Guelzow 2012-03-31 20:09:55 UTC
This is not an import pronblem, but we do not recognize the value type in dialog_doc_metadata_get_value_type and set in to UNKNOWN:

Breakpoint 2, dialog_doc_metadata_get_value_type (value=0x8c49ab8) at dialog-doc-metadata.c:248
248		GType val_type = G_VALUE_TYPE (value);
(gdb) n
250		switch (val_type) {
(gdb) p val_type
$1 = 60
(gdb)
Comment 2 Andreas J. Guelzow 2012-04-01 09:21:02 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.