Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when filtering permissions for a role in 3.70.3-01 #495

Open
dymq opened this issue Oct 17, 2024 · 0 comments
Open

Error when filtering permissions for a role in 3.70.3-01 #495

dymq opened this issue Oct 17, 2024 · 0 comments
Assignees
Labels
triage Issues that need to be investigated, replicated

Comments

@dymq
Copy link

dymq commented Oct 17, 2024

Hi,
when trying to use filter in privileges selection for a role I am able only to type a subset of letters and unlimited asterisks, insertion of any other char causes following error to show up:

Uncaught TypeError: Cannot read properties of null (reading 'toLowerCase') (https://NEXUS-ADDRESS/static/nexus-rapture-bundle.js?_v=3.70.3-01&_e=OSS&_c=2024-10-02-1800-19686:2)

image

From dev tools console:


react-dom.production.min.js:101
Uncaught TypeError: Cannot read properties of null (reading 'toLowerCase') at PrivilegeSelectionMachine.js:72:114 at Array.filter (<anonymous>) at filteredData (PrivilegeSelectionMachine.js:72:21) at utils.js:385:61 at Array.reduce (<anonymous>) at E (utils.js:367:48) at H (actions.js:429:47) at e.resolveTransition (StateNode.js:876:21) at e.transition (StateNode.js:812:17) at interpreter.js:695:28
  | (anonymous) | @ | PrivilegeSelectionMachine.js:72 -- | -- | -- | --   | filteredData | @ | PrivilegeSelectionMachine.js:72   | (anonymous) | @ | utils.js:385   | E | @ | utils.js:367   | H | @ | actions.js:429   | e.resolveTransition | @ | StateNode.js:876   | e.transition | @ | StateNode.js:812   | (anonymous) | @ | interpreter.js:695   | a | @ | serviceScope.js:9   | e.nextState | @ | interpreter.js:694   | (anonymous) | @ | interpreter.js:102   | e.process | @ | scheduler.js:64   | e.schedule | @ | scheduler.js:43   | send | @ | interpreter.js:98   | onChange | @ | PrivilegesSelectionModal.jsx:78   | onChange | @ | NxTextInput.js:72   | Be | @ | react-dom.production.min.js:52   | Xe | @ | react-dom.production.min.js:52   | (anonymous) | @ | react-dom.production.min.js:53   | Mr | @ | react-dom.production.min.js:100   | Nr | @ | react-dom.production.min.js:101   | (anonymous) | @ | react-dom.production.min.js:113   | Ve | @ | react-dom.production.min.js:292   | (anonymous) | @ | react-dom.production.min.js:50   | Pr | @ | react-dom.production.min.js:105   | Jt | @ | react-dom.production.min.js:75   | Kt | @ | react-dom.production.min.js:74   | t.unstable_runWithPriority | @ | scheduler.production.min.js:18   | Wa | @ | react-dom.production.min.js:122   | He | @ | react-dom.production.min.js:292   | Zt | @ | react-dom.production.min.js:73

image

The issue was not present in 3.70.2-01.

BR,
Damian

@dymq dymq added the pending label Oct 17, 2024
@mrprescott mrprescott added triage Issues that need to be investigated, replicated and removed pending labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issues that need to be investigated, replicated
Projects
None yet
Development

No branches or pull requests

2 participants