--- 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:
Review comparison by PC Magazine: Open for On-lineBusiness (1997) Multiple fields on 1 input (1997) webcatalog [date] bug (1999) SKU (1997) Dummy Credit Card Number for debug? (1997) Uh...can someone help me out with the b10? (1997) Getting the domain of every request ... (2003) WC2.0 Memory Requirements (1997) 2nd WebCatalog2 Feature Request (1996) Initiating NewCart (1997) Re:quit command on NT (1997) Version 4? (2000) Dr. Watson Error (1998) F3 crashing server (1997) [WebDNA] Some JS help please (2010) [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (2009) RE: [WebDNA] V8.6 FCGI (2018) newcart (1997) Viewing old carts (was FEW QUESTIONS) (1997) Forcing a NEWCART (1997)