Mail notification not showing wiki page name and url
- Status
- Open
- Subject
- Mail notification not showing wiki page name and url
- Version
- 6.x
- Category
- Error
- Feature
- Wiki (page view, edit, history, rename, etc)
Watch (email notifications of changes) - Resolution status
- New
- Submitted by
- gcosilveira
- Lastmod by
- gcosilveira
- Rating
- Description
- Mail notification not showing wiki page name and url.Problem in objectlib.php.
- Solution
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();
}- Importance
- 6
- Priority
- 30
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3869
- Created
- Wednesday 04 May, 2011 19:49:05 UTC
by gcosilveira - LastModif
- Wednesday 04 May, 2011 19:49:05 UTC