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:

New WebCat release ?? (2001) Signal Raised (1997) Nested vs conditional (1997) OT OSX Login Problem (2006) Closing Databases (1998) [Sum] function? (1997) [WebDNA] Ubuntu 14.04 & WebDNA (2017) Windows-based Code Editor (2002) WebMerchant and Mac Auth Hub Help Please (1999) Using Applescript to process WebCatalog functions (1998) RE:It just Does't add up!!! (1997) Date search - yes or no (1997) still having shipCost.db Problem (1997) Deleting Orders (1997) WCS Newbie question (1997) Title not showing up in ViewOrder template (1998) RAM problems, [appendfile] problems (1998) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) For those of you not on the WebCatalog Beta... (1997) WebCat2b15MacPlugin - showing [math] (1997)