Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

iSCSI webUI columns COMPLETELY break when edited

Description

Confirmed on fresh install. FreeNAS 11.3U-3.2

Bug =

in "Sharing > Block Shares (iSCSI)" = ALL UI Pages are considered identical when editing visible columns, they break the other UI pages.

Normal behavior:

Cycle through the 7 pages to watch the column names are changing.

To reproduce the bugged behavior:

Go to "Extents" page (for example).
Click "Columns" filter, deselect "NAA" (for example).
Cycle through the 7 pages now, all the columns are stuck on the wrong page, starting when you customize ANYTHING. This persists no matter what you set.

This can not be recovered from, the bug is stored in the freenas-v1.db.
The "account_bsdusers" table has a column "bsdusr_attributes" populated with stuff like:

{
"preferences": {
"platform": "freenas",
"timestamp": "2020-07-13T22:04:45.268Z",
"userTheme": "ix-dark",
"customThemes": [],
"favoriteThemes": [],
"showGuide": true,
"showTooltips": true,
"metaphor": "auto",
"allowPwToggle": true,
"preferIconsOnly": false,
"rebootAfterManualUpdate": false,
"tableDisplayedColumns": [
{
"title": "",
"cols": [
{
"name" : "Description" ,
"prop" : "comment" ,
"$$id" : "zsoz" ,
"resizeable" : true,
"sortable" : true,
"draggable" : true,
"canAutoResize" : true,
"width" : 305.5,
"isTreeColumn" : false,
"$$oldWidth" : 150
} ,
{
"name" : "Serial" ,
"prop" : "serial" ,
"$$id" : "2bul" ,
"resizeable" : true,
"sortable" : true,
"draggable" : true,
"canAutoResize" : true,
"width" : 305.5,
"isTreeColumn" : false,
"$$oldWidth" : 150
} ,
{
"name" : "Enabled" ,
"prop" : "enabled" ,
"$$id" : "wpwc" ,
"resizeable" : true,
"sortable" : true,
"draggable" : true,
"canAutoResize" : true,
"width" : 305.5,
"isTreeColumn" : false,
"$$oldWidth" : 150
}
]
}
]
}
}

It seems like tableDisplayedColumns is being applied to EVERY iscsi page once you customize anything.

Very broken.

Workaround :

sqlite3 /data/freenas-v1.db

UPDATE "account_bsdusers" SET "bsdusr_attributes"="{}" WHERE id=1;

(where id=1 means logged into the webUI as root):

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk August 5, 2020 at 12:05 AM

Bug Clerk July 17, 2020 at 8:32 PM

Bug Clerk July 17, 2020 at 6:47 PM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Impact

Medium

Components

Affects versions

Priority

More fields

Katalon Platform

Created July 13, 2020 at 11:18 PM
Updated July 1, 2022 at 4:51 PM
Resolved August 5, 2020 at 12:05 AM