Ticket #1240 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

asgard: saving host gives "Given name is already taken, try '<SOME HOST NAME - 002>"

Reported by: netblade Assigned to: rambo
Priority: blocker Milestone: 8.09.6 Ragnaroek
Component: MidCOM component Version: 8.09 Ragnaroek
Keywords: Cc:

Description

If I have multiple hosts with same name and different prefixes, saving one gives error "Given name is already taken, try 'ragnaroek.local-002'"

This is totally a wrong place to check the this kind of stuff. And even if there would be some config option for this, why it isn't disabled by default for this case.

Change History

06/30/09 15:06:01 changed by rambo

  • priority changed from critical to blocker.
  • status changed from new to assigned.
  • component changed from MidCOM core to MidCOM component.
  • summary changed from saving host gives "Given name is already taken, try '<SOME HOST NAME - 002>" to asgard: saving host gives "Given name is already taken, try '<SOME HOST NAME - 002>".

It's reflection based, the checks are done for all objects that have name property.

Why there is no exception configured by default: because no-one ran into this before now and even a world-class genius like me can miss details sometimes.

06/30/09 15:09:09 changed by rambo

(In [22741]) skip name uniqueness checks for hosts, refs #1240

06/30/09 15:14:07 changed by rambo

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [22743]) forward port r22741, fixes #1240