jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@gmail.com>
Subject Re: [OCM] SimpleFieldHelper emits alot of WARN messages
Date Wed, 12 Sep 2007 06:28:26 GMT
ok.

Regards
Felix

Am Mittwoch, den 12.09.2007, 08:21 +0200 schrieb Christophe Lombart:
> You can apply the patch and after I will start the refactoting.
> 
> Thanks,
> Christophe
> 
> 
> On 9/12/07, Felix Meschberger <fmeschbe@gmail.com> wrote:
> >
> > Hi,
> >
> > Alright then, I will create the JIRA and try to setup a patch.
> >
> > Christophe, as you are currently refactoring the code, shall I just
> > apply the patch or do you want to integrate this in your refactoring
> > work ?
> >
> > Regards
> > Felix
> >
> >
> > Am Dienstag, den 11.09.2007, 22:32 +0200 schrieb Christophe Lombart:
> > > On 9/11/07, Felix Meschberger <fmeschbe@gmail.com> 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 ....
> > >
> > >
> > >
> > > +2  (+1 for the debug, +1 for the  changing a little bit the code and/or
> > > the descriptor).
> >
> >


Mime
View raw message