[Mono-bugs] [Bug 615320] New: Can't serialize relative System.Uri objects

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 17 20:39:12 EDT 2010



           Summary: Can't serialize relative System.Uri objects
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: greg.smolyn at strangeloopnetworks.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=369918)
 --> (http://bugzilla.novell.com/attachment.cgi?id=369918)
Patch to allow System.Uri class to properly serialize when it represents a
relative url

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us)
AppleWebKit/534.1+ (KHTML, like Gecko) Version/5.0 Safari/533.16

Trying to serialize / deserialize a relative URI fails.
GetObjectData throws an exception because it attempts to access a property that
only exists for absolute urls.

This works fine under MS.NET.

We have attached a patch to mono 2.6.4

Reproducible: Always

Steps to Reproduce:

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

More information about the mono-bugs mailing list