Re: Serious bug writing to a database ...
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41785
interpreted = N
texte = Ken, I believe something related came up a while back and Scott knows about it.We did a series of tests where if you had a db like:ID
CAT_ID NAME2 1 FRED 1 1 JOHN your database, and you did a search like:[search db=testdb.db&eqCAT_IDdatarq=1&eqIDdatarq=1][founditems][name] [/founditems][/search]It should return just JOHN, right.?It doesn't. It returns both Fred and John.Scott, is this fixed in version 5?thanks,DonovanKenneth Grome wrote:> I found a serious bug in webcat. It writes data to the wrong db> field sometimes!>> My form has a resumeEmail field, but my db has a resumeEmail1> field -- and these field names are NOT the same. Nevertheless,> webcat writes the form field value to the resumeEmail1.>> This is bad because webcat should never write data to any db field> unless the field names match exactly. And in this case they do not> match, which leads me to the conclusion that this is a bug.>> Sincerely,> Kenneth Grome>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Ken, I believe something related came up a while back and Scott knows about it.We did a series of tests where if you had a db like:ID CAT_ID NAME2 1 FRED 1 1 JOHN your database, and you did a search like:[search db=testdb.db&eqCAT_IDdatarq=1&eqIDdatarq=1][founditems][name] [/founditems][/search]It should return just JOHN, right.?It doesn't. It returns both Fred and John.Scott, is this fixed in version 5?thanks,DonovanKenneth Grome wrote:> I found a serious bug in webcat. It writes data to the wrong db> field sometimes!>> My form has a resumeEmail field, but my db has a resumeEmail1> field -- and these field names are NOT the same. Nevertheless,> webcat writes the form field value to the resumeEmail1.>> This is bad because webcat should never write data to any db field> unless the field names match exactly. And in this case they do not> match, which leads me to the conclusion that this is a bug.>> Sincerely,> Kenneth Grome>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Donovan
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Multiply prices (1997)
Keep away (1997)
WebCat for Unix?? (1997)
[WriteFile] problems (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Sorting Numbers (1997)
ShowNext & Showif together (1999)
WCS Newbie question (1997)
CommitDatabase vs. CloseDatabase (2001)
errormessages.db (1997)
Change Subtotal (2000)
[format 40s]text[/format] doesn't work (1997)
Re:WebCatalog f2 Installation (1997)
WC2b15 File Corruption (1997)
Redirect and passing more than one variable... (2002)
Writing to PDF (2003)
2nd Request for help/advice on variable pricing + MORE (2000)
Shipcost Based on SubTotal (1998)
[Webcat 2]Next (1997)
Search design (1997)