Manuel Lemos, 2006-04-06 08:00 GMT
|A new version of Metastorage was
released introducing several fixes to generate PHP code compliant with
PHP 4.4 changes. Other bugs were also fixed in this release.
- PHP 4.4 compliance fixes
PHP 4.4 introduced some backwards incompatible changes that only allow
returning objects by reference from variable expressions.
This release of Metastorage generates changed versions of certain types of
functions that return objects by reference. The object return values of
such functions are assigned to variables first. Then the functions return
the variables reference values.
The affected types of functions are getobject and
getallobjects of the factory classes, and getreference
and getcollection of the persistent object classes.
- Other bug fixes
This release also include several other bug fixes. Defining all persistent
object classes in separate files referenced with the
includedclass tag is allowed now. The list of tables in SQL
queries of OQL expressions with not in operators was also
corrected. The encoding of 8 bit characters used in definition files was