Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible Bug with Triggered Events
Hey Dean. Wanted to let you know that there may be a bug in Triggered Events. Specifically, changes to these are not taking unless I save the event, then cycle both CQC services. Was banging my head against the wall trying to find out why some of the triggered events that I am coding were not working so I started putting in System::LogMsg() during the start, middle, and end of the triggers I was developing, and was making various changes to see if the changes would stick. I would save them the test them and I was not seeing the log messages or my changes.

I cycled the CQC services and ran the same tests and the log messages started showing up in the logs and my changes were showing up as well.
Confirmed again. Just make some changes to the triggered event I have been working on. The original had some System::LogMsg() messages. I removed those messages, saved the event, and ran it. The log messages that I removed were still showing up in the logs.

I cycled the CQC services and they are not showing up and the triggered event is working per the changes I made.
Oh, dang. There is such a problem, introduced a few drops back when I made the changes required to get all of the tabs to clear their 'changes' indicator when you do Save All, not just the first one. I fixed it a few days ago and completely forgot about it, so it didn't ring a bell when you mentioned that changes didn't seem to be getting saved yesterday. But yeh, they weren't for events because of the above 'fix'.

When I made the 'I have changes' flag get cleared early enough in the save process to make all the tabs clear, by the time the event editor tab got back from that, it thought it had no changes. They were stored to the Master Server already, but he didn't think he had any changes to push out to the Event Server. So that's why they show up after a restart, because the MS has them, and on a restart the event server will pick them up.

So, anyhoo, that will be fixed in the next drop since it's already taken care of. Sorry I didn't remember that.
Dean Roddey
Explorans limites defectum
Great thanks! Was driving me crazy trying to figure it out.

Possibly Related Threads…
Thread Author Replies Views Last Post
  CQC HTTP Events? bjkiller 26 4,026 01-11-2020, 07:27 AM
Last Post: simplextech
  Scheduled Events Caseta tom 18 1,974 12-22-2019, 07:06 AM
Last Post: Dean Roddey
  Triggered Event on Timer Question znelbok 7 1,010 12-09-2019, 02:10 PM
Last Post: znelbok
  Editing Triggered Events Possibly Causing Kernel Panic/Crash gReatAutomation 6 850 11-08-2019, 01:10 PM
Last Post: Dean Roddey
  Pause / Resume Triggered or Scheduled Actions from the Interface Viewer gReatAutomation 2 614 10-30-2019, 01:38 PM
Last Post: gReatAutomation
  Triggered Event and Standard Triggers gReatAutomation 5 767 08-23-2019, 12:38 PM
Last Post: Dean Roddey
  LogicServer Elapsed Time and Triggered Event gReatAutomation 6 819 08-17-2019, 07:53 AM
Last Post: gReatAutomation
  Scheduled Events - Cannot find the specified path gReatAutomation 4 586 08-16-2019, 12:21 PM
Last Post: Dean Roddey
  Logic Server not sending triggered events znelbok 7 1,810 05-08-2019, 08:13 AM
Last Post: Dean Roddey
  Logic Server bad events rbroders 1 1,210 10-14-2018, 09:59 PM
Last Post: Dean Roddey

Forum Jump:

Users browsing this thread: 2 Guest(s)