Loading...
 
Skip to main content

6.x: accepting a structure sent between tikis fails (column 'page_alias' cannot be null)

Status
Closed
Subject
6.x: accepting a structure sent between tikis fails (column 'page_alias' cannot be null)
Version
6.x
Category
  • Error
Resolution status
Fix on the Way
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

After sending a structure between 2 tiki sites (using the send pages features between tikis, xmlrpc, etc), once I clicked on the button to accept the received structure in the target tiki site, I got this error:

Copy to clipboard
Column 'page_alias' cannot be null The query was: insert into `tiki_structures`(`parent_id`,`page_id`,`page_alias`,`pos`, `structure_id`) values(?,?,?,?,?) Values: 0 70 1 0 The built query was likely: insert into `tiki_structures`(`parent_id`,`page_id`,`page_alias`,`pos`, `structure_id`) values('0','70',NULL,'1','0')


Both tiki sites are running recent proposals_6x

The url on the target tiki was:
tiki-received_pages.php?offset=0&sort_mode=receivedDate_desc&accept=1

Solution
fix in commit 34939 (trunk) and backported to 7.x and proposals/6.x. Thanks sylvieg
Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3911
Created
Friday 03 June, 2011 16:43:31 UTC
by Xavier de Pedro
LastModif
Wednesday 15 June, 2011 17:05:53 UTC


Show PHP error messages