"play" python script fails to read property values from application.conf when there is a space between key and equals sign

Bug #516114 reported by Oded Peer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
play framework
Status tracked in 1.0
1.0
Fix Released
Undecided
Erwan Loisant
1.1
Fix Committed
Undecided
Erwan Loisant

Bug Description

"play" python script fails to read property values from application.conf when there is a space between key and equals sign.

E.g.
Change the property "http.port" in application.conf to 9001, while using valid Java-style properties syntax (note the spaces surrounding the equals sign)
http.port = 9001

start play using "play start"
issue a status command using "play status", error occurs "Cannot contact the application..."
stop the server using "play stop"

Remove the spaces surrounding the equals sign to
http.port = 9001

retry the above steps, this time the "status" command succeeds.

Revision history for this message
Oded Peer (oded-50) wrote :
Revision history for this message
Erwan Loisant (eloisant) wrote :

I've committed a fix based on regexp. Thanks for the report and the patch.

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.