Loading...
 
Skip to main content

Wiki Structures: TikiLib::create_page: Cannot create page "Foo", it already exists.)

Status
Closed
Subject
Wiki Structures: TikiLib::create_page: Cannot create page "Foo", it already exists.)
Version
20.x
21.x
22.x
23.x
24.x
Category
  • Bug
  • Regression
  • Usability
Feature
Wiki Structure (book & table of content)
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
Jonny Bradley
Lastmod by
Xavier de Pedro
Rating
(1)
Description

Creating a new page (e.g. Foo through the form in the wiki structure top bar produces a missleading error message:

Copy to clipboard
Error. TikiLib::create_page: Cannot create page "Foo", it already exists.)


In addition, another remarksbox is shown below saying:

Copy to clipboard
Success Page Foo saved (version 1).


However, the page is created indeed, and within the structure also.

You can reproduce it here:
http://xavi-9794-7136.show2.tikiwiki.org/tiki-index.php?page=D1+Cover
u: admin
p: 12345

Create a page called foobar (or any other name for a new page inside the structure) and you will see the issue reproduced.
Image

Solution

Fixed in trunk so far 6690c7c2
Backported to 23, 22 & 21 (in 1716872e

Importance
5
Easy to solve?
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7136
Created
Monday 22 July, 2019 10:55:44 UTC
by Xavier de Pedro
LastModif
Saturday 22 January, 2022 22:44:40 UTC


Show PHP error messages