mhirdes / go_maps_ext

Google Maps Extension for TYPO3
MIT License
21 stars 31 forks source link

class.tx_gomapsext_tca.php not loaded, when using Composer #9

Closed InvisibleKind closed 9 years ago

InvisibleKind commented 9 years ago

When creating/editing record, no map is shown in BE.

In addition I'm getting such a message in BE, when trying to edit record:

TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction No class named tx_gomapsext_tca

The reason is, that file is not auto-loaded by Composer.

Workaround: add autoload-files section

"autoload": {
         "files": ["www/typo3conf/ext/go_maps_ext/class.tx_gomapsext_tca.php"]
    },

Better fix: make this file follow psr-4 and be located in "Classes\" folder.

InvisibleKind commented 9 years ago

And, actually same is with FE, because composer.json form extension missing "autoload" section at all.

mhirdes commented 9 years ago

is fixed