#103: Namespace field not populated in wiki templates
Issue revisions
- new by Markus Wolff at 2009-N-09 9:44
- new by Kore Nordmann at 2010-F-15 17:02
- assigned by Kore Nordmann at 2010-M-01 9:36
- closed by Kore Nordmann at 2010-M-01 19:52
| Type | |
|---|---|
| State | |
| Priority | |
| Resolution | |
| Assigned to | Kore Nordmann |
| Scheduled for | 0.3-alpha |
| Affected versions | Latest SVN |
| Affected components | Modules / Wiki |
| Last change | Monday 1 March 2010 19:52:40 UTC by Kore Nordmann |
Short description
I am trying to modify the email templates for the wiki module, so that each mail contains a link to the modified wiki page. To do that, I need to access the "namespace" property of the page object. This doesn't seem to be populated, though.
Environment
Ubuntu 9.04, PHP 5.3, CouchDB 0.9.1
Steps to reproduce
-
Turn on Wiki page notifications
-
Create or modify a wiki page
Expected behavior
The first line in the notification mail should be something like:
Wiki page 'Test1' in namespace 'myWikiName' has been modified by mwolff
Actual behavior
The first line in the notification mail is:
Wiki page 'Test1' in namespace '' has been modified by mwolff
The namespace is empty. This is in both new.tpl and edited.tpl. While writing this, I just saw that in new.tpl the name of the user who created the page is also not populated:
New wiki page created by '' in namespace ''
Kore Nordmann at Monday 15 February 2010 17:02:38 UTC
Scheduled for 0.3-alpha.
Kore Nordmann at Monday 1 March 2010 19:52:40 UTC
Fixed in revision #1638.