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 530220 - SMB module uses NULL fallback MIME type
SMB module uses NULL fallback MIME type
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Module: smb
2.22.x
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
gnome[unmaintained]
Depends on:
Blocks: 522534
 
 
Reported: 2008-04-27 16:37 UTC by Christian Neumair
Modified: 2018-08-17 13:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Proposed patch (688 bytes, patch)
2008-04-27 16:38 UTC, Christian Neumair
none Details | Review

Description Christian Neumair 2008-04-27 16:37:57 UTC
The SMB module sets a GnomeVFSFileInfo's MIME type to NULL if it can not determine the MIME type from name, and sets the info's GNOME_VFS_FILE_INFO_FIELDS_MIME_TYPE to TRUE at the same time.

Instead, it should fallback to GNOME_VFS_MIME_TYPE_UNKNOWN.

This bug triggers the Nautilus crasher #522534.
Comment 1 Christian Neumair 2008-04-27 16:38:46 UTC
Created attachment 109994 [details] [review]
Proposed patch
Comment 2 Hans Petter Jansson 2008-05-08 04:54:15 UTC
For what it's worth, that patch looks good to me. I don't have gnome-vfs maintainer powers, though.
Comment 3 André Klapper 2018-08-17 13:53:07 UTC
gnome-vfs got deprecated in 2008.

gnome-vfs is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-vfs/commits/master

gio (in glib) and gvfs are its successors. See https://developer.gnome.org/gio/stable/ch33.html and https://people.gnome.org/~gicmo/gio-migration-guide/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of glib/gio/gvfs. Thanks!