[WebDNA] [grep] bug Crashes WebDNA 6.2

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111225
interpreted = N
texte = --Apple-Mail=_C8F5D5F3-BDE3-4292-8BBC-ABF82DE69783 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Running WebDNA 6.2 on a Mac mini with OS X Server 10.8.5 If you leave the =93replace=94 parameter out of a [grep] context, WebDNA = crashes. I understand there=92s a bug in my code, but crashing is harsh. Example: [grep search=3DABC]bob ABC[/grep] WebDNA crashes. Whereas if you leave the =93db=94 parameter out of a [search] context = you get a much friendlier error message returned: [search eqABCdata=3Dfrog][/search] returns: Error: the 'SEARCH' context requires that you specify a db or a = table - Brian Fries= --Apple-Mail=_C8F5D5F3-BDE3-4292-8BBC-ABF82DE69783 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Running WebDNA 6.2 on a Mac = mini with OS X Server 10.8.5

If you leave the =93replace=94 parameter out of a = [grep] context, WebDNA crashes. I understand there=92s a bug in my code, = but crashing is harsh.

Example:

[grep search=3DABC]bob ABC[/grep]

WebDNA crashes.

Whereas if you leave the = =93db=94 parameter out of a [search] context you get a much friendlier = error message returned:

[search eqABCdata=3Dfrog][/search]

returns:

Error: the 'SEARCH' context = requires that you specify a db or a table


- Brian Fries
= --Apple-Mail=_C8F5D5F3-BDE3-4292-8BBC-ABF82DE69783-- 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)
--Apple-Mail=_C8F5D5F3-BDE3-4292-8BBC-ABF82DE69783 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Running WebDNA 6.2 on a Mac mini with OS X Server 10.8.5 If you leave the =93replace=94 parameter out of a [grep] context, WebDNA = crashes. I understand there=92s a bug in my code, but crashing is harsh. Example: [grep search=3DABC]bob ABC[/grep] WebDNA crashes. Whereas if you leave the =93db=94 parameter out of a [search] context = you get a much friendlier error message returned: [search eqABCdata=3Dfrog][/search] returns: Error: the 'SEARCH' context requires that you specify a db or a = table - Brian Fries= --Apple-Mail=_C8F5D5F3-BDE3-4292-8BBC-ABF82DE69783 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Running WebDNA 6.2 on a Mac = mini with OS X Server 10.8.5

If you leave the =93replace=94 parameter out of a = [grep] context, WebDNA crashes. I understand there=92s a bug in my code, = but crashing is harsh.

Example:

[grep search=3DABC]bob ABC[/grep]

WebDNA crashes.

Whereas if you leave the = =93db=94 parameter out of a [search] context you get a much friendlier = error message returned:

[search eqABCdata=3Dfrog][/search]

returns:

Error: the 'SEARCH' context = requires that you specify a db or a table


- Brian Fries
= --Apple-Mail=_C8F5D5F3-BDE3-4292-8BBC-ABF82DE69783-- Brian Fries

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:

Where is the bug fix info for 4.0.1? (2000) Problem (1997) SetMIMEHeader Behaviour (2000) Authenticate (1997) 'does not contain' operator needed ... (1997) Simple way to create unique SKU (1997) Frames and WebCat (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCat 3.04-3.07 plug-in dying on server.... (2000) [OT] Yahoo! Front Page (2002) can WC render sites out? (1997) [include] affect on filepaths for links? (1997) search form problem.. (1997) WebCatalog NT beta 18 problem (1997) Where's Cart Created ? (1997) Seattle based Webcatters? (2000) [group] ? (1997) [WebDNA] Ubuntu 14.04 & WebDNA 8.2 (html not rendering) (2017) Re:quit command on NT (1997) Re:2nd WebCatalog2 Feature Request (1996)