Bug #20761
closedShortcuts broken if current directory is not in include path
0%
Description
If the current directory is not in the include path, shortcuts cannot be created due to a failing require_once.
The attached simple patch (patching typo3/classes/class.shortcutmenu.php) fixes the issue.
(issue imported from #M11543)
Files
Updated by Chris topher over 14 years ago
Hi Mads,
to get your patch integrated, please send it to the Core List!
Check out http://typo3.org/teams/core/core-mailinglist-rules/
Updated by Steffen Gebert over 14 years ago
Can you give me a hint, how to reproduce this?
Could you please also check this with TYPO3 4.3? As we have the autoloader there, classes not included, yet, should become available magically :)
Updated by Mads Chr. Olesen over 14 years ago
To reproduce:
Try to create a short-cut. When opening the short-cut menu at the top, it will simply display the string "LOADING", and there will be an error in the error_log.
Reproduced on Typo3 4.3.1
I'm not sure i fully understand the development model - should I send this simple one line patch (the change and problem is quite evident by looking at it) to the mailing list?
Are patches in the bugtracker not monitored?
Updated by Steffen Gebert over 14 years ago
First, you should always use the most recent version (4.3.3 currently). But it's currently there, also in trunk (which will be released as 4.4.0 tomorrow).
To make sure, it gets included, you have to send it to the core list (please follow the rules: http://typo3.org/teams/core/core-mailinglist-rules/)
There's no garantuee that anybody sends your patches.
Before sending, please also change the patch according to the Coding Guide Lines and add spaces around the "." after PATH_typo3.
Updated by Mads Chr. Olesen over 14 years ago
Updated patch against svn trunk, sending mail to core list.
Updated by Steffen Kamper over 14 years ago
Committed to svn
trunk rev 7998
4_3 rev 7999