Discard Server Action keeps changes made to a database action Bug Report from aschoijett #2020-3-5_20-58-14

OS info

  • Operating System : Windows 10.0.18363
  • Wappler Version : 2.7.1

Problem description

I think that if I’m editing a server action, the behaviour of the Discard button s/b to ignore any changes since the last Save.
That, however, is not the case.
If I make changes to a database action (e.g. an insert or an update) and click OK on the modal, discarding the server action preserves the changes made to the database insert.

Steps to reproduce

  1. Create a server action

  2. Add database connection

  3. Add Database Insert

  4. Edit the database insert

  5. Select the database table

  6. Put values to the table fields

  7. Click OK

  8. Click save server action

  9. Edit the server action

  10. Open the database insert step

  11. Make changes to it

  12. Click OK

  13. Discard the server action edits

If you go back to the database insert step, you will see that it has not gone back to the state it was in my step 8.

Hope this helps,

Alex

1 Like