Re: [WebDNA] [grep] bug Crashes WebDNA 6.2

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111226
interpreted = N
texte = This is a multi-part message in MIME format. ------=_SW_1003706395_1394834594_mpa= Content-Type: text/plain; charset=utf-8; format=flowed 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 > 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-8 Content-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 PM

Running WebDNA 6.2 on a Mac mini with OS X Server 10.8.5

If 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:

=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:

    
  1. Re: [WebDNA] [grep] bug Crashes WebDNA 6.2 (Donovan Brooke 2014)
  2. [WebDNA] [grep] bug Crashes WebDNA 6.2 (Brian Fries 2014)
This is a multi-part message in MIME format. ------=_SW_1003706395_1394834594_mpa= Content-Type: text/plain; charset=utf-8; format=flowed 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 > 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-8 Content-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 PM

Running WebDNA 6.2 on a Mac mini with OS X Server 10.8.5

If 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:

=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:

Can ShowNext do this? SOLVED (2000) [OT] Half completed orders (2005) WebStar and CopyFile (2000) founditems (1998) Re:Can this be done? (1997) many-to-one problem (1998) [WebDNA] jumping on the linux train (2011) Initiating NewCart (1997) Scoping rules in WebDNA 4.0 (2000) Security (1998) adding up in a db (1997) flushdatabases (1997) Emailer again & again (1997) What am I missing (1997) Multiple prices (1997) Permissions (once again) (2003) passing search criteria (1997) Bad cookie (1998) [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) Execute Applescript (1997)