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

Install for test environment fails: #59

Closed
dimonixx opened this issue Jan 10, 2018 · 7 comments
Closed

Install for test environment fails: #59

dimonixx opened this issue Jan 10, 2018 · 7 comments

Comments

@dimonixx
Copy link

OroCommerce version 1.5.1

app/console oro:install --drop-database --env=test

fails on Oro\Bundle\TestFrameworkBundle\Migrations\Schema\OroTestFrameworkBundleInstaller migration with following error:
ERROR: Table "oro_ext_testentity1" has more than 1 class. Use "getEntityClassesByTableNames" method instead.

@manowark
Copy link
Contributor

Hi, @dimonixx.
Thank you for reporting the issue! We greatly appreciate all contributions to Oro projects.
I created internal task to fix this problem (INTERNAL ID: BAP-16343).

Also please clear app/cache/test folder in your application to solve this problem.
It described in https://oroinc.com/doc/orocommerce/current/install-upgrade/installation#re-installation and applicable for test environment too.

@dimonixx
Copy link
Author

Hi @manowark ,

i've tried to clear cache, but this did not help.

@manowark
Copy link
Contributor

Command app/console cache:clear will not help. You must have clear cache folder. Just use rm -rf app/cache/test in cli.

@dimonixx
Copy link
Author

dimonixx commented Jan 11, 2018

i've tried exactly the way , you describe - got the same error.
What else could cause this issue ?

@manowark
Copy link
Contributor

All from the list?

  1. Create new clear database.
  2. Empty the /app/cache/test directory.
  3. Clear the Installed option in the app/config/parameters_test.yml file and update the database name, if necessary.

If it will not help, please provide step by step manual how I can reproduce that issue like you. Because I did all rules from list and never see that problem.

@dimonixx
Copy link
Author

I will try it once more :)

I have also never seen this problem till yesterday.

@manowark
Copy link
Contributor

I am now closing this issue as it has been inactive for a while. Please, feel free to reopen it if you have any questions.

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

No branches or pull requests

3 participants