While I was looking at Bug #25094: Discovery rule form fails silently if the taxonomy is not selected - Discovery - Foreman, I realized there might be other components too where we need to associate taxonomies.
My observation, a lot of times we forget to fill in taxonomies in certain components and then press the submit button and things seem to work fine, but after some time when we try to use that component somewhere else, it simply fails without an error. Later after we see the logs, we realize that it was due to not associating location and organization.
An example to this is the Subnets, while creating a subnet if we dont select an org/loc, the subnet is still created but provisioning can not be performed without specifying the org/log in the subnet.
Is the issue (Bug #25094: Discovery rule form fails silently if the taxonomy is not selected - Discovery - Foreman) a specific case or does this happen in a generic manner. If it does then I shall look forward to fix this in the core, else I can just add a warning in Discovery