Revision 449a85cf
Added by Marc Dequènes about 14 years ago
- ID 449a85cff196f12d68e3a69c286b76898abc4a0a
bin/shadowwalker | ||
---|---|---|
unless item.has_field?(field_name)
|
||
raise PreProcessingError, _("No such field '%s' in object '%s'") % [field_name, obj_klass.handle]
|
||
end
|
||
unless item.attribute_present?(field_name)
|
||
raise PreProcessingError, _("Field '%s' in item '%s' is not present") %
|
||
[field_name, item.full_handle]
|
||
end
|
||
|
||
field_data = item.send(field_name, true)
|
||
|
Also available in: Unified diff
[evol] virtual attributes support §3 (TextUI can fetch specific vattr) (refs #141)