Details
-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
Low
-
Resolution: Complete
-
Affects Version/s: 11.3-U3.2
-
Fix Version/s: SCALE-20.10-ALPHA, 12.0-BETA2, 11.3-U5
-
Impact:Medium
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):