Bug #20761
closed
Shortcuts broken if current directory is not in include path
Added by Mads Chr. Olesen over 15 years ago.
Updated over 14 years ago.
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
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 :)
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?
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 patch against svn trunk, sending mail to core list.
Committed to svn
trunk rev 7998
4_3 rev 7999
Also available in: Atom
PDF