when adding a page with the same name as a previously added page, an error occurs

romca - September 18, 2007 - 10:34
Project:Pageroute
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,
thanks for this super module. There is a small issue with adding pages:

user warning: Duplicate entry '1-webform' for key 1 query: INSERT INTO pageroute_pages (prid, name, title, weight, type, options) VALUES(1, 'webform', 'Dotazník', 0, 'view', 'a:4:{s:9:\"activated\";i:1;s:7:\"forward\";s:7:\"Forward\";s:4:\"back\";s:4:\"Back\";s:3:\"nid\";s:2:\"31\";}') in C:\dev\xampp\htdocs\d52\includes\database.mysql.inc on line 172.

previously, I added a new "Add node" type with a name "webform", then I deactivated it and added a new page of type "Node view" with the same name "webform"

 
 

Drupal is a registered trademark of Dries Buytaert.