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

Version 2.11.0+ compatibility #11

Merged
merged 1 commit into from
Aug 25, 2022
Merged

Conversation

MegaphoneJon
Copy link
Contributor

@MegaphoneJon MegaphoneJon commented Jul 1, 2022

I don't know enough about the Icingaweb ecosystem to know if we need to provide backward compatibility, or whether we can tag a new release that's only compatible w/ 2.11.0+ - so this may be insufficient. But at least this should be helpful to anyone else who has Icingaweb2 troubles on upgrade to 2.11.

fixes #10

@cla-bot
Copy link

cla-bot bot commented Jul 1, 2022

Thank you for your pull request. Before we can look at it, you'll need to sign a Contributor License Agreement (CLA).

Please follow instructions at https://icinga.com/company/contributor-agreement to sign the CLA.

After that, please reply here with a comment and we'll verify.

Contributors that have not signed yet: @MegaphoneJon

  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Please contact us if you think this is the case.

  • If you signed the CLA as a corporation, your GitHub username may not have been submitted to us. Please reach out to the responsible person in your organization.

@MegaphoneJon
Copy link
Contributor Author

I've signed the CLA.

@bobapple
Copy link
Member

bobapple commented Jul 4, 2022

@cla-bot check

@cla-bot cla-bot bot added the cla/signed label Jul 4, 2022
@sylvainfaivre
Copy link

I can confirm that this fixed the problem for me.

module.info Outdated
@@ -4,4 +4,4 @@ Description: Generic Trouble Ticket System connection module
This module allows to easily link issue/ticket numbers in your Icinga
acknowledgement or downtime comments. Configure a pattern matching
your ticket numbers and a URL with placeholders. Please note that
Icinga Web 2 version 2.3.0 is required at least to run this module.
Icinga Web 2 version 2.11.0 is required at least to run this module.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
You do not have to change the version requirement for Icinga Web 2. This hook is also available in earlier versions and even in v2.3.0.

@brenard
Copy link

brenard commented Jul 27, 2022

I can confirm that this fixed the problem for me.

Same here. Thank you for this PR.

@lippserd lippserd added this to the 2.1.0 milestone Aug 25, 2022
Import `Icinga\Application\Hook\TicketHook` instead of `Icinga\Web\Hook\TicketHook` in `Ticket` class.
As `Icinga\Web\Hook\TicketHook` has been deprecated since Icinga Web 2 v2.11.0.

Co-authored-by: Ravi Kumar Kempapura Srinivasa <[email protected]>
@raviks789 raviks789 merged commit c225deb into Icinga:master Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incompatible with Icinga Web 2.11
6 participants