Re: date tag not interpreted

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35915
interpreted = N
texte = I reported that bug at least two years ago and again during the beta period for 4.x. At the time it was reported, it was as part of a long running series of conversations with Grant more or less directly. Now that Pacific-Coast is part of Smith Micro, there is the on-line report at http://www.smithmicro.com/techsupport/kb.exe/people. I have keyed this one in (or will by the time you see the message), but that is no guarantee that they will get to it anytime soon. If you use the tag as documented, it works, as documented (with the pink text in the 4.x docs). I do consider it a bug because it allows an illegal context to operate, but only inside an orderfile context.John PeacockPaul Uttermohlen wrote: > > >No, you do not need to have the closing bracket when inside an orderfile > >context. This is a bug that I reported several times; the parser is > >greedy inside the orderfile context and takes [date (note the space) > >as [date] and deletes the space before displaying. If you type this: > >[date ] (again with the space) outside and inside an orderfile context > >you will see that inside the context you will have an extra bracket. > > > >Outside of an orderfile context, [date will leave the rest of the > >page blank, because you did not close the context. If you try it in > >3.x, you will have the same behavior, since they did not fix it for > >4.x. > > > >John Peacock > > John, > > is there a correct and formal way of reporting a bug? > > More than once, I have seen people repeatedly note on the list that > such and such bug was reported, but sometimes these bugs go on and on > without note by SM. And just a moment ago I read a Technical > Support posting regarding the bug mentioned above that seems to > indicate that they do not see this as a bug but rather just another > idiosyncrasy of WebCatalog that we must all learn. > > Thanks, Paul > > >Paul Uttermohlen wrote: > > > > > > > >I have an admin area that sorts by date and day and year and > >month. As of > > > > >the 3rd of last month it started interpreting the tags as follows: > > > > > > > > > >[date] = 08/08/2000 > > > > >[date %m] = 08/08/2000%m] should be 08 > > > > >[date %Y] = 08/08/2000%Y] should be 08 > > > > >[date %d] = 08/08/2000%d] should be 2000 > > > > > > > >Is this inside of an [orderfile] context, or on a page reached via > > > >command=ShowCart/Purchase/Add/Remove? If so, then in that context > > > >[date] means the date the orderfile was created, not the server's > > > >date. See your docs or > > > >http://betadoc.smithmicro.com/AllTags.html#Date in the big pink > > > >box for an explanation. > > > > > > So this in NOT a bug and typing [date (without an ending bracket) is > > > supposed to display the date of the order file now, when in 3.x it > > > did not? > > > > > > Paul > > > > > > >-- > > > >Technical Support ********************************** > > > >Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) > > > >16855 West Bernardo Drive, #380 | ------------------------- > > > >San Diego, CA 92127 | Software & Site Development > > > >WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > > > > Fax: (858) 675-0372 ********************************** > > > > > > > >------------------------------------------------------------- > > > >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/ > > > > > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > > > _/_/_/Paul Uttermohlen, Interactive Ink, Inc._\_\_ \_\_\_\_ > > > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > > > _/_/_/ Business - _\_\_\_\_\_\_ > > > _/_/_/ Real Estate - _\_\_\_\_ > > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > > > > > > ------------------------------------------------------------- > > > 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/ > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > _/_/_/Paul Uttermohlen, Interactive Ink, Inc._\_\_ \_\_\_\_ > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > _/_/_/ Business - _\_\_\_\_\_\_ > _/_/_/ Real Estate - _\_\_\_\_ > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > > ------------------------------------------------------------- > 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: date tag not interpreted (Bob Sneidar 2000)
  2. Re: date tag not interpreted (Robie Blair 2000)
  3. Re: date tag not interpreted (Glenn Busbin 2000)
  4. Re: date tag not interpreted (Aaron Lynch 2000)
  5. Re: date tag not interpreted (Kenneth Grome 2000)
  6. Re: date tag not interpreted (Bob Sneidar 2000)
  7. Re: date tag not interpreted (John Peacock 2000)
  8. Re: date tag not interpreted (Kenneth Grome 2000)
  9. Re: date tag not interpreted (John Peacock 2000)
  10. Re: date tag not interpreted (Paul Uttermohlen 2000)
  11. Re: date tag not interpreted (John Peacock 2000)
  12. Re: date tag not interpreted (Paul Uttermohlen 2000)
  13. Re: date tag not interpreted (WebDNA Support 2000)
  14. Re: date tag not interpreted (John Peacock 2000)
  15. Re: date tag not interpreted (Joseph D'Andrea 2000)
  16. Re: date tag not interpreted (shane@ims1.com 2000)
  17. Re: date tag not interpreted (John Peacock 2000)
  18. date tag not interpreted (shane@ims1.com 2000)
I reported that bug at least two years ago and again during the beta period for 4.x. At the time it was reported, it was as part of a long running series of conversations with Grant more or less directly. Now that Pacific-Coast is part of Smith Micro, there is the on-line report at http://www.smithmicro.com/techsupport/kb.exe/people. I have keyed this one in (or will by the time you see the message), but that is no guarantee that they will get to it anytime soon. If you use the tag as documented, it works, as documented (with the pink text in the 4.x docs). I do consider it a bug because it allows an illegal context to operate, but only inside an orderfile context.John PeacockPaul Uttermohlen wrote: > > >No, you do not need to have the closing bracket when inside an orderfile > >context. This is a bug that I reported several times; the parser is > >greedy inside the orderfile context and takes [date (note the space) > >as [date] and deletes the space before displaying. If you type this: > >[date ] (again with the space) outside and inside an orderfile context > >you will see that inside the context you will have an extra bracket. > > > >Outside of an orderfile context, [date will leave the rest of the > >page blank, because you did not close the context. If you try it in > >3.x, you will have the same behavior, since they did not fix it for > >4.x. > > > >John Peacock > > John, > > is there a correct and formal way of reporting a bug? > > More than once, I have seen people repeatedly note on the list that > such and such bug was reported, but sometimes these bugs go on and on > without note by SM. And just a moment ago I read a Technical > Support posting regarding the bug mentioned above that seems to > indicate that they do not see this as a bug but rather just another > idiosyncrasy of WebCatalog that we must all learn. > > Thanks, Paul > > >Paul Uttermohlen wrote: > > > > > > > >I have an admin area that sorts by date and day and year and > >month. As of > > > > >the 3rd of last month it started interpreting the tags as follows: > > > > > > > > > >[date] = 08/08/2000 > > > > >[date %m] = 08/08/2000%m] should be 08 > > > > >[date %Y] = 08/08/2000%Y] should be 08 > > > > >[date %d] = 08/08/2000%d] should be 2000 > > > > > > > >Is this inside of an [orderfile] context, or on a page reached via > > > >command=ShowCart/Purchase/Add/Remove? If so, then in that context > > > >[date] means the date the orderfile was created, not the server's > > > >date. See your docs or > > > >http://betadoc.smithmicro.com/AllTags.html#Date in the big pink > > > >box for an explanation. > > > > > > So this in NOT a bug and typing [date (without an ending bracket) is > > > supposed to display the date of the order file now, when in 3.x it > > > did not? > > > > > > Paul > > > > > > >-- > > > >Technical Support ********************************** > > > >Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) > > > >16855 West Bernardo Drive, #380 | ------------------------- > > > >San Diego, CA 92127 | Software & Site Development > > > >WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > > > > Fax: (858) 675-0372 ********************************** > > > > > > > >------------------------------------------------------------- > > > >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/ > > > > > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > > > _/_/_/Paul Uttermohlen, Interactive Ink, Inc._\_\_ \_\_\_\_ > > > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > > > _/_/_/ Business - _\_\_\_\_\_\_ > > > _/_/_/ Real Estate - _\_\_\_\_ > > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > > > > > > ------------------------------------------------------------- > > > 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/ > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > _/_/_/Paul Uttermohlen, Interactive Ink, Inc._\_\_ \_\_\_\_ > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > _/_/_/ Business - _\_\_\_\_\_\_ > _/_/_/ Real Estate - _\_\_\_\_ > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > > ------------------------------------------------------------- > 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/ John Peacock

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:

WCS Newbie question (1997) [WebDNA] doesn't "&max=1" work in a [delete] context? (2009) WC 2.0 frames feature (1997) RE:It just Does't add up!!! (1997) [WebDNA] Will Q2/2010 be the best quarter for WebDNA? (2010) WebCat2 - Getting to the browser's username/password data (1997) Listserver problem (1997) Smith Micro & e Frontier (2008) Searching multiple Databases (1997) Aquick question about replace (1999) Check for OS (2003) [WebDNA] Send Mail and SMTP Host (2015) WebCatalog books and othre resources (2001) Nested tags count question (1997) Nesting format tags (1997) Error:Too many nested [xxx] contexts (1997) WebDNA and SQL (2003) Summarizing on two fields (1998) [WebDNA] Successful, working WebDNA7/CentOS install? (2013) Help with Shipping Costs (1997)