cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Pfingsthorn" <m.pfingsth...@hippo.nl>
Subject RE: [jira] Created: (COCOON-1688) Error in the CForms Library samples
Date Fri, 18 Nov 2005 13:05:52 GMT

Sylvain Wallez wrote:
> Joerg Heinicke wrote:
> > Helma van der Linden (JIRA <jira <at> apache.org> writes:
> >
> >   
> >> Error in the CForms Library samples
> >> -----------------------------------
> >>
> >>          URL: http://issues.apache.org/jira/browse/COCOON-1688
> >>
> >> http://cocoon.zones.apache.org/demos/21branch/
> >> samples/blocks/forms/library/form1.flow
> >>
> >> shows: 
> >>
> >> java.lang.Exception: A widget name cannot contain ':' as 
> this conflicts with
> >> library prefixes, at file:/home/cdemos/demos/21branch/BRANCH_2_1_X
> >> 
> /build/webapp/samples/blocks/forms/library/forms/form1_model.xml:24:30
> >> 
> context://samples/blocks/forms/library/forms/form1_model.xml - 24:30
> >>     
> >
> > Wow, such an error in a release! And again it is proved: 
> Never do such an
> > important change in a code freeze period.
> >
> > Is the fix just a matter of the point where the widget 
> names are tested? Does
> > the inheritance from the CForms libraries result in widget 
> names with ':' or are
> > the correctly resolved?
> >
> > IMO we must release 2.1.8.1 as fast as possible.
> >   
> 
> Well, this is for sure a problem, but not that serious IMO as the 
> library stuff is still shaky and subject to changes, and this should 
> only be used by people willing to live on the bleeding edge.
> 

This is a problem with the samples that use the New widget with a direct reference to a class
in a library. Since this situation is error prone anyway, we can forbid it, which not really
a problem. Otherwise, there are no ':'s in widget IDs. I'd say, rewrite the samples or drop
the ones that use this for now as it doesn't break the libraries by themselves.

max
Mime
View raw message