Hi guys,

A while back I tried PHPTAL 1.2.0 alpha.

I found most of it worked apart from a few things listed below.

I posted this a back in March but have not seen any comments in relation to these as yet.

Have others noticed these and/or have any of them been addresses?

1) The xml parser stops completely if it finds a doubly defined attribute like class="" and style="". Previously it would use just the last one defined.

2) The error reporting is great in that it tells me the source file the exact tag and the exact attribute it didn't like, however:

The srcLine of such errors is off. Look down about 8 lines and you will find it.

3) This strange line in the legacy code I inherited tries to define values and display them:
<span tal:condition="php:col_name=='Office'"
tal:define="resp_office offices/${one_row/RESPONSIBLE_OFFICE} | false; resp_person loggedByList/${one_row/RESPONSIBLE_PERSON}/nameclipped | false">${resp_office} ${resp_person}</span>

Previously this gives a result like 'Houston Bob Smith' but now gives 'Houston 0 Bob Smith 0'


PHPTAL mailing list

Reply via email to