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:

Database Updates (1997) Emailer on NT not working. (1999) Banners (1997) HELP WITH DATES (1997) Itools, WEBCAT OSX (2003) Mapping .tmpl extension on NT (1998) OT: Need some feedback, please. (2003) select multiple 2 more cents (1997) Store Builder shipping methods (2003) Do .tpls A Max File Size? (1998) [WebDNA] Virtual server (2011) Anomaly ? causes NT application event log to overflow (1997) "top" Clarification ( for apache ) (2008) Data Type Search Problem (2004) WebSite and *NO* Authentication Dialog Box!!? (1998) WebCat2 several catalogs? (1997) ShowNext truncating passed variable?? (1997) Attn: Bug in GeneralStore example b15 (1997) Secure Web Server (1999) Potential Conflicts? (1997)