Specifying a "Selection Method" without a location type gives a DB error
Steps to replicate (demo server is fine):
- Create a new mailing.
- Click the wrench next to "Recipients".
- Set a Selection Method other than "Automatic" but do not touch Location Type.
- Attempt to submit the mailing (or press the "X Recipients" to recalculate immediately).
Expected Result: You should be warned that this is an invalid combination.
Actual Result: You will get a "Mailing content is out of date, please refresh" error. When you refresh, it turns into a "DB Error: Syntax Error".
This combination generates invalid SQL - but when I went to fix it, I realized it made no sense to have this particular combination. So we should warn the user what exactly went wrong.