SC api executed directly when selected

Wappler Version : beta 3
Operating System : mac
Server Model: node
Database Type:
Hosting Type:

Expected behavior

The server api should NOT execute when selected in the editor

Actual behavior

The server connect api executes and runs its actions.

How to reproduce

Because of the logging bug, I do not have a debug, so I created this video to demonstrate. The mail api just sends a test email:

In the following video, I select the mail api in the editor (the preview option is not on) and I immediately receive the test email. I then revert to another api, and reselect the mail api and again, receive the test email.

Ken this is because you don’t have the “No auto load” checked - so as soon as you select a server connect action it will be loaded by design view to show its data:

Seems obvious when you say it. :slight_smile:

I guess I have never had any issue with it before because, as you say, most of these will be selects to retrieve data, not inserts, deletes, etc. I just happened to pick something that started sending me emails, so it surprised me.

I agree though…not a bug

1 Like