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

Running _every_ page through WebCat ? (1997) Shopping Cart ID (1998) PIXO support (1997) purchase plugin (1996) Fun with Dates - revisited (again) (1997) WebCatlog vs ColdFusion White Paper (2000) Webcatalog 2.1* and Personal Web Server 4.0 (1998) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) WebCat table size. (2001) Setting up WebCatalog with Retail Pro data (1996) [TaxableTotal] - not working with AOL and IE (1997) Server Load (2000) [ShowIf] and empty fields (1997) Nt's Latest? (1997) small hairball -- stuck on [showif] for related db (1998) Secure Sever and showcart errors (1997) Multiple cart additions (1997) Simple Page (2000) [/application] error? (1997) NetForms for email (1998)