-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
c/consoleRelated to consoleRelated to consolee/quickfixcan be wrapped up in few hourscan be wrapped up in few hoursk/bugSomething isn't workingSomething isn't workingp/urgentImmediate action requiredImmediate action required
Description
Problem: Error: Cannot read property 'length' of undefined
Additional Info:
- Occurs when editing 'SELECT' permission.
- Is intermittent and usually occurs on 1 of my 2 roles for a table.
- Bulk sql/ loadSchema data from server is missing 'permissions.select.computed_fields' empty array
- I don't have any computed_columns
v1.1.0-beta.2
line 89 - console/src/components/Services/Data/PermissionsSummary/utils.js
permission['computed_fields'] is undefined
Object.keys(tableFields).forEach(fieldType => {
noFields = noFields && !permission[fieldType].length;
allFields =
allFields &&
(permission[fieldType] === '*' ||
permission[fieldType].length === tableFields[fieldType].length); <-- there is not a computed_fields property on permission
});
Thanks,
John
Metadata
Metadata
Assignees
Labels
c/consoleRelated to consoleRelated to consolee/quickfixcan be wrapped up in few hourscan be wrapped up in few hoursk/bugSomething isn't workingSomething isn't workingp/urgentImmediate action requiredImmediate action required