Hi,
in 9.2 web admin I get an HTTP 400 with any file upload:
Stopped at D:/BaseX92/webapp/dba/files/file-upload.xqm, 23/10: [XPTY0004] Cannot convert empty-sequence() to map(xs:string, xs:base64Binary): ().
The file seems to be sent, but $files is empty.
Is this a bug?
This was working with the default settings in 9.0.2
Daniel
Host: localhost:8984 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Accept-Encoding: gzip, deflate Referer: http://localhost:8984/dba/files Content-Type: multipart/form-data; boundary=---------------------------54472172614771 Content-Length: 153 Cookie: JSESSIONID=node0npu7s85e3q5amqmmqir6aak0.node0 DNT: 1 Connection: keep-alive Upgrade-Insecure-Requests: 1 Cache-Control: max-age=0
Hi Daniel,
This reminds me of a problem that has been discussed on the list some days ago. Could you please check out the latest snapshot and see if the problem persists [1]?
BaseX 9.2.1 will be released this or next week.
Best, Christian
[1] http://files.basex.org/releases/latest
On Thu, May 2, 2019 at 11:02 AM Zimmel, Daniel D.Zimmel@esvmedien.de wrote:
Hi,
in 9.2 web admin I get an HTTP 400 with any file upload:
Stopped at D:/BaseX92/webapp/dba/files/file-upload.xqm, 23/10: [XPTY0004] Cannot convert empty-sequence() to map(xs:string, xs:base64Binary): ().
The file seems to be sent, but $files is empty.
Is this a bug?
This was working with the default settings in 9.0.2
Daniel
Host: localhost:8984 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Accept-Encoding: gzip, deflate Referer: http://localhost:8984/dba/files Content-Type: multipart/form-data; boundary=---------------------------54472172614771 Content-Length: 153 Cookie: JSESSIONID=node0npu7s85e3q5amqmmqir6aak0.node0 DNT: 1 Connection: keep-alive Upgrade-Insecure-Requests: 1 Cache-Control: max-age=0
Yes, the snapshot seems to fix this.
Thanks, Daniel
-----Ursprüngliche Nachricht----- Von: Christian Grün [mailto:christian.gruen@gmail.com] Gesendet: Donnerstag, 2. Mai 2019 11:16 An: Zimmel, Daniel Cc: BaseX Betreff: Re: [basex-talk] 9.2: http://localhost:8984/dba/file-upload 400 bad request
Hi Daniel,
This reminds me of a problem that has been discussed on the list some days ago. Could you please check out the latest snapshot and see if the problem persists [1]?
BaseX 9.2.1 will be released this or next week.
Best, Christian
[1] http://files.basex.org/releases/latest
On Thu, May 2, 2019 at 11:02 AM Zimmel, Daniel D.Zimmel@esvmedien.de wrote:
Hi,
in 9.2 web admin I get an HTTP 400 with any file upload:
Stopped at D:/BaseX92/webapp/dba/files/file-upload.xqm, 23/10: [XPTY0004] Cannot convert empty-sequence() to map(xs:string,
xs:base64Binary): ().
The file seems to be sent, but $files is empty.
Is this a bug?
This was working with the default settings in 9.0.2
Daniel
Host: localhost:8984 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101
Firefox/60.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Accept-Encoding: gzip, deflate Referer: http://localhost:8984/dba/files Content-Type: multipart/form-data; boundary=---------------------------
54472172614771
Content-Length: 153 Cookie: JSESSIONID=node0npu7s85e3q5amqmmqir6aak0.node0 DNT: 1 Connection: keep-alive Upgrade-Insecure-Requests: 1 Cache-Control: max-age=0
basex-talk@mailman.uni-konstanz.de