appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.63k stars 3.74k forks source link

[Bug]: On page load function call is not running and function setting is not retained when function name is changed #24870

Open AnandiKulkarni opened 1 year ago

AnandiKulkarni commented 1 year ago

Is there an existing issue for this?

Description

  1. On page load function call - toast message is not appearing , if you go to canvas toast message is displayed

steps: add two async function, update the setting on page load = yes, verify on editor toast message for successful Observation1 : function run is displayed but on canvas its not displayed observation 2: when you navigate to second jsboject and do the page refresh, toast messages for function run is displayed

https://github.com/appsmithorg/appsmith/assets/80756091/87776e91-8dbd-49f8-8c26-0593a3fd1858

  1. Setting on page load = yes is updated when function name is changed entirely setting for the function is updated but few adding/remove char in function name does not change the settings of the function

Uploading Screen Recording 2023-06-27 at 4.26.24 PM.mov…

Steps To Reproduce

  1. Add the async function and add on pageload = yes and verify the toast message
  2. Add the function and check the setting page change the name by adding few char in the function name verify the settings for the function, update entire function name and verify the setting for the function

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

cloud

Druthi commented 1 year ago

This seems to have been changed with this fix