Bug #347
Duplication ignored when host/service with the same name exists
| Status: | New | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | CentCore | |||
| Target version: | Centreon-2.2 | |||
| Resolution: |
Description
When trying to duplicate a host or a service in Centreon's front end (ex.: duplicating service example_service), a new host/service is created with suffix +1_ (ex.: new service is example_service_1).
If a host/service with the same destination name exists (ex.: service example_service_1 already exists before duplication), the duplication does not do anything.
This case occur frequently when you duplicate several time the same host/service and omit to change the option field to create more than one duplicate at a time.
The expected behaviour should be I think to create example_service_2 if example_service_1 already exists.