зеркало из https://github.com/mono/mail-archives.git
114 строки
4.1 KiB
HTML
114 строки
4.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 47784][Nor] New - ASP.NET: Unit and FontUnit are not serializable
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="006979.html">
|
|
<LINK REL="Next" HREF="006990.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 47784][Nor] New - ASP.NET: Unit and FontUnit are not serializable
|
|
</H1>
|
|
<B>bugzilla-daemon@bugzilla.ximian.com
|
|
</B>
|
|
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 47784][Nor] New - ASP.NET: Unit and FontUnit are not serializable">bugzilla-daemon@bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Thu, 21 Aug 2003 03:32:50 -0400 (EDT)</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="006979.html">[Mono-bugs] Introduce yourself please
|
|
</A></li>
|
|
<LI> Next message: <A HREF="006990.html">[Mono-bugs] [Bug 47785][Wis] New - delegates not going through RealProxy/Transparent Proxies correctly
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#6986">[ date ]</a>
|
|
<a href="thread.html#6986">[ thread ]</a>
|
|
<a href="subject.html#6986">[ subject ]</a>
|
|
<a href="author.html#6986">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
|
|
URL shown below and enter your comments there.
|
|
|
|
Changed by <A HREF="mailto:eric@veltman.nu.">eric@veltman.nu.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=47784">http://bugzilla.ximian.com/show_bug.cgi?id=47784</A>
|
|
|
|
--- shadow/47784 2003-08-21 03:32:50.000000000 -0400
|
|
+++ shadow/47784.tmp.4014 2003-08-21 03:32:50.000000000 -0400
|
|
@@ -0,0 +1,50 @@
|
|
+Bug#: 47784
|
|
+Product: Mono/Class Libraries
|
|
+Version: unspecified
|
|
+OS: Suse 8.2
|
|
+OS Details:
|
|
+Status: NEW
|
|
+Resolution:
|
|
+Severity:
|
|
+Priority: Normal
|
|
+Component: System.Web
|
|
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+ReportedBy: <A HREF="mailto:eric@veltman.nu">eric@veltman.nu</A>
|
|
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+TargetMilestone: ---
|
|
+URL:
|
|
+Cc:
|
|
+Summary: ASP.NET: Unit and FontUnit are not serializable
|
|
+
|
|
+Description of Problem:
|
|
+When setting f.i. the Width property of a webcontrol or setting the font
|
|
+size of a webcontrol from code an error message about serialization is
|
|
+given.
|
|
+
|
|
+Steps to reproduce the problem:
|
|
+Create simple webform and set the Width and Font.Size property of one of
|
|
+the webcontrols from code.
|
|
+
|
|
+Actual Results:
|
|
+System.Runtime.Serialization.SerializationException: Type
|
|
+System.Web.UI.WebControls.Unit is not marked as Serializable and does not
|
|
+implement ISerializable.
|
|
+
|
|
+or
|
|
+
|
|
+System.Runtime.Serialization.SerializationException: Type
|
|
+System.Web.UI.WebControls.FontUnit is not marked as Serializable and does
|
|
+not implement ISerializable.
|
|
+
|
|
+Expected Results:
|
|
+No error.
|
|
+
|
|
+How often does this happen?
|
|
+Always as far as I know.
|
|
+
|
|
+Additional Information:
|
|
+Using mono 0.26, latest ( 2003-08-21 08:22 ) snapshot from anon CVS.
|
|
+Using mcs 0.26, latest ( 2003-08-21 08:22 ) snapshot from anon CVS.
|
|
+Using xsp 0.5, release version.
|
|
+Adding [Serializable()] just before the class definition in Unit.cs and
|
|
+FontUnit.cs and recompiling the class libraries solves the problem.
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="006979.html">[Mono-bugs] Introduce yourself please
|
|
</A></li>
|
|
<LI> Next message: <A HREF="006990.html">[Mono-bugs] [Bug 47785][Wis] New - delegates not going through RealProxy/Transparent Proxies correctly
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#6986">[ date ]</a>
|
|
<a href="thread.html#6986">[ thread ]</a>
|
|
<a href="subject.html#6986">[ subject ]</a>
|
|
<a href="author.html#6986">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|