tag:blogger.com,1999:blog-7664597274807100637.post6476243284673745352..comments2024-03-28T07:20:42.033+00:00Comments on Kaffee und: [Kuchen]: Seaside 2.9: Exception HandlingJulian Fitzellhttp://www.blogger.com/profile/15210699321250607163noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7664597274807100637.post-38995741519702409722009-08-03T17:20:27.340+01:002009-08-03T17:20:27.340+01:00We don't plan to revert the refactoring, no. S...We don't plan to revert the refactoring, no. Splitting exception handling into a filter rather than duplicating it in every request handler is sound. Clearly work still needs to be done in configuration area, though, and we know this.<br /><br />The UI has only been modified the minimum necessary to make things work but is certainly no longer intuitive and needs work. The admin tools need to be improved so that common operations (like switching between deployment and development settings) are made easier.<br /><br />We could probably add #exceptionHandler: to WAEntryPoint or something to make this particular change easier from a Workspace.<br /><br />Finally, I have occasionally thought about keeping the configurations centralized in WAEntryPoint and having other things pull their values from there, but this is problematic in the case of, for example, WACache, which is used by both WAApplication and WASession. Both instances need the same configuration. How do you distinguish between them if they are stored in the Application?<br /><br />Anyway, we know this is a pain point. Partly we're waiting to see how much of that is just that it's new and different, partly we're waiting for tools to catch up, and partly we're using it and getting feedback to see what else can be done.Julian Fitzellhttps://www.blogger.com/profile/15210699321250607163noreply@blogger.comtag:blogger.com,1999:blog-7664597274807100637.post-36326485999604879552009-08-03T16:11:51.235+01:002009-08-03T16:11:51.235+01:00i've just tried to set a different error handl...i've just tried to set a different error handler in an application. In the configuration dialog i could find a way to do so but your example to do:<br /><br />app preferencesAt: #exceptionHandler put: WADebugErrorHandler<br /><br />doesn't work in Seaside 2.9a4. it seems only possible on the application's exception-filter (via "configuration at:.."). <br />Splitting the configuration into cache, filter, application is a bit confusing. Do you plan to revert the behavior to what you explained in this post? Would be great if the application's configuration could be done with #preferenceAt:put: instead of querying for the filters/caches etc.<br /><br />KarstenUnknownhttps://www.blogger.com/profile/13125261266313171921noreply@blogger.com