Hi again,

There's currently no validation on the XSDMF ID reference to ensure that the related field is mandatory. If the selected field isn't entered and the record is published, Fez dies with an empty screen and the PHP error:

Fatal error:  Call to a member function getXSD_HTML_Match() on a non-object in /usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php on line 2338

It appears that getDisplay() is logging an error and returning null, however this return value isn't being checked (on an aside and speaking as one who's been programming in Java for the last ten years or so, it would be much more preferable in these situations to throw an exception rather than return special values that need checking and explicit handling).

When Done is selected instead, a bunch of not-incredibly-useful messages display:


Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
The PID archives:11187 does not have an display id (FezMD->xdis_id). This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2668

Backtrace:
The PID archives:11187 has an error getting it's display details. This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2695

Backtrace:
Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
The PID archives:11187 does not have an display id (FezMD->xdis_id). This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2668

Backtrace:
The PID archives:11187 has an error getting it's display details. This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2695

Backtrace:
Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
The PID archives:11187 does not have an display id (FezMD->xdis_id). This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2668

Backtrace:
The PID archives:11187 has an error getting it's display details. This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2695

Backtrace:
Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
Fez cannot display PID archives:11187 because it does not have a display id (FezMD/xdis_id).
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2762

Backtrace:
Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
The PID archives:11187 does not have an display id (FezMD->xdis_id). This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2668

Backtrace:
The PID archives:11187 has an error getting it's display details. This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2695

Backtrace:
Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
The PID archives:11187 does not have an display id (FezMD->xdis_id). This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2668

Backtrace:
The PID archives:11187 has an error getting it's display details. This object is currently in an erroneous state.
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2695

Backtrace:
Record archives:11187 doesn't exist
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2139

Backtrace:
Fez cannot display PID archives:11187 because it does not have a display id (FezMD/xdis_id).
/usr/local/apache2/htdocs/fez_2.0_rc1/include/class.record.php 2762