> > Then I delete a row in Company table that is linked to an employee in > another table. > Run the employee page (that lists them). > Got an error There is no method > #<STANDARD-GENERIC-FUNCTION WEBLOCKS-CLSQL-DEMO::COMPANY-NAME (1)> > when called with arguments (NIL). > > Then simply create the GF for the value nil
> The web-server (hunchentoot) running the weblocks demo becomes > unresponsive, until restarted. > > If you mean that page hangs, then you're probably in debug mode, and your lisp is displaying a stacktrace to help you debug the error. And you can fix it live, and then the page will render (if the browser hasn't already timed out). This is a GOOD thing. > Is this normal? Should'nt it just show empty field, or give a record not > found runtime error to the user, instead > of throwing an error condtion and halting the webserver. > > It hasn't halted the webserver. If you open another tab to the same site (localhost?) the webserver wll spin up another thread to service the new request. Unless you are running a single-threaded lisp, which I would wager you are doing. > Does that mean that unless all parts of a web application are written very > carefully, making sure that all error exceptions/conditions > are caught, a single runtime error can make the webserver stuck. > > I don't even know how to respond to this. If you want help please thoroughly describe your stack (OS, lisp, libraries etc). -- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
