#4394 Web UI doesn't send API version
Closed: Fixed None Opened 9 years ago by pvoborni.

AFIAK it doesn't cause any errors yet.

Without API version, server assumes that Web UI is an older client and uses different output encoding of datetime and idnsname objects. It can harm us in a future.

Web UI should send the API version and also needs to be adjusted to the newer formats.


Older? If the version is not sent, the server should assume the client has the same version as the server.

The encoding did change recently, though the new version is only sent to new clients. (And those that don't send VERSION.)

Then there is probably a bug in API behavior.

Without version in request, server sends:

"krblastpwdchange": [
    "20140623153529Z"
],

With version same as the API's:

"krblastpwdchange": [
    {
        "__datetime__": "20140623153529Z"
    }
],

In any case, Web UI changes are needed.

Adding to list of tickets required for 4.0 release.

master:

  • 9aac052 webui: send API version in RPC requests
  • 5568e35 webui: extract rpc value from object envelope

Metadata Update from @pvoborni:
- Issue assigned to pvoborni
- Issue set to the milestone: FreeIPA 4.0 GA

7 years ago

Login to comment on this ticket.

Metadata