Complete
Details
Details
Assignee
Lola Yang
Lola YangReporter
gen btc
gen btcLabels
Impact
Medium
Components
Fix versions
Affects versions
Priority
More fields
More fields
Katalon Platform
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
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):