#26997ExtDirect API Generator - namespace filter works not expectable
Description
The namespace filter of the ExtDirect API Generator works not expectable as you need to always give the full namespace instead of just a part of it. This is very annoying if you have more than one registered class.
Example:
The following sample code generates the API of the configured registered class with the very same name.
$this->pageRenderer->addExtDirectCode(array('TYPO3.MyKey.RecordLog.DataProvider'));
The much more expectable behaviour would be to just add the TYPO3.MyKey namespace to the filter list and it matches the more specific namespaces above. The fix should be a no-brainer as the parameters of the isFirstPartOfString method seems to be given in a wrong order.
File: class.t3lib_extjs_extdirectapi.php
Function: findNamespace
Code:
if (t3lib_div::isFirstPartOfStr($filter, $namespace)) {Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.