[patch] Update default_<enum> options in trac.ini when enum value is updated/deleted
|Reported by:||ebray||Owned by:|
I had a user complained that he deleted a component, but that the component was still showing up as the default when creating new tickets.
I explained that this is the expected behavior, since the default_component is still set to that component, causing it to be displayed. But he pointed it that it's somewhat user-hostile to keep a default_component setting for a component that no longer exists, and I'm inclined to agree.
Likewise the default_ setting should be updated when an enum value is updated.