"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
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.
To post a comment you must log in.
I've committed a fix based on regexp. Thanks for the report and the patch.