--- Original message ---
Subject: [WebDNA] [grep] bug Crashes= WebDNA 6.2
From: Brian Fries <iphonzie@gmail.com>
T=o: talk@webdna.us Talk <talk@webdna.us>
Date: Friday, 1=4/03/2014 4:16 PMRunning WebDNA 6.2 on a Mac mini with OS X Server 10.8.5If you leave the =e2=80=9creplace=e2=80=9d parameter= out of a [grep] context, WebDNA crashes. I understand there=e2=80=99s a bug= in my code, but crashing is harsh.Exa=mple:=09[grep search=3dABC]bob ABC[/grep]<=div style=3d"font-family: HelveticaNeue-Light;">=09WebDNA crashes.Whereas if you leave the =e2=80=9cdb=e2=80=9d parameter out of a [search] c=ontext you get a much friendlier error message returned:=09[search eqABCdata=3dfrog][/search]returns:
=div>=09Error: the 'SEARCH' context re=quires that you specify a db or a table- Brian Fries--------------------------------------------------------- This mess=age is sent to you because you are subscribed to the mailing list <talk@w=ebdna.us>. To unsubscribe, E-mail to: <talk-leave@webdna.us>archive=s: h=ttp://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u=s
------=_SW_1003706395_1394834594_mpa=-- Associated Messages, from the most recent to the oldest:
This is a multi-part message in MIME format.------=_SW_1003706395_1394834594_mpa=Content-Type: text/plain; charset=utf-8; format=flowedGood point Brian, I'll put this in our bug list.Donovan>> --- Original message ---> Subject: [WebDNA] [grep] bug Crashes WebDNA 6.2> From: Brian Fries
- Re: [WebDNA] [grep] bug Crashes WebDNA 6.2 (Donovan Brooke
2014) - [WebDNA] [grep] bug Crashes WebDNA 6.2 (Brian Fries
2014) > To: talk@webdna.us Talk > Date: Friday, 14/03/2014 4:16 PM>>> Running WebDNA 6.2 on a Mac mini with OS X Server 10.8.5>> If you leave the “replace” parameter out of a [grep] context, > WebDNA crashes. I understand there’s a bug in my code, but crashing > is harsh.>> Example:>> [grep search=ABC]bob ABC[/grep]>> WebDNA crashes.>> Whereas if you leave the “db” parameter out of a [search] context > you get a much friendlier error message returned:>> [search eqABCdata=frog][/search]>> returns:>> Error: the 'SEARCH' context requires that you specify a db or a > table>>> - Brian Fries--------------------------------------------------------- > This message is sent to you because you are subscribed to the mailing > list . To unsubscribe, E-mail to: > archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: > support@webdna.us------=_SW_1003706395_1394834594_mpa=Content-Type: text/html; charset=utf-8Content-Transfer-Encoding: quoted-printable Good point Brian, I'll put this in our bug list.
Donovan--- Original message ---
Subject: [WebDNA] [grep] bug Crashes= WebDNA 6.2
From: Brian Fries <iphonzie@gmail.com>
T=o: talk@webdna.us Talk <talk@webdna.us>
Date: Friday, 1=4/03/2014 4:16 PMRunning WebDNA 6.2 on a Mac mini with OS X Server 10.8.5If you leave the =e2=80=9creplace=e2=80=9d parameter= out of a [grep] context, WebDNA crashes. I understand there=e2=80=99s a bug= in my code, but crashing is harsh.Exa=mple:=09[grep search=3dABC]bob ABC[/grep]<=div style=3d"font-family: HelveticaNeue-Light;">=09WebDNA crashes.Whereas if you leave the =e2=80=9cdb=e2=80=9d parameter out of a [search] c=ontext you get a much friendlier error message returned:=09[search eqABCdata=3dfrog][/search]returns:
=div>=09Error: the 'SEARCH' context re=quires that you specify a db or a table- Brian Fries--------------------------------------------------------- This mess=age is sent to you because you are subscribed to the mailing list <talk@w=ebdna.us>. To unsubscribe, E-mail to: <talk-leave@webdna.us>archive=s: h=ttp://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u=s
------=_SW_1003706395_1394834594_mpa=-- Donovan Brooke
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:
Forumulas.db & Variables (2002) Review comparison by PC Magazine: Open for On-line Business (1997) WebCommerce: Folder organization ? (1997) Shipping Help! (1998) tax rate off by 1 cent (1997) merchant accts. (1997) Search in 2 or more catalogs (1997) Testing band width (2002) test (2004) Questions on Mac WC 3.0.5b13 (2000) Cart Creation (1998) possible, WebCat2.0 and checkboxes-restated (1997) Automatically submitting form with web cat. (2001) Unexpected error (1997) [WebDNA] Windows Server2012 (2016) Generating Report Totals (1997) Showif -what am I missing??? (1999) Other Databases, access, filemaker etc. (2000) Bug or syntax error on my part? (1997) 2nd Request for help/advice on variable pricing (2000)