Probem Description:
Given
- WLS 12 R2 is used
- User is logged in
- Logged in user is member of camunda-admin
If user open the admin dashboard then the links for users, groups and tenants are not visible
AT:
- Missing links on admin dashboard are visible
Notes:
when inspecting the requests, we see that the browser sends does the following request:
OPTIONS /camunda/api/engine/engine/default/user/ HTTP/1.1 Host: localhost:7001 Connection: keep-alive Accept: application/hal+json, application/json; q=0.5 Origin: http://localhost:7001 User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 Referer: http://localhost:7001/camunda/app/admin/default/ Accept-Encoding: gzip, deflate, sdch Accept-Language: en-GB,en;q=0.8,de-DE;q=0.6,de;q=0.4,en-US;q=0.2 Cookie: JSESSIONID=HjnoFsfn6pOB1f9i8Mesb1-g0koERTD1Fhs0XWukNYbP8wdeCGZq!122952626
As we can see, the browser requests application/hal+json, application/json; q=0.5
The response comes back empty and has the following headers
HTTP/1.1 200 OK Date: Wed, 25 May 2016 13:33:17 GMT Content-Length: 0 Content-Type: application/hal+json X-Authorized-User: demo X-Authorized-Engine: default Allow: HEAD,GET,OPTIONS X-Authorized-Apps: admin,tasklist,cockpit
The content negotiation determined a hal response which is wrong
The client should only send Accept: application/json
This is the controller panel for Smart Panels app
- is related to
-
CAM-6244 Create Filter button not visible on WLS 12R2
- Closed