GNU bug report logs - #72941
jsonrpc: Check if parameters are in line with the spec

Previous Next

Package: emacs;

Reported by: Felician Nemeth <nemethf <at> tmit.bme.hu>

Date: Sun, 1 Sep 2024 21:48:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Felician Nemeth <nemethf <at> tmit.bme.hu>
To: Daniel Pettersson <daniel <at> dpettersson.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, joaotavora <at> gmail.com, 72941 <at> debbugs.gnu.org
Subject: bug#72941: jsonrpc: Check if parameters are in line with the spec
Date: Wed, 02 Oct 2024 13:41:06 +0200
Daniel Pettersson <daniel <at> dpettersson.net> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>> So do we want to close this as wontfix?
>
> Yes, if anybody would clarify the variable type expectations
> documentation that would be great but all in all this is would be
> wontfix.

I can accept this decision.

>>> From: Felician Nemeth <nemethf <at> tmit.bme.hu>
>
>>> Maybe when the server responds with an error to a jsonrpc-request, then
>>> jsonrpc.el could create an additional warning if the params of the
>>> request was not structured.  Or maybe it is too much work for a very
>>> small gain.
>
> It seams like something that would be a bit of mess and I would expect
> that an sane jsonrpc server would include the reason for error in the
> error response.

The server I used did not return an error message, from which I could
easily understand the real problem.

Thanks.




This bug report was last modified 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.