-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
[Gii] Crud Generator table name 'd_xxxx' is wrong #397
Comments
Related commit: yiisoft/yii2@7c04ff0#diff-cc9bfd727870423bb306f65b04c230d4R102 I added a strict param to |
Just confirmed it. Passing strict as |
@machour Please think about making this an optional param for the generator as it might break existing CRUDs if they are regenerated. There are use-cases where you want the current behavior. |
Oh, I thought that yiisoft/yii2@7c04ff0 broke BC and I was restoring it in #398, I didn't see that it was from 2014 :) Would you expose this new parameter in cli & ui, or just allow to configure it through DI? |
To me DI would be enough to cover this edge-case |
We're going to release 2.1 version so some minor BC breaks should be OK. |
What steps will reproduce the problem?
table name is d_polri
using Gii
it's OK, but result for name folder view is 'dpolri' not 'd-polri'
so when it's accessed url is not found
What is the expected result?
page index
What do you get instead?
rename folder view dpolri to d-polri
Additional info
The text was updated successfully, but these errors were encountered: