On Monday 07 January 2008 11:55:25 Raymond Bosman wrote:
> On Friday 04 January 2008 14:43, Kore Nordmann wrote:
> > Hi list,
> >
> > By updateing the components in a personal project I found a regression
> > in the tempalte componente between the versions 1.1 and 1.2, and opened
> > an issue for this:
> >
> > http://issues.ez.no/12322
> >
> > I wonder if this is really a bug, or a intentionally introduced change?
> > Either way it breaks quite a lot templates in my application, as I rely
> > on this old behaviour.
>
> Hi Kore,
>
> It was never the intention to make $a->$b work. An explicit error message
> was unfortunately missing in earlier versions.
>
> The problem is that you use it in a lot of templates and therefore the
> Template component broke backward compatibility.
>
> I have to check the impact of allowing $a->$b, first.  If the change is not
> too big I think we have to allow it.
>
> Amos, you wrote the original design document of the template component. Do
> you see any problems when we allow this behavior?

The original design did not allow it, only a literal on the right side. See 
design/design.txt in template component, it does not mention that it is 
invalid syntax but as long as it is not mentioned in this design document it 
was not considered valid.
So it is not a bug that it no longer works, it was a bug that it did work 
earlier.
Allowing this should be considered for some future version, maybe together 
with any other syntax changes (if needed).

-- 
Jan Borsodi
Core Development
[EMAIL PROTECTED] | eZ systems | http://www.ez.no
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to