DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue when creating private event

Hi all, 

 

I've encountered something like this issue before, though hadn't properly characterized it. Posting here in case it is something anyone else has had to deal with / knows a solution.

 

When trying to create a new private event with no arguments, I get an error and the action does not complete, and leaves an empty new event case. It might be worth noting that I had previously created a private event on this module without issue, and it seems I can create a private event on any other DQMH module in my project without issue. 

 

hutchforth_0-1718393857333.png

 

 

In addition to not completing, the event of one of my existing event cases for a different request has been overwritten to use the newly created event...  (The event I'm creating is called "Auto Start", the event that got its event case messed with was called "Set Output"

 

 

hutchforth_1-1718393895532.png

 

If I revert changes via git to cleanup the partially created files and make it a public request instead, I have no issues at all. This is somewhat anecdotal but I think when encountering this issue in the past it has always been when trying to create private events. 

 

Any thoughts much appreciated, let me know if I can provide any additional information. 

 

H

 

 

 

0 Kudos
Message 1 of 8
(355 Views)

This has been reported to the DQMH Consortium as Issue #935. It is likely happening because you have wired multiple items to the Register For Events node for the Helper Loop. Can you confirm that you have multiple sources wired to the helper loop Register For Events node other than the module's Request events cluster?

0 Kudos
Message 2 of 8
(295 Views)

Hi Darren, 

 

I'm afraid that so far I have had no instance where I have wired additional sources to the helper loops Register For Events node in any module within this project, so I assume there must be some other cause. 

 

hutchforth_0-1718814920633.png

 

Best regards,

 

H

 

0 Kudos
Message 3 of 8
(288 Views)

Is your helper loop a Timed Loop? Because that's definitely not a configuration that was tested or considered supported by DQMH scripting.

0 Kudos
Message 4 of 8
(283 Views)

The timed loop came after, and I have experienced the issue previously in other modules without the timed loop. 

 

I'll see if reverting to a regular loop in this instance makes any difference to confirm though.

0 Kudos
Message 5 of 8
(273 Views)

If you can reproduce it without the Timed Loop, and if you're able to share a project with me (through a forum DM), that would help the DQMH Consortium with investigating the issue.

0 Kudos
Message 6 of 8
(271 Views)

Also not sure if its worth highlighting, the event being created is handled in the main MHL, not the helper loop. 

 

While this is in my screenshots I didn't state it explicitly. 

0 Kudos
Message 7 of 8
(266 Views)

Not sure what changed but I was able to create a private event when I tried to replicate just now in the following cases:

 

  • Created a private request "Auto" handled by the MHL with a regular loop as the helper loop
  • Created a private request "Auto" handled by the MHL with a timed loop as the helper loop

 

I've been doing other work since this last occurred so I'm not sure at what point in my repo the problem originally occurred. If it occurs again going forward I will keep track of the actual commit so hopefully I can replicate more easily. 

 

Apologies for the lack of extra info for the time being, I will update this thread again if I am able to gather more comprehensive info / steps for replication. 

0 Kudos
Message 8 of 8
(260 Views)