Comment 2 for bug 1588606

Revision history for this message
Robert Lyon (robertl-9) wrote :

To test:

Make a new site and then try and edit the Administration -> Configure site -> Pages Group homepage template

you should get an error
[WAR] 80 (lib/errors.php:796) Failed to get a recordset: postgres8 error: [-2: ERROR: syntax error at or near "LIMIT"
LINE 1: SELECT * FROM "group" WHERE "id" = ? LIMIT 2
                                              ^] in EXECUTE("SELECT * FROM "group" WHERE "id" = ? LIMIT 2")
Command was: SELECT * FROM "group" WHERE "id" = ?

This is due to trying to get a group with no id: get_record("group", "id", null) at ../htdocs/view/blocks.php:92