Project

General

Profile

Bug #18582

Allow utf8 in zfs option

Added by William Grzybowski almost 3 years ago. Updated over 1 year 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

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/storage/views.py", line 471 in dataset_create [args] [locals]
'notifier().zfs_set_option(name=str(dataset_name...rg.freenas:description", value=dataset_comments)'
5
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py", line 3948 in zfs_set_option [args] [locals]
value = str(value)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)

Rollbar 164


Related issues

Blocks FreeNAS - Feature #14355: Add Comment column in Storage section (for zvol and datasets)Resolved2016-03-30

Associated revisions

Revision cc7b2340 (diff)
Added by William Grzybowski almost 3 years ago

fix(notifier): allow utf8 zfs option value

Ticket: #18582

Revision e30e85a4 (diff)
Added by William Grzybowski almost 3 years ago

fix(notifier): allow utf8 zfs option value

Ticket: #18582
(cherry picked from commit cc7b2340a36ccdd9c9e8e74e8f07f28cfd4d33f6)

Revision 141cafc8 (diff)
Added by William Grzybowski almost 3 years ago

fix(notifier): allow utf8 zfs option value

Ticket: #18582
(cherry picked from commit cc7b2340a36ccdd9c9e8e74e8f07f28cfd4d33f6)

History

#1 Updated by William Grzybowski almost 3 years ago

  • Status changed from Fix In Progress to 19
  • Target version changed from 9.10.1-U3 to 9.10.2
  • Seen in changed from 9.10.1-U3 to 9.10.2

#2 Updated by William Grzybowski almost 3 years ago

  • Blocked by Feature #14355: Add Comment column in Storage section (for zvol and datasets) added

#3 Updated by William Grzybowski almost 3 years ago

  • Subject changed from Allow utf8 in dataset comment to Allow utf8 in zfs option

#4 Updated by William Grzybowski almost 3 years ago

  • Blocked by deleted (Feature #14355: Add Comment column in Storage section (for zvol and datasets))

#5 Updated by William Grzybowski almost 3 years ago

  • Blocks Feature #14355: Add Comment column in Storage section (for zvol and datasets) added

#6 Updated by William Grzybowski almost 3 years ago

  • Status changed from 19 to Needs Developer Review

#7 Updated by William Grzybowski almost 3 years ago

  • Assignee changed from William Grzybowski to Suraj Ravichandran

#8 Updated by Suraj Ravichandran almost 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

#9 Updated by Vaibhav Chauhan over 2 years ago

  • Status changed from Reviewed to Ready For Release

#10 Updated by Dru Lavigne over 1 year ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF