Project

General

Profile

Bug #19447

Adding user with utf8 homedir traceback

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

Status:
Resolved
Priority:
Nice to have
Assignee:
William Grzybowski
Category:
GUI (new)
Target version:
Seen in:
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

Rollbar #261

Traceback (most recent call last):
+ 1 non-project frame
2
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py", line 156 in process_view [args] [locals]
return login_required(view_func)(request, *view_args, **view_kwargs)
+ 1 non-project frame
4
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py", line 208 in wrapper [locals]

return self._admin.admin_view(view)(*args, **kwargs)
+ 2 non-project frames
7
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/site.py", line 145 in inner [args] [locals]
return view(request, *args, **kwargs)
8
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py", line 364 in add [args] [locals]
mf.save()
9
File "/usr/local/www/freenasUI/../freenasUI/account/forms.py", line 519 in save [args] [locals]
homedir=str(self.cleaned_data['bsdusr_home']),
UnicodeEncodeError: 'ascii' codec can't encode characters in position 11-18: ordinal not in range(128)

Associated revisions

Revision fb5c2d62 (diff)
Added by William Grzybowski about 3 years ago

fix(gui): adding user with utf8 homedir Ticket: #19447

Revision c4b0dda0 (diff)
Added by William Grzybowski about 3 years ago

fix(gui): adding user with utf8 homedir Ticket: #19447 (cherry picked from commit fb5c2d62de7ec5e6066390cbda8b40d84217376e)

Revision 1c3b8402 (diff)
Added by William Grzybowski about 3 years ago

fix(gui): adding user with utf8 homedir Ticket: #19447 (cherry picked from commit fb5c2d62de7ec5e6066390cbda8b40d84217376e)

Revision 2a0aaec1 (diff)
Added by William Grzybowski about 3 years ago

fix(gui): adding user with utf8 homedir Ticket: #19447 (cherry picked from commit fb5c2d62de7ec5e6066390cbda8b40d84217376e)

History

#1 Updated by William Grzybowski about 3 years ago

  • Status changed from Fix In Progress to Needs Developer Review
  • Assignee changed from William Grzybowski to Suraj Ravichandran

Care to review, Suraj? Thanks

#2 Updated by Suraj Ravichandran about 3 years ago

  • Status changed from Needs Developer Review to Reviewed
  • Assignee changed from Suraj Ravichandran to William Grzybowski
  • % Done changed from 0 to 100

Spoke with William about a non-critical suggestion from my end.

The rest is good.

Marking as reviewed

#3 Updated by Vaibhav Chauhan about 3 years ago

  • Status changed from Reviewed to Ready For Release

#4 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF