Project

General

Profile

Bug #26051

Regression: Users/Groups validation error

Added by William Grzybowski about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Critical
Assignee:
Vladimir Vinogradenko
Category:
GUI (new)
Severity:
New
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

Environment:

Software Version: FreeNAS-11-MASTER-201709281114 (1f98ec693)
Request Method: POST
Request URL: http://192.168.100.221/admin/account/bsdusers/add/

Traceback:
File "./freenasUI/freeadmin/options.py" in add
  363.                     mf.save()
File "./freenasUI/account/forms.py" in save
  403.             pk = c.call(*args, data)
File "./freenasUI/account/forms.py" in save
  403.             pk = c.call(*args, data)
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in call
  384.                 raise ValidationErrors(c.extra)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  42.             response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
  249.             response = self._get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  178.             response = middleware_method(request, callback, callback_args, callback_kwargs)
File "./freenasUI/freeadmin/middleware.py" in process_view
  162.         return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  23.                 return view_func(request, *args, **kwargs)
File "./freenasUI/freeadmin/options.py" in wrapper
  209.                 return self._admin.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapped_view
  149.                     response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  57.         response = view_func(request, *args, **kwargs)
File "./freenasUI/freeadmin/site.py" in inner
  142.             return view(request, *args, **kwargs)
File "./freenasUI/freeadmin/options.py" in add
  378.                     self.handle_middleware_validation(mf, e)
File "./freenasUI/freeadmin/options.py" in handle_middleware_validation
  728.                 if mf.middleware_attr_schema:

Exception Type: AttributeError at /admin/account/bsdusers/add/
Exception Value: 'bsdUsersForm' object has no attribute 'middleware_attr_schema'

History

#1 Updated by Vladimir Vinogradenko about 3 years ago

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

#2 Updated by William Grzybowski about 3 years ago

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

#3 Updated by Vladimir Vinogradenko about 3 years ago

  • Status changed from Reviewed by Developer to Ready For Release

#5 Updated by Dru Lavigne almost 3 years ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF