125
Views
3
Comments
[SyncProgressMessage] Error message
Question
syncprogressmessage
Mobile icon
Forge asset by Miguel Amado

I like this component; but i think there must be a check wether ther is a listener avalable, before message is broadcast. Now i get this message:

Invalid call of the 'RefreshMessage' client action of the 'MainFlow.SyncFirstTime' since the latter is not currently active. This is likely due to a platform's client action being used as an event handler or in a setTimeout function.

2022-08-02 11-27-20
Miguel Amado
Staff

Thanks Matthias for the feedback.

I've released a new version of the component.

I've cleaned the code a little bit, and there is a new action verifying if the function exists, not doing the invalid call.

Hope it helps.

2024-12-17 14-32-59
Matthias Preuter
 
MVP

I still get the above errormessage: 

Invalid call of the 'RefreshMessage' client action of the 'MainFlow.SyncFirstTime' since the latter is not currently active. This is likely due to a platform's client action being used as an event handler or in a setTimeout function. Consider removing this call by using the 'On Destroy' event of the screen/block or moving your logic to a global client action.

2022-08-02 11-27-20
Miguel Amado
Staff

Matthias Preuter wrote:

I still get the above errormessage: 

Invalid call of the 'RefreshMessage' client action of the 'MainFlow.SyncFirstTime' since the latter is not currently active. This is likely due to a platform's client action being used as an event handler or in a setTimeout function. Consider removing this call by using the 'On Destroy' event of the screen/block or moving your logic to a global client action.

Hello Matthias,

Can you send me an OML with this occurring for me to check what's happening ? 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.