What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

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:

trouble updating records in database (1998) NewCart+Search with one click ? (1997) Protecting a folder (2000) New Command prefs ... (1997) Document Contains No Data! (1997) Re:F*** you (1998) Previous and Next Solution (2004) Redirect frame targets (1998) WebCat2.0b15-to many nested [xx] tags (1997) [WebDNA] DNA suffix (2008) Showing specific [cart] contents (1998) WC2f3 (1997) Extended [ConvertChars] (1997) WebCat2: Items xx to xx shown, etc. (1997) $Replace with [founditems] (1997) WebCatalog can't find database (1997) Major Security Hole (1998) Re:Merging databases (1997) Mac/network guy - newsfeed (2004) populating a [table] (2004)