[google-appengine] Re: LinkProperty and Null/None values.

2009-03-02 Thread Bill
Ian, This is by design and one of my peeves at the moment. A number of the datastore properties will throw an exception when given None values, so it makes them useless for storing optional properties. I think I ran into the same problem with LinkProperty and EmailProperty. The general

[google-appengine] Re: LinkProperty and Null/None values.

2009-03-02 Thread Ian Lewis
Bill, Agreed. But if it's by design then is there a design that says so? like documentation? Otherwise I might consider it a bug. Ian On Tue, Mar 3, 2009 at 4:34 AM, Bill billk...@gmail.com wrote: Ian, This is by design and one of my peeves at the moment. A number of the datastore

[google-appengine] Re: LinkProperty and Null/None values.

2009-03-02 Thread Bill
I've seen at least one Google team member in this forum saying that's the way it is and use string if you want it to be None. That doesn't prevent us, though, from starting an issue: http://code.google.com/p/googleappengine/issues/detail?id=1117 Star it if you'd like the default behavior to

[google-appengine] Re: LinkProperty and Null/None values.

2009-03-02 Thread Ian Lewis
Thanks for creating the issue Bill. On Tue, Mar 3, 2009 at 2:19 PM, Bill billk...@gmail.com wrote: I've seen at least one Google team member in this forum saying that's the way it is and use string if you want it to be None. That doesn't prevent us, though, from starting an issue: