Project

General

Profile

Bug #66700

Fix auth.get_token

Added by William Grzybowski almost 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

[2018/12/31 11:02:43] (ERROR) aiohttp.server.log_exception():319 - Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 390, in start
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 366, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 106, in impl
    return await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 96, in impl
    return await handler(request)
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 384, in download
    if (token['attributes'] or {}).get('job') != job_id:
AttributeError: 'Token' object has no attribute 'get'

History

#1 Updated by Bug Clerk almost 2 years ago

  • Status changed from Unscreened to In Progress

#2 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#3 Updated by William Grzybowski almost 2 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies
  • Needs QA changed from Yes to No
  • Needs Merging changed from Yes to No

#4 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Using middlewared /_download/ broken after auth changes to Fix auth.get_token
  • Needs Doc changed from Yes to No

Also available in: Atom PDF