Re: Date search bug

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17621
interpreted = N
texte = Try this. It may or may not solve the problem, I have experienced problem when defining a field name similar to a reserved word. In this case, the problem could lie[accdate]contains [date] which is reserved.try to use [accddd] or something like that and see if this possible bug will go awayNelsonGil Poulsen wrote:> Ken commented on this privately earlier, but I wanted to bring it back to the > list now because it appears to be a legitimate bug. > > Using WebCat plug-in 2.1.3; WebSTAR 3.0 with plenty of RAM allocated, the > following search context in one of my templates causes WebSTAR to choke for > 2-3 seconds, and then crash completely: > >
> Search the access log by date:       >
> > When I remove the &accdatetype=date from the search context, it processes it > in less than a second and doesn't crash WebSTAR. Otherwise, it takes 1-2 > seconds to return or it crashes completely. It seems to be searching fine > without the type=date. The accdate field is in the form of mm/dd/yyyy. > > As Ken noted, this type of search will work properly without defining the > field as a type=date, but other searches will not. The database only has about > 100 entries in it at this point, certainly nowhere near large enough to stall > WebCat. I thought 2.1.3 might fix the problem, but it made no difference. > > -- > Gil Poulsen, Webmaster > > ************************************************************** > * AltiM@c * Phone: (732) 469-2567 * > * 429 St. Giles Court * FAX: (732) 469-5823 * > * Somerset, NJ * e-mail: help@altimac.com * > * 08873 * WWW: http://www.altimac.com * > ************************************************************** Associated Messages, from the most recent to the oldest:

    
  1. Re: Date search bug? (Kenneth Grome 1998)
  2. Re: Date search bug (Kenneth Grome 1998)
  3. Re: Date search bug (Gil Poulsen 1998)
  4. Re: Date search bug (Kenneth Grome 1998)
  5. Re: Date search bug (Gil Poulsen 1998)
  6. Re: Date search bug (John Hill 1998)
  7. Re: Date search bug (Gil Poulsen 1998)
  8. Date search bug (Gil Poulsen 1998)
  9. Re: Date search bug (nelson@fwgi.com 1998)
  10. Re: Date search bug (Kenneth Grome 1997)
  11. Date search bug (Kenneth Grome 1997)
Try this. It may or may not solve the problem, I have experienced problem when defining a field name similar to a reserved word. In this case, the problem could lie[accdate]contains [date] which is reserved.try to use [accddd] or something like that and see if this possible bug will go awayNelsonGil Poulsen wrote:> Ken commented on this privately earlier, but I wanted to bring it back to the > list now because it appears to be a legitimate bug. > > Using WebCat plug-in 2.1.3; WebSTAR 3.0 with plenty of RAM allocated, the > following search context in one of my templates causes WebSTAR to choke for > 2-3 seconds, and then crash completely: > >
> Search the access log by date:       >
> > When I remove the &accdatetype=date from the search context, it processes it > in less than a second and doesn't crash WebSTAR. Otherwise, it takes 1-2 > seconds to return or it crashes completely. It seems to be searching fine > without the type=date. The accdate field is in the form of mm/dd/yyyy. > > As Ken noted, this type of search will work properly without defining the > field as a type=date, but other searches will not. The database only has about > 100 entries in it at this point, certainly nowhere near large enough to stall > WebCat. I thought 2.1.3 might fix the problem, but it made no difference. > > -- > Gil Poulsen, Webmaster > > ************************************************************** > * AltiM@c * Phone: (732) 469-2567 * > * 429 St. Giles Court * FAX: (732) 469-5823 * > * Somerset, NJ * e-mail: help@altimac.com * > * 08873 * WWW: http://www.altimac.com * > ************************************************************** nelson@fwgi.com

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:

Error handling for accountNum (1997) Price and Formula.db (2002) For those of you not on the WebCatalog Beta... (1997) docs for WebCatalog2 (1997) Nav. 4 probs with cart - Serious problem (1997) Multiple serial numbers (1997) Database Updates (1997) Error Lob.db records error message not name (1997) Cookies Question (2000) Comments in db? (1997) textarea input- nevermind (2002) WebCatalog for guestbook ? (1997) Poll Results (2002) Changing buttons (1999) WebDelivery: One step closer !! (1997) WebDNA Solutions ... sorry! (1997) version history page for webcat on the SM site? (2000) [OT] Weird returned mail - whaddya think? (2002) Reversed words (1997) WebDav (2001)