jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Padraic I. Hannon" <...@wasabicowboy.com>
Subject Re: [OCM] SimpleFieldHelper emits alot of WARN messages
Date Tue, 11 Sep 2007 16:58:19 GMT
+1 for debug

Felix Meschberger wrote:
> Hi all,
> The SimpleFieldsHelper.retrieveSimpleField method is used to load JCR
> properties into "simple" fields. If a node does not have a mapped
> property, a warning message is emited. I am not sure, whether it is
> actually a problematic situation if a property, which is not mandatory
> does not exist ? In fact, if a property is mandatory, it may or may not
> exist and thus the mapping may be supplied or not.
> What do you think of lowering the severity of this situation to debug ?
> Alternatively (or in addition) the descriptor might be extended such
> that the mapping may declared as mandatory without rquiring the property
> to be mandatory or there might even be some default value specified or
> the SimpleFieldsHelper might access the property definition to see
> whether there is a default value defined ....
> What do you think ?
> Regards
> Felix

View raw message