Idealize didn't include the Secure module

Bug #506032 reported by Ben Rometsch
6
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.

Revision history for this message
Dave White (dtabwhite) wrote :

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.

Revision history for this message
Guillaume Bort (guillaume-bort) wrote : Re: [Bug 506032] Re: Idealize didn't include the Secure module

Nice thank you.

On Thu, Jan 28, 2010 at 7:09 PM, Dave White <email address hidden> wrote:
> 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.
>
> --
> Idealize didn't include the Secure module
> https://bugs.launchpad.net/bugs/506032
> You received this bug notification because you are subscribed to play
> framework.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.