symphonycms/symphony-2 — Issue #891: When I try to create a page which name is a number, I get an error
Author: kanduvisla
Created: 2011-11-11 12:42:08+00:00
State: open

When I try to create a page with a name like '404' for example, I get the following error:

Column 'page_id' cannot be null
An error occurred while attempting to execute the following query
INSERT INTO `sym_pages_types` (`page_id`, `type`) VALUES (NULL, 'hidden')
Backtrace:
[(...)/public_html/symphony/lib/toolkit/class.mysql.php:463] MySQL->__error();
[(...)/public_html/symphony/lib/toolkit/class.mysql.php:546] MySQL->query();
[(...)/public_html/symphony/content/content.blueprintspages.php:944] MySQL->insert();
[(...)/public_html/symphony/content/content.blueprintspages.php:661] contentBlueprintsPages->__actionEdit();
[(...)/public_html/symphony/lib/toolkit/class.administrationpage.php:440] contentBlueprintsPages->__actionNew();
[(...)/public_html/symphony/lib/toolkit/class.administrationpage.php:409] AdministrationPage->__switchboard();
[(...)/public_html/symphony/lib/toolkit/class.administrationpage.php:242] AdministrationPage->action();
[(...)/public_html/symphony/lib/core/class.administration.php:230] AdministrationPage->build();
[(...)/public_html/symphony/lib/core/class.administration.php:383] Administration->__buildPage();
[(...)/public_html/index.php:25] Administration->display();

This affects S2.2.3