You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ℹ️ Please use project Discover Regenerative (Macdoch pt 2): 3. Open Source Tech Evolution to track work on this issue.
Description
Some people manage to click the button to connect the Discover Regenerative app twice. It then creates two Connected App records and triggers two webhooks which can create two entries in the portal database.
I think that this happens when the server is busy or the connection is slow. The button is turned into a disabled "Loading" button with a delay and that delay can be longer when the server is busy, allowing for multiple clicks.
We should disable the button after clicking straight away.
Expected Behavior
You can click the button only once.
Actual Behaviour
You can click the button multiple times. The slower the server responds, the more often you can click it.
Steps to Reproduce
Turn on feature for connected apps.
Go to enterprise settings and connected apps.
Click on the connect button many times as fast as possible.
Check the webhook executions in n8n.
Animated Gif/Screenshot
Workaround
Severity
Your Environment
Version used:
Browser name and version:
Operating System and version (desktop or mobile):
Possible Fix
Add JS to disable button.
Replace StimulusReflex with Turbo.
The text was updated successfully, but these errors were encountered:
mkllnk
added
the
bug-s3
The bug is stopping a critical or non-critical feature but there is a usable workaround.
label
May 14, 2024
ℹ️ Please use project Discover Regenerative (Macdoch pt 2): 3. Open Source Tech Evolution to track work on this issue.
Description
Some people manage to click the button to connect the Discover Regenerative app twice. It then creates two Connected App records and triggers two webhooks which can create two entries in the portal database.
I think that this happens when the server is busy or the connection is slow. The button is turned into a disabled "Loading" button with a delay and that delay can be longer when the server is busy, allowing for multiple clicks.
We should disable the button after clicking straight away.
Expected Behavior
You can click the button only once.
Actual Behaviour
You can click the button multiple times. The slower the server responds, the more often you can click it.
Steps to Reproduce
Animated Gif/Screenshot
Workaround
Severity
Your Environment
Possible Fix
The text was updated successfully, but these errors were encountered: