fatmcgav / fatmcgav-glassfish

Rewritten Glassfish module to improve functionality and support.
http://github.com/fatmcgav/fatmcgav-glassfish
GNU General Public License v3.0
6 stars 31 forks source link

Fix empty mailuser to javamailresource #56

Closed zwant closed 8 years ago

zwant commented 8 years ago

There is a bug in the javamailresource, where if you don't pass "mailuser", it will try and pass that with no arguments. This makes the argument after it freak out and asadmin will complain about it missing.

This PR fixes that issue, adds tests for the javamailresource and also fixes a small bug I found in the stripping of lines in the exists clause in javamailresource.