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

Class constants vanish when model is regenerated with --force #1317

Closed
lmfmaier opened this issue Sep 14, 2019 · 1 comment · Fixed by #1498
Closed

Class constants vanish when model is regenerated with --force #1317

lmfmaier opened this issue Sep 14, 2019 · 1 comment · Fixed by #1498

Comments

@lmfmaier
Copy link

Phalcon DevTools Version: 3.4.0
Phalcon Version: 3.4.4

After regenerating a model with phalcon model <model> --force class constants defined at the top of the class definition are gone. Custom class methods and members defined before the regeneration are still there

@BeMySlaveDarlin
Copy link
Contributor

Fixed this bug and some other bugs related to --force

@Jeckerson Jeckerson linked a pull request Mar 22, 2021 that will close this issue
3 tasks
@Jeckerson Jeckerson mentioned this issue Mar 22, 2021
@niden niden moved this to Released in Phalcon v5 Aug 25, 2022
@niden niden added this to Phalcon v5 Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants