Project

General

Profile

Bug #590

closed

impersonate user does not work

Added by Miroslav Blaško about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Urgent
Start date:
16.04.2018
Due date:
% Done:

0%

Estimated time:

Description

Clicking on impersonate button fails.

  • client-side error:
    xhr.js:178 POST http://localhost:8081/study-manager/rest/users/impersonate/ 405 (Method Not Allowed) dispatchXhrRequest
    xhr.js:178 xhrAdapter
    xhr.js:12 dispatchRequest @ dispatchRequest.js:59
  • server-side error:
    15-Apr-2018 23:29:34.964 WARNING [http-nio-8081-exec-1] org.springframework.web.servlet.PageNotFound.handleHttpRequestMethodNotSupported Request method 'POST' not supported 15-04-2018 23:29:35.022 [http-nio-8081-exec-5] TRACE c.c.k.s.rest.BaseController - Action null successfully created.
Actions #1

Updated by Miroslav Blaško about 6 years ago

  • Description updated (diff)
Actions #2

Updated by Miroslav Blaško about 6 years ago

  • Description updated (diff)
Actions #3

Updated by Miroslav Blaško about 6 years ago

  • Assignee set to Tomáš Klíma

Updated by Tomáš Klíma about 6 years ago

  • Status changed from New to Resolved

Try if it is fixed please. I cannot test it because I do not get this error on my computer.
However I think it was caused by backslash at the end of the url. I changed '...users/impersonate/' to '...users/impersonate'

Actions #5

Updated by Miroslav Blaško about 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF