[Mono-bugs] [Bug 338324] [Regression] Banshee can't make a dbus connection to helix

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 5 11:08:08 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=338324#c6


Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |RESOLVED
         Resolution|                                                |INVALID




--- Comment #6 from Robert Jordan <robertj at gmx.net>  2007-11-05 09:08:08 MST ---
Another try (sorry, I got a new keyboard ;-):

The exception is caused by a bug in dbus-sharp 0.3.1
that was fixed in later versions:

                internal static DType TypeToDType (Type type)
                {
..
                        if (type.IsEnum)
                                return TypeToDType (type.GetElementType ());

..
                }

Starting with Mono r86944, Type.GetElementType () returns null
when called on types != array. This is the expected behavior.

The dbus code was changed to call Enum.GetUnderlyingType. That's why
the exception doesn't occur in later versions.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list