Idealize didn't include the Secure module
Bug #506032 reported by
Ben Rometsch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Undecided
|
Unassigned | |||
1.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I made an Intellij project with the idealize command. The project makes use of the secure module, but the source code for the secure module was not included. The other module (CRUD) had its source imported correctly.
To post a comment you must log in.
I've see what I think is the same issue with the idealize command and I have a proposed fix. It looks like if you specify more than one module in you application.conf file, then run:
> play idealize
You will only get the first module referenced in the resulting generated Idea module .iml file. The problem appears to be because of this line in the play Python script (line 1002 in Play 1.0.1):
replaceAll(imlFile, r'%LINKS%', lXML)
It looks like this line is indented to far so that is is in the context of the for loop above it, which is looping over the list of modules and building up the lXML string. Unindenting the line on level seems to fix the problem.