Roundup Tracker - Issues

Issue 841944

classification
Very forgiving 'get'
Type: rfe Severity: normal
Components: None Versions:
process
Status: closed accepted
:
: jlgijsbers : jlgijsbers
Priority: low :

Created on 2003-11-14 06:35 by jlgijsbers, last changed 2003-11-16 20:02 by jlgijsbers.

Messages
msg3275 Author: [hidden] (jlgijsbers) Date: 2003-11-14 06:35
I would like to see a very forgiving getdefault(). It
would even
return the default if the nodeid or the prop doesn't
exist at
all. It would certainly have simplified some of the
code for RFE     707235. Comments?

Richard: Seems reasonable. It shouldn't be called
"getdefault" though, as that is an existing builtin API
method and ours would be different. How about "safeget"
or similar?
msg3276 Author: [hidden] (jlgijsbers) Date: 2003-11-16 20:02
Logged In: YES 
user_id=469548

Implemented a 'safeget' method on HEAD.
History
Date User Action Args
2003-11-14 06:35:51jlgijsberscreate