[Chandler-dev] DefaultValue on displayName: not yet

Bryan Stearns stearns at osafoundation.org
Mon Nov 20 14:06:42 PST 2006


In IRC last Thursday (at 15:18 in 
http://wiki.osafoundation.org/script/getIrcTranscript.cgi?date=20061117), 
I offered to add a defaultValue (u"") to ContentItem.displayName... 
unfortunately, I ran into problems:

- TestXMLCompatibility.py failed because it still thinks that mail 
messages have a 'subject' attribute, though we now redirect it to 
displayName.

- It appears that there are several places where 'subject' is 
special-cased in osaf/sharing/formats.py.

- Getting rid of 'subject' looks like a sharing-format change?

Because I haven't been able to figure out how to fix the special cases, 
and since this isn't in the way of any of my alpha5 stuff, I'm going to 
punt on displayName's defaultValue for now. If you (Morgen) want to take 
a shot at this along with the other sharing format stuff that's coming 
up, that'd be great...

...Bryan



More information about the chandler-dev mailing list