Objectlib.php force itemId from select in tiki_objects table to be "INT" but this is not true for wiki pages (in this case, itemId is the name from the page).
It worked when function get_object was changed to:
function get_object($type, $itemId) {
$query = 'select * from `tiki_objects` where `itemId`=? and `type`=?';
if ($type "wiki page" or $type "wikipage" or $type == "wiki_page") {
$result = $this->query($query,array($itemId, $type));
} else {
$result = $this->query($query,arrayint) $itemId, $type;
}
return $result->fetchRow();
}
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |