Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

パッケージ版でbin/console listでエラーが表示される #3944

Open
chihiro-adachi opened this issue Oct 22, 2018 · 1 comment
Open
Labels
Milestone

Comments

@chihiro-adachi
Copy link
Contributor

概要(Overview)

パッケージ版で bin/console list実行時に、以下のエラーが表示される

In getGeneratorService.php line 8:
                                                                                                                                                          
  Attempted to load class "Generator" from namespace "Eccube\Tests\Fixture".                                                                              
  Did you forget a "use" statement for e.g. "Symfony\Bundle\MakerBundle\Generator", "Sensio\Bundle\GeneratorBundle\Generator\Generator" or "Faker\Genera  
  tor"? 

https://github.com/EC-CUBE/ec-cube/blob/4.0/app/config/eccube/packages/dev/generator.yaml

APP_ENV=dev時、Generatorのサービス定義を行っているが、パッケージ版にはtests以下のコードは同梱されないため。

期待する内容(Expect) or 要望 (Requirement)

  • エラーが表示されないこと

再現手順(Procedure)

  • パッケージ版をダウンロード/インストール
  • bin/console listを実行
  • 概要のエラーが表示される

環境 (environment)

  • EC-CUBE: 4.0.0
  • PHP: x.x.x
  • DB:
    • PostgreSQL x.x.x
    • MySQL x.x.x

関連情報 (Ref)

@xuelian311
Copy link
Contributor

@chihiro-adachi #3919 で実装を検討するため、本issueはクローズしてもよいでしょうか?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants