PHP Notice when adding a new Wiki page

366
Defect
Erwin
Jack
3.2.2
3.2.1
Wiki
Fixed
Normal
Normal
4 years ago
3 years ago
0

Description

When you create a new page in the project Wiki, you can get a PHP Notice message.

To reproduce this, go to the Wiki of your project. Then click on the "Pages" tab, then click on the "New page" link on the right. You will then get the following notice on the top of the page:

Notice: Undefined index: slug in D:\wamp\www\traq32\vendor\traq\controllers\wiki.php on line 97 Call Stack: 0.0006 369808 1. {main}() D:\wamp\www\traq32\index.php:0 0.0326 1490808 2. avalon\core\Kernel::run() D:\wamp\www\traq32\index.php:29 0.0491 2033840 3. call_user_func_array() D:\wamp\www\traq32\vendor\avalon\core\kernel.php:78 0.0492 2033976 4. traq\controllers\Wiki->action_new() D:\wamp\www\traq32\vendor\avalon\core\kernel.php:78 

The URL for this page on my local installation is http://localhost/traq32/traduction-traq/wiki/_new

I'm running Traq 3.2.1 with WAMP 2.2E on Windows 7: - PHP 5.3.13 - MySQL 5.5.24 - Apache 2.2.22

Ticket History

4 years and 2 months ago by Jack

  • Set Component to Wiki
  • Closed ticket as Fixed
  • Assigned ticket to Jack