Re: I think I found a bug

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37071
interpreted = N
texte = So a bug would be an unspecified behaviour resulting from providing a correct and valid value as a parameter???-Andrew.on 10/7/01 12:18 PM, Brian Fries at brainscn@psyber.com wrote:> Curiosity got the best of me and I played with this a bit... > > It looks like the max= parameter works the same in [replace] as it > does in [search] -- if the max= value is not a positive integer, the > parameter is ignored, resulting in all found records being listed / > replaced. > > I would not call this a bug, just an unspecified behavior resulting > from providing an out-of-range value for a parameter. > > - Brian > > At 4:54 PM 7/9/2001, Arturo Vargas wrote: >> Reading the docs I was given the impression that [replace] had the same >> parameters as [search] >> >> and this is correct for instance I have been using successfully the max >> parameter with replace. But recently some one entered 0 as the max parameter >> in this [replace] and every single entry was replaced. as if the max >> parameter wasn't there. I wonder if there is some kind of reason for the >> number 0 to not work with the max parameter. Does any body know if this is a >> bug of webcat or is there a reason for max=0 to not work. >> >> Arturo Vargas ------------------------------------------------------------- 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: I think I found a bug (Brian Fries 2001)
  2. Re: I think I found a bug (Andrew Simpson 2001)
  3. Re: I think I found a bug (Brian Fries 2001)
  4. I think I found a bug (Arturo Vargas 2001)
So a bug would be an unspecified behaviour resulting from providing a correct and valid value as a parameter???-Andrew.on 10/7/01 12:18 PM, Brian Fries at brainscn@psyber.com wrote:> Curiosity got the best of me and I played with this a bit... > > It looks like the max= parameter works the same in [replace] as it > does in [search] -- if the max= value is not a positive integer, the > parameter is ignored, resulting in all found records being listed / > replaced. > > I would not call this a bug, just an unspecified behavior resulting > from providing an out-of-range value for a parameter. > > - Brian > > At 4:54 PM 7/9/2001, Arturo Vargas wrote: >> Reading the docs I was given the impression that [replace] had the same >> parameters as [search] >> >> and this is correct for instance I have been using successfully the max >> parameter with replace. But recently some one entered 0 as the max parameter >> in this [replace] and every single entry was replaced. as if the max >> parameter wasn't there. I wonder if there is some kind of reason for the >> number 0 to not work with the max parameter. Does any body know if this is a >> bug of webcat or is there a reason for max=0 to not work. >> >> Arturo Vargas ------------------------------------------------------------- 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/ Andrew Simpson

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:

Help!!!! (1997) Cart doesn't interpret tag! (1997) WebCat2 - [format thousands] (1997) Appligent PDFs (was: OT - Dig Sigs) (2004) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) add to cart within a page? (1997) Formvariables name matching (2005) practicing safe queries.. (2000) New Command prefs ... (1997) [WebDNA] find missing file in [listfiles] (2019) Browser Problem?!? Still getting Error message using POST! (1997) emailer truncates last letter! (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Emailer (WebCat2) (1997) Separate SSL Server (1997) WebCat editing, SiteGuard & SiteEdit (1997) WebCatalog Features (1997) AOL Sux and Other Thoughts (2000) Search on Dates (2000) email program problem (1998)