Revision f25d0aed
Added by Marc Dequènes over 14 years ago
- ID f25d0aed079fd07a63406f33f9080966e6a84151
lib/ldap_shadows/shadow.rb | ||
---|---|---|
end
|
||
|
||
def cast
|
||
if @cast
|
||
raise PreProcessingError, _("SHadow '%s' already initialized") % @name
|
||
end
|
||
|
||
@container_elements.each_value do |e_models|
|
||
e_models.each_value do |e_klass|
|
||
e_klass.cast
|
||
... | ... | |
e_klass.cast_relations
|
||
end
|
||
end
|
||
|
||
@cast = true
|
||
end
|
||
|
||
def objects
|
Also available in: Unified diff
[fix/evol] ensure a shadow/object/aspect is not cast(/post-cast) multiple times, and btw correct the raise_error() method