Gossamer Forum
Home : Products : DBMan : Discussions :

bug in modify/delete?

Quote Reply
bug in modify/delete?
If you don't select a record after searching to modify (or delete), you still get taken to the record form page, which is then blank. Isn't the error code in sub html_modify_form_record

if (!%rec) { &html_modify_failure("unable to find record/no record specified: $in{'modify'}"); return; }

supposed to prevent this?
Quote Reply
Re: [pfarman] bug in modify/delete? In reply to
Yes, it does...however, if you look in the sub html_modify_failure, you should see the following line of codes:

Quote:

|; &html_record_form (%rec); print qq|


If you simply want to show the error message, you can remove these codes and the record form will not load...it is not a bug, BTW.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [pfarman] bug in modify/delete? In reply to
Doh! Thanks, Chewy.
Quote Reply
Re: [pfarman] bug in modify/delete? In reply to
You're welcome.
========================================
Buh Bye!

Cheers,
Me