Please record another video, running without the debugger active, showing the next steps:

  1. Show DB table for Sesion
  2. Click the button. It should run without alert being shown. Sesion should get created.
  3. Show DB table for Sesion again. The newly createdSesion should be there.
  4. Click the button again (I guess this will try to create a duplicated session). The alert should show now. No new Sesion should be created.
  5. Show DB table for Sesion again. No newSesion should be there.

If what’s described in previous steps don’t happen as expected, show logs