On 21 Mar 2018, at 15:50, christophe.billiottet@webdna.us wrote:The problem was :=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94==E2=80=94=E2=80=94=E2=80=94=E2=80=94
[LISTFILES =path=3Dns_files/&name=3D4330-&exact=3DF]
=[FILENAME]<br>
[/LISTFILES]
If there are no files containing 4330-, then I get this:
An unknown error occurred:
FileNotFound
4330-
The REAL answer SHOULD be =either blank or NO FILES FOUND, not "An unknown error occurred:"=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94==E2=80=94=E2=80=94=E2=80=94=E2=80=94We thought the best fix would be to add =this to the ErrorMessages.db. For example, if we put this in =it:FileNotFound= Error: File not found '[param1]'
Then the output will be:
Error: File not found ='rdter'
All of the other errors are in the =ErrorMessages.db, such as lstatError and PathNotFound. It just seems =that someone forgot to add FileNotFound to this database too.kind regards,- chris---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.usOn Mar 21, 2018, at 01:14, =Stuart Tremain <webdna@idfk.com.au> wrote:Hi ChrisDid that LISTFILES error get fixed ?The one that reports an error if there =are no files to list ?
On 21 Mar 2018, at 15:50, christophe.billiottet@webdna.us wrote:The problem was :=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94==E2=80=94=E2=80=94=E2=80=94=E2=80=94
[LISTFILES =path=3Dns_files/&name=3D4330-&exact=3DF]
=[FILENAME]<br>
[/LISTFILES]
If there are no files containing 4330-, then I get this:
An unknown error occurred:
FileNotFound
4330-
The REAL answer SHOULD be =either blank or NO FILES FOUND, not "An unknown error occurred:"=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94==E2=80=94=E2=80=94=E2=80=94=E2=80=94We thought the best fix would be to add =this to the ErrorMessages.db. For example, if we put this in =it:FileNotFound= Error: File not found '[param1]'
Then the output will be:
Error: File not found ='rdter'
All of the other errors are in the =ErrorMessages.db, such as lstatError and PathNotFound. It just seems =that someone forgot to add FileNotFound to this database too.kind regards,- chris---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.usOn Mar 21, 2018, at 01:14, =Stuart Tremain <webdna@idfk.com.au> wrote:Hi ChrisDid that LISTFILES error get fixed ?The one that reports an error if there =are no files to list ?
DOWNLOAD WEBDNA NOW!
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...