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

play could be more restrictive about combinations that make no sense #10

Open
alexlehm opened this issue Nov 5, 2010 · 0 comments
Open

Comments

@alexlehm
Copy link

alexlehm commented Nov 5, 2010

Framework version: play 1.1rc3, gae-head
Platform you're using: windows xp, java 1.6.0-22

Reproduction steps:

I spent a while trying to track down an error 500 on GAE, which in the end was an option I had still in the conf file for a normal database integration (db=mem).
This means that play tries to initialize a database which causes a security error on google, but it works in dev mode since there is no security restriction.
I think it would be better to have deploy or even the run command fail when the combination of features doesn't make sense or will not work.

Something similar happened before when I had an @entity annotation still in the model code, this caused JPA exception, a combination that also doesn't make sense I assume (that was much easier to find since it also happened in DEV mode, but it would also be better to get a warning or an error in that case that explains that the options do not fit together).

simplysoft pushed a commit to simplysoft/play-gae that referenced this issue Jan 7, 2016
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