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

I just found the fix was not complete, I cannot edit issue to re-open it. Can you reopen-it? #4400

Closed
Artic6 opened this issue Jun 13, 2024 · 14 comments

Comments

@Artic6
Copy link

Artic6 commented Jun 13, 2024

          I just found the fix was not complete, I cannot edit issue to re-open it. Can you reopen-it?

My fix is working when editing components on the dashboard. But when creating incidents, components are also updated, and email are sent

Originally posted by @ppomes in #4395 (comment)

ppomes pushed a commit to ppomes/cachet that referenced this issue Jun 13, 2024
@Artic6
Copy link
Author

Artic6 commented Jun 14, 2024

Just to be clear on the requirement because this is caught me up before with issues

When you are sending an incident update and you change the status of a component I do not want those emails going to subscribers, what happens is when you have an incident update and you degrade a component? You get a component update change email you also get the actual updates that the subscribers want to read.

Then when the incident is over and resolved and change the component state back to resolved you get two further emails one with the resolved status and then another stating that the component has been updated

When sending out incident you should only be getting the instant updates you’re sending and not the additional component update emails

I originally had an issue for this but it got closed as been fixed when it’s not actually been fixed which is why it’s reopened

jbrooksuk added a commit that referenced this issue Jun 14, 2024
Issue #4400 - No component email on incident creation/update
@Artic6
Copy link
Author

Artic6 commented Jun 21, 2024

Any updates on this?

what I’m trying to turn off as I’ve said before is when you send an incident I don’t also want the component status changes emails going

@ppomes
Copy link

ppomes commented Jun 21, 2024

Waiting to #4403 to be merged to have a full working code.

@Jamesking56, can you have a look at this PR ?

Thanks !

@Artic6
Copy link
Author

Artic6 commented Jun 21, 2024 via email

@ppomes
Copy link

ppomes commented Jun 21, 2024

Three solutions in the meanwhile:

@Jamesking56
Copy link
Contributor

Waiting to #4403 to be merged to have a full working code.

@Jamesking56, can you have a look at this PR ?

Thanks !

Did you mean to ping me or the other James 🤣

@ppomes
Copy link

ppomes commented Jun 21, 2024

Waiting to #4403 to be merged to have a full working code.
@Jamesking56, can you have a look at this PR ?
Thanks !

Did you mean to ping me or the other James 🤣

Lol !!! Sorry, I meant @jbrooksuk ;-)

@Artic6
Copy link
Author

Artic6 commented Jun 23, 2024

I took a look at the file referenced in your code update and I don’t seem to have this bit

function postUpdateComponent(Component $component)

it looks like you want some lines from that code removing?

@Artic6
Copy link
Author

Artic6 commented Jul 5, 2024

Has this been fixed now - if so how can I get the updated code ?

@ppomes
Copy link

ppomes commented Jul 5, 2024

Please have a look and try https://github.com/ppomes/cachet - This will help to test if the fix is ok.

@Artic6
Copy link
Author

Artic6 commented Jul 5, 2024 via email

@ppomes
Copy link

ppomes commented Jul 5, 2024

You can switch between both versions without any config or db loss.

@Artic6
Copy link
Author

Artic6 commented Jul 5, 2024 via email

@Artic6
Copy link
Author

Artic6 commented Jul 5, 2024

solved by @ppomes

@Artic6 Artic6 closed this as completed Jul 5, 2024
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

3 participants