Project

General

Profile

Bug #27099

Fix traceback on cloud credentials

Added by William Grzybowski 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Expected
Assignee:
William Grzybowski
Category:
GUI (new)
Target version:
Seen in:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

AttributeError: 'NoneType' object has no attribute 'read'
  File "django/core/handlers/exception.py", line 42, in inner
    response = get_response(request)
  File "django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
  File "django/core/handlers/base.py", line 178, in _get_response
    response = middleware_method(request, callback, callback_args, callback_kwargs)
  File "freenasUI/freeadmin/middleware.py", line 162, in process_view
    return login_required(view_func)(request, *view_args, **view_kwargs)
  File "django/contrib/auth/decorators.py", line 23, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "freenasUI/freeadmin/options.py", line 210, in wrapper
    return self._admin.admin_view(view)(*args, **kwargs)
  File "django/utils/decorators.py", line 149, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "freenasUI/freeadmin/site.py", line 142, in inner
    return view(request, *args, **kwargs)
  File "freenasUI/freeadmin/options.py", line 349, in add
    valid &= mf.is_valid(formsets=formsets)
  File "freenasUI/common/forms.py", line 147, in is_valid
    valid = super(ModelForm, self).is_valid()
  File "django/forms/forms.py", line 169, in is_valid
    return self.is_bound and not self.errors
  File "django/forms/forms.py", line 161, in errors
    self.full_clean()
  File "django/forms/forms.py", line 370, in full_clean
    self._clean_fields()
  File "django/forms/forms.py", line 391, in _clean_fields
    value = getattr(self, 'clean_%s' % name)()
  File "freenasUI/system/forms.py", line 3477, in clean_GCLOUD_keyfile
    keyfile = keyfile.read()

Associated revisions

Revision ad5063f6 (diff)
Added by William Grzybowski 10 months ago

fix(gui): make sure keyfile exists

Ticket: #27099

Revision d719f792 (diff)
Added by William Grzybowski 10 months ago

fix(gui): make sure keyfile exists

Ticket: #27099
(cherry picked from commit ad5063f63dedc1fa156e9a8b14b800865b64ac7f)

Revision 1aeadb0b (diff)
Added by William Grzybowski 10 months ago

fix(gui): make sure keyfile exists

Ticket: #27099
(cherry picked from commit ad5063f63dedc1fa156e9a8b14b800865b64ac7f)

Revision e97f9809 (diff)
Added by William Grzybowski 10 months ago

fix(gui): make sure keyfile exists

Ticket: #27099

History

#1 Updated by William Grzybowski 10 months ago

  • Status changed from Screened to Needs Developer Review
  • Assignee changed from William Grzybowski to Vladimir Vinogradenko

#2 Updated by Vladimir Vinogradenko 10 months ago

  • Status changed from Needs Developer Review to Reviewed by Developer
  • Assignee changed from Vladimir Vinogradenko to William Grzybowski

#3 Updated by William Grzybowski 10 months ago

  • Status changed from Reviewed by Developer to Ready For Release

#4 Updated by Dru Lavigne 10 months ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF