Re: convertwords BUG

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44374
interpreted = N
texte = Even after fixing the incorrect syntax (FROMword= -> word=), your example still did not work for me. After examining the WebDNA engine code, It appears that there is a bug with the convertwords context. Is seems that if a matched string is flagged as a non-match (due to the WW condition) AND there are no more string matches with the remaining FROM fields, then the convertwords context will bail, and not continue from the point of the first string match. I still need to do some more testing, but if this is indeed a bug, we will include a fix in the upcoming 4.5 patch.> -----Original Message----- > From: WebCatalog Talk > [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf > Of Brian Boegershausen > Sent: Thursday, October 24, 2002 9:10 PM > To: WebCatalog Talk > Subject: convertwords BUG > > > I posted this problem a few days ago and have tried everyone's > solutions. All resulted in failure. > > [ConvertWords db=dbinc/glossary.db&FROMword=sw]Class and > ass[/ConvertWords] > class or ass is translated into a*s and cla*s > > [ConvertWords db=dbinc/glossary.db&FROMword=ww]Class and > ass[/ConvertWords] > class or ass is translated into a*s and cla*s > > Glossary.db > From To > Ass a*s > Crap cr*p > > I have also tried it with url tags: > [grep search=([%20])&replace= ][url][_Title][/url] > [ConvertWords db=dbinc/glossary.db&FROMword=sw][ > url][_Message][/url][/ConvertWords] > .....and I also tried to wrap the url tags with a grep to replace %20 > with a space so there are separate words. > [ConvertWords db=dbinc/glossary.db&FROMword=sw][grep > search=([%20])&replace= ][url][_Message][/url][/grep][/ConvertWords] > > I am running Typhoon Pro is running as unix-Cobalt Intel Unix Apache > Module version 4.0.2 > Cobalt Raq3i > I have also tested this on a Win2k Server with Webcatalog 4.02 > Same error > > Can anyone run this and substantiate this bug?? > SMSI????????? > > Thank you > Brian > > > ------------------------------------------------------------- > 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: convertwords BUG (Kenneth Grome 2002)
  2. Re: convertwords BUG (Nitai @ ComputerOil 2002)
  3. Re: convertwords BUG (Kenneth Grome 2002)
  4. Re: convertwords BUG (Scott Anderson 2002)
  5. Re: convertwords BUG (Kenneth Grome 2002)
  6. convertwords BUG (Brian Boegershausen 2002)
Even after fixing the incorrect syntax (FROMword= -> word=), your example still did not work for me. After examining the WebDNA engine code, It appears that there is a bug with the convertwords context. Is seems that if a matched string is flagged as a non-match (due to the WW condition) AND there are no more string matches with the remaining FROM fields, then the convertwords context will bail, and not continue from the point of the first string match. I still need to do some more testing, but if this is indeed a bug, we will include a fix in the upcoming 4.5 patch.> -----Original Message----- > From: WebCatalog Talk > [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf > Of Brian Boegershausen > Sent: Thursday, October 24, 2002 9:10 PM > To: WebCatalog Talk > Subject: convertwords BUG > > > I posted this problem a few days ago and have tried everyone's > solutions. All resulted in failure. > > [ConvertWords db=dbinc/glossary.db&FROMword=sw]Class and > ass[/ConvertWords] > class or ass is translated into a*s and cla*s > > [ConvertWords db=dbinc/glossary.db&FROMword=ww]Class and > ass[/ConvertWords] > class or ass is translated into a*s and cla*s > > Glossary.db > From To > Ass a*s > Crap cr*p > > I have also tried it with url tags: > [grep search=([%20])&replace= ][url][_Title][/url] > [ConvertWords db=dbinc/glossary.db&FROMword=sw][ > url][_Message][/url][/ConvertWords] > .....and I also tried to wrap the url tags with a grep to replace %20 > with a space so there are separate words. > [ConvertWords db=dbinc/glossary.db&FROMword=sw][grep > search=([%20])&replace= ][url][_Message][/url][/grep][/ConvertWords] > > I am running Typhoon Pro is running as unix-Cobalt Intel Unix Apache > Module version 4.0.2 > Cobalt Raq3i > I have also tested this on a Win2k Server with Webcatalog 4.02 > Same error > > Can anyone run this and substantiate this bug?? > SMSI????????? > > Thank you > Brian > > > ------------------------------------------------------------- > 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:

Tiger / WebDNA (2005) Dreamweaver MX (again) (2002) Security Issue (1997) [ShowCart] and GET vs. POST (1997) Bugs still *not* fixed as promised ... (2000) SMSI FTP - calander system (2002) bug in wn searching NT version? (1997) multi-paragraph fields (1997) [ShowIf] either fields are blank (1998) OT: Backup Strategies (2007) Credit card processing - UK (1997) Referrer field to header field conversion (1997) Cart doesn't interpret tag! (1997) default value from Lookup (was Grant, please help me) (1997) adding up in a db (1997) Search design (1997) 2.0 Info (1997) Dark Horse Comics success story (1997) Size limit for tmpl editor ? (1997) thankyou.tmpl (1997)