cachet icon indicating copy to clipboard operation
cachet copied to clipboard

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

Open Artic6 opened this issue 1 year ago • 8 comments

          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 https://github.com/cachethq/cachet/issues/4395#issuecomment-2166550590

Artic6 avatar Jun 13 '24 18:06 Artic6

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

Artic6 avatar Jun 14 '24 05:06 Artic6

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

Artic6 avatar Jun 21 '24 09:06 Artic6

Waiting to https://github.com/cachethq/cachet/pull/4403 to be merged to have a full working code.

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

Thanks !

ppomes avatar Jun 21 '24 12:06 ppomes

Am I able to manually make the change if you give me the code updates?

Lee Croucher * 🐻| @.** | w:https://a6n.co.uk http://www.a6n.co.uk/ http://facebook.com/artic6 http://us.linkedin.com/in/artic6 http://twitter.com/artic6 http://flickr.com/photos/croucher_lee http://itunes.apple.com/app/artic6 http://drive.google.com/artic6

On Fri, 21 Jun 2024 at 13:18, Pierre POMES @.***> wrote:

Waiting to #4403 https://github.com/cachethq/cachet/pull/4403 to be merged to have a full working code.

@Jamesking56 https://github.com/Jamesking56, can you have a look at this PR ?

Thanks !

— Reply to this email directly, view it on GitHub https://github.com/cachethq/cachet/issues/4400#issuecomment-2182643543, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7S754GRAHHMA4MSZKQZDZIQK2HAVCNFSM6AAAAABJI7CKTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGY2DGNJUGM . You are receiving this because you authored the thread.Message ID: @.***>

Artic6 avatar Jun 21 '24 12:06 Artic6

Three solutions in the meanwhile:

  • The code update is in the PR, you can apply the same diff.
  • You can clone https://github.com/ppomes/cachet
  • If you are using Docker, you can pull hudson13/ppomescachet:2.4.1-20240614-1447

ppomes avatar Jun 21 '24 12:06 ppomes

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 🤣

Jamesking56 avatar Jun 21 '24 13:06 Jamesking56

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 ;-)

ppomes avatar Jun 21 '24 13:06 ppomes

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 avatar Jun 23 '24 07:06 Artic6

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

Artic6 avatar Jul 05 '24 10:07 Artic6

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

ppomes avatar Jul 05 '24 11:07 ppomes

If I clean up and reconfigure my environment variables Will all my configuration remain the same?

I just want to check it will, but I’m sure it will because that’s all controlled with the database?

Regards,

Lee Croucher

📧: @.*** 🚦: http://a6n.co.uk

On Fri, 5 Jul 2024 at 12:55, Pierre POMES @.***> wrote:

Please have a look and try https://github.com/ppomes/cachet.

— Reply to this email directly, view it on GitHub https://github.com/cachethq/cachet/issues/4400#issuecomment-2210743152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7S7ZCFIOMZFSWPUBH2WLZK2CTRAVCNFSM6AAAAABJI7CKTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQG42DGMJVGI . You are receiving this because you authored the thread.Message ID: @.***>

Artic6 avatar Jul 05 '24 11:07 Artic6

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

ppomes avatar Jul 05 '24 12:07 ppomes

Thanks thanks works as intended

Artic6 avatar Jul 05 '24 12:07 Artic6

solved by @ppomes

Artic6 avatar Jul 05 '24 12:07 Artic6