[Mono-bugs] [Bug 574235] New: Values do not allow null

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 27 04:00:46 EST 2010



           Summary: Values do not allow null
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Manfred at pp-p.net
         QAContact: Manfred at pp-p.net
          Found By: ---
           Blocker: ---

Description of Problem:
Most of the class properties in UIKit classes do not allow null as value.
This is also true for method parameters.
You should recheck this because a lot of things must be set to null to achive a
desired behaviour.
2 points where I found no workaround:
a.) UITableviewCell - property AccessoryView
b.) NavigationBar - property TintColor
1 point where I could build a workaround
a.) NavigationItem - property TitleView

Steps to reproduce the problem:
1. Create an instance of one of the above classes
2. Try to set the property to null

Actual Results:
An exception "argument null not allowed" is thrown

Expected Results:
The property should be set to null

How often does this happen? 

Additional Information:
Setting such properties to null activates (reactivates) default behaviours.
In the current situation when such a property is set you have no way to come
back to the default behaviour.
A closer description can be found here:

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

More information about the mono-bugs mailing list