[req] if a user has a None property, fall back to the default
This can happen for InternalManager; the normal CWUser implementation of
property_value already has a similar fallback. Related to #3381521
--- a/req.py Tue Dec 17 11:50:12 2013 +0100
+++ b/req.py Tue Dec 17 11:50:31 2013 +0100
@@ -111,7 +111,9 @@
user specific value if any, else using site value
"""
if self.user:
- return self.user.property_value(key)
+ val = self.user.property_value(key)
+ if val is not None:
+ return val
return self.vreg.property_value(key)
def etype_rset(self, etype, size=1):