gibilogic / tinymce-bundle

Bundle for connecting TinyMCE (WYSIWYG editor) to your Symfony2 project
7 stars 5 forks source link

Error on composer install #4

Closed Ingannatore closed 9 years ago

Ingannatore commented 9 years ago

After launching the command

php composer.phar install

in the project folder, I get the following output:

Writing lock file Generating autoload files Class Stfalcon\Bundle\TinymceBundle\Composer\ScriptHandler is not autoloadable, can not call post-install-cmd script

RubenHarms commented 9 years ago

I never wrote a post-install-cmd script, but maybe its related to #3

Ingannatore commented 9 years ago

It's not your fault: I tried that before your pull request; it seems it's an autoloading-related problem.

RubenHarms commented 9 years ago

Ah okay, i got that.

RubenHarms commented 9 years ago

I can't reproduce the bug! Did you tried to remove from composer and re-add it again?

Ingannatore commented 9 years ago

Can you confirm me if inside your test the symlink has been successfully created?

RubenHarms commented 9 years ago

I can't confirm that. After removing the symlink it did not came back. The TinymceSymlinkCommand works fine. It's the ScriptHandler!

Ingannatore commented 9 years ago

I agree: by switching to psr-4 autoloading both the post-install and post-update commands work but they both terminate with an exception.

I'm closing this ticket and then I'll create a new one for that exception. @RubenHarms: thanks for your help :)