If you add a new location, clear the "Location name" field and try to add a printer by pressing "Add printer", the popup closes. The expected behavior is probably that you should be able to add printers before you decide on a name. Since you haven't pressed "Save" yet, I would expect to be able to edit the location as I please.
Created attachment 1120 [details] Patch that enables adding printer if location name is empty With this patch, you can add printers even if the location name is empty. Additionally, the popup no longer incorrectly closes upon errors (bug 8103 comment 7). However, with the patch, there are two remaining minor issues: Can get ugly random name ------------------------ 1. Clicking "Add new location" 2. Clearing the "Location name" field 3. Pressing "Add printer" 4. You now get an ugly random name, like "__new_entry_36988". The Locations/Terminals page behaves better in this scenario, you get to keep the empty name field when doing the same steps. Possible to get locked location name ------------------------------------ 1. Clicking "Add new location" 2. Clearing the "Location name" field 3. Pressing "Add printer 4. Pressing "Add printer" again 5. You now get a locked "Location name" field which you can't change.