Skip to Content
WebObjects® Developer's Guide
book

WebObjects® Developer's Guide

by Ravi Mendis
June 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
7h 48m
English
Sams
Content preview from WebObjects® Developer's Guide

Fixing Bugs

In this section we'll look at how to debug and bug fix an application. Often during the user testing, or predeployment stage, you will find bugs that have been brought to your attention. If you're lucky this will be before you launch your site or application.

So, we'll look at some techniques to isolate and fix these problems.

Tightening Validation Rules

Remember that when we developed the object model for the online forum, we relaxed the validation policy to allow null for most attributes.

In particular, there are some attributes that we really shouldn't allow null. A topic without a name is meaningless. Similarly, a post ought to have a message.

So, open the model files from the framework project and uncheck the allows null setting ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real World XML

Real World XML

Steven Holzner
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 0672323265Purchase book