Red Hat Bugzilla – Bug 732831
Drift configuration names could increment to prevent common error creating 2nd drift configuration
Last modified: 2011-11-02 12:00:36 EDT
Description of problem: Drift configuration names could increment to prevent common error creating 2nd drift configuration. For example, the 1st drift configuration is named "File System". When you create a 2nd drift configuration, it is named "File System" as well ... and there is an EJB error ... and you have to start all over again. It would be better if the 2nd drift configuration were named "File System 2" or some other unique name.
Steps to Reproduce:
1. create 2 file system drift configuration
error creating 2nd drift configuration due to the name not being unique
default path thru wizard works every time.
I think we may want to change the title of this bug. The problem is that drift configuration names for a resource have to be unique. I do not think we are enforcing that right now. If someone creates two drift configs for the same resource with the same name, bad things could happen particularly on the agent side because the agent already assumes that names are unique. I am upping the severity to high.
+1 this is working as expected. Unless there is something we're missing,
Whoops, updated wrong BZ, setting back to New...
As an aside, I think the behavior here has been improved already in that
I think you must edit the template name prior to save. Also, template
names have been improved.
I had previously set the severity on this to high because I thought that we could wind up with multiple definitions belonging to the same resource and having the same name. That would be bad, but after further testing yesterday, I found that we do in fact prevent multiple definitions with the same name. Given that, I am downgrading the priority and severity to low.