Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Director basket stack overflow on object name collision #2892

Open
w1ll-i-code opened this issue Jul 17, 2024 · 1 comment
Open

Director basket stack overflow on object name collision #2892

w1ll-i-code opened this issue Jul 17, 2024 · 1 comment

Comments

@w1ll-i-code
Copy link

Expected Behavior

I want to import a valid configuration that I have exported already as a basket.

Current Behavior

If the NotificationTemplate and Notification both have the same name and do not already exist in the director the import will fail.

Steps to Reproduce (for bugs)

icingacli director basket restore < director-basket-test.json

Your Environment

  • Director version (System - About): 1.11.1
  • Icinga Web 2 version and modules (System - About): 2.10.5
  • Icinga 2 version (icinga2 --version): 2.14.2
  • Operating System and version: Red Hat Enterprise Linux release 8.10 (Ootpa)
  • Webserver, PHP versions: 7.4.33

director-exception.stderr.log
director-exception.stdout.log
director-basket-test.json

@raviks789
Copy link
Collaborator

@w1ll-i-code Could you let me know how the notification with the same name as its template was created before a basket snapshot for the corresponding was created? As director currently does not allow to create a notification with the same name as its template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants