Code intermittently reverts to previous state

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33662
interpreted = N
texte = Hi,I've been tracking a frustrating intermittent problem where WebCat appears to be occasionally serving code that has since been modified. The problem is not reproducible on demand, but there have been enough user reports to verify that it's happening with different pages on the same server (and different browsers/platforms). It seems to be related to [showif] and [hideif] contexts not working properly under some set of conditions.If anyone has experienced this kind of behavior, I'd appreciate hearing about it and learning if you found a solution. Here is a specific example:-----Example----- http://www.brushdance.com/tpl/calendars.tpl This template displays calendars that will be (but are not yet) for sale on this site. An earlier (development) version of this template allowed you to add the calendars to your cart. The current version has the quantity field and add to cart button hidden so that orders can't be placed at this time.[hideif [thisURL]^calendars.tpl]Quantity: [/hideif]Yesterday an order came through that included a calendar. The only way this is possible is if the code above is not hidden. That should be impossible because the calendars are only visible on calendars.tpl. It may also be relevant to say that the code above is part of an include file that is called by calendars.tpl to display the product. -----/Example-----Is there some known set of conditions that causes [hideif] and [showif] tags to not do their jobs?WebStar 4.2 WebCat plugin 3.0.4 MacOS 9 G4/400 80MB available to WebCat TIA,Gabriel -- Gabriel Shirley Big Mind Media - http://www.bigmindmedia.com P.O. Box 1093 - 772 Camano Avenue, Suite 101 Langley, WA 98260 360-221-7701 - 360-838-0117 Fax --- BigMindMedia jobs & internships: http://www.bigmindmedia.com/html/company/jobs.html --- ------------------------------------------------------------- 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: Code intermittently reverts to previous state (John Butler 2000)
  2. Code intermittently reverts to previous state (Gabriel Shirley 2000)
Hi,I've been tracking a frustrating intermittent problem where WebCat appears to be occasionally serving code that has since been modified. The problem is not reproducible on demand, but there have been enough user reports to verify that it's happening with different pages on the same server (and different browsers/platforms). It seems to be related to [showif] and [hideif] contexts not working properly under some set of conditions.If anyone has experienced this kind of behavior, I'd appreciate hearing about it and learning if you found a solution. Here is a specific example:-----Example----- http://www.brushdance.com/tpl/calendars.tpl This template displays calendars that will be (but are not yet) for sale on this site. An earlier (development) version of this template allowed you to add the calendars to your cart. The current version has the quantity field and add to cart button hidden so that orders can't be placed at this time.[hideif [thisurl]^calendars.tpl]Quantity: [/hideif]Yesterday an order came through that included a calendar. The only way this is possible is if the code above is not hidden. That should be impossible because the calendars are only visible on calendars.tpl. It may also be relevant to say that the code above is part of an include file that is called by calendars.tpl to display the product. -----/Example-----Is there some known set of conditions that causes [hideif] and [showif] tags to not do their jobs?WebStar 4.2 WebCat plugin 3.0.4 MacOS 9 G4/400 80MB available to WebCat TIA,Gabriel -- Gabriel Shirley Big Mind Media - http://www.bigmindmedia.com P.O. Box 1093 - 772 Camano Avenue, Suite 101 Langley, WA 98260 360-221-7701 - 360-838-0117 Fax --- BigMindMedia jobs & internships: http://www.bigmindmedia.com/html/company/jobs.html --- ------------------------------------------------------------- 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/ Gabriel Shirley

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:

unique ID (1997) Suddenly can't see files... (2000) emailer and bad addresses (1997) Emailer Set Up (1997) Text Areas, Sendmail and returns.... (2002) Search in 2 or more catalogs (1997) Size limit for tmpl editor ? (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) IIS3.0 Microsoft's Fix (1998) Which is Faster (1998) WebCat NT v. Mac (1997) Separate SSL Server (1997) [WebDNA] WebDNA and macOS 10.4 Mojave - Operational? (2018) Cart# (1997) Nested ListFiles (1998) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) WebCat2.0 [format thousands .0f] no go (1997) Smith Micro - no competition (2000) Formating found categories (1997) WebCat2 - [format thousands] (1997)