Re: Jamm errors
Tom Diehl <[email protected]> Sun, 31 Oct 2004 15:25:04 -0500 (EST)
| Newsgroups | gmane.mail.jamm.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 31 Oct 2004, André Schild wrote: > Tom Diehl wrote: > > >Hi all, > > > >I was wondering if there is any work being done to improve the error handeling > >in Jamm? I find that if I make some kind of error during data entry I either > >get the Jamm error page that tells me to contact my administrator or try > >again later or I get a tomcat error page. Neither of which help me diagnose > >the problem. > > > >For instance, I was cutting and pasting new users into Jamm and I accidently > >got a space in front of the email address. Jamm took the entry OK but I noticed > >that the active check box was unchecked. I checked it and hit apply and I got > >a tomcat error page referring me to the tomcat logs. Not a useful error IMO. > >I then tried to go back into the account and I got the Jamm error page that > >tells me to try again later. Again not useful. In order to fix the problem > >I had to go into ldap directly and rm the extra space. Obviously, if this > >were to happen to one of my users they would not be able to fix it them self. > > > >Since a space is illegal in an email address anyway, can Jamm look for > >spaces and other illegal characters in the email address and give a meaningful > >error please? > > > > > There are a lot of other possible invalid addresses. > For our own email address validator we use the clases from james with > very good success. > > http://james.apache.org/ > > *org.apache.mailet.MailAddress > > * OK, but that is not my point. What I am trying to say is, if Jamm is going to choke, it needs to choke in a meaningful way. If one of my users had done this it would have driven me crazy trying to figure out what was wrong. The error returned from jamm is "unknown error please try again later" or something similar. Well trying again later is not going to make the problem go away. Quite frankley I do not know what the right answer for this is but in its current form it is confusing at the very least. In addition there was no chance to even fix it in Jamm. Trying to go back and edit the address or even deleting it resulted in errors. I had to go into ldap directly to rm the space. If I can enter it in the UI, I should be able to delete it or Jamm should not accept it in the first place, otherwise I consider it a bug. Regards, Tom ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click