Re: Serious bug writing to a database ...

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41803
interpreted = N
texte = The issues mentioned below was fixed for the final WebDNA 4.5 release, as mentioned in the technical change history....http://betadoc.smithmicro.com/WebDNA%20Change%20History.html> -----Original Message----- > From: WebCatalog Talk > [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf > Of Donovan > Sent: Monday, July 22, 2002 6:40 AM > To: WebCatalog Talk > Subject: Re: Serious bug writing to a database ... > > > 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 NAME > 2 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, > Donovan > > > > > Kenneth 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/------------------------------------------------------------- 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:

    
  1. Re: Serious bug writing to a database ... (Kenneth Grome 2002)
  2. Re: Serious bug writing to a database ... (Scott Anderson 2002)
  3. Re: Serious bug writing to a database ... (Dale Therio 2002)
  4. Re: Serious bug writing to a database ... (Donovan 2002)
  5. Re: Serious bug writing to a database ... (dsmith7 2002)
  6. Re: Serious bug writing to a database ... (Kenneth Grome 2002)
  7. Re: Serious bug writing to a database ... (Bob Minor 2002)
  8. Re: Serious bug writing to a database ... (Donovan 2002)
  9. Re: Serious bug writing to a database ... (Andrew Simpson 2002)
  10. Re: Serious bug writing to a database ... (Alain Russell 2002)
  11. Serious bug writing to a database ... (Kenneth Grome 2002)
The issues mentioned below was fixed for the final WebDNA 4.5 release, as mentioned in the Technical Change History....http://betadoc.smithmicro.com/WebDNA%20Change%20History.html> -----Original Message----- > From: WebCatalog Talk > [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf > Of Donovan > Sent: Monday, July 22, 2002 6:40 AM > To: WebCatalog Talk > Subject: Re: Serious bug writing to a database ... > > > 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 NAME > 2 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, > Donovan > > > > > Kenneth 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/------------------------------------------------------------- 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/ Scott Anderson

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:

Trouble with carts (2000) Thanks Grant (1997) emailer settings and control questions (1997) RE: URL too Long? (1997) Online reference (1997) Date Formats (1997) Multiple SSL Keys (1998) easy numfound search? (2001) Template not completely processed (1998) Credit Card Number checking (1997) HomePage Caution (1997) Date Formats (1997) first time using webcats sendmail option (2001) Cookie Question (1999) OT: Photo Resources (2002) whole word search bringing irrelevant results.. (2000) The Classifieds template set (2003) WebCat2b13MacPlugin - nested [xxx] contexts (1997) Preventing code execution (2003) [OT] What System Software? (2003)