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

--haveBackend creates Models with broken Classname #154

Open
pascalheidmann-bedarf opened this issue Mar 12, 2019 · 0 comments
Open

--haveBackend creates Models with broken Classname #154

pascalheidmann-bedarf opened this issue Mar 12, 2019 · 0 comments

Comments

@pascalheidmann-bedarf
Copy link

When running php sw.phar plugin:create --haveBackend --haveModels "Foobar" I will get a request to specify the main model name. Entering something like "Bar" creates a model with following file name:
'plugin:create' --haveBackend --haveModels Foobar.php instead of just Bar.php.
Same goes for the Classname and the database table itself.

References for the model in the backend controller are broken too.

Leaving out the backend solves the problem.

It seems that this is related to #108 which had a similar problem.

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

No branches or pull requests

1 participant