Deleting and Readding a Network in the same step leads to unpleasent side effects
the sync to core dialog hangs and strange side effects may happen... basically it crashed the client after I tried to readd the net again
Steps to reproduce:
- Delete a network
- Add a network with the same name
- Click Apply
#1 Updated by Sputnick about 13 years ago
This is actually caused by a problem in SqliteStorage. createNetwork() will not create a new network if a net with the same already exists, at least as far as I can see, this is the only place where NetworkName actually has any significance (the insert_network query doesn't seem to check for different network IDs).
Workarounded this problem in the NetworksSettingsPage by reordering operations such that removals will be done before nets are created; still I think this problem needs to be fixed in storage as well.
Reassigning this to EgS, who is our storage wizard :)