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

PickList crashes Application when using SourceSelection #2133

Closed
master117 opened this issue Jun 22, 2021 · 0 comments
Closed

PickList crashes Application when using SourceSelection #2133

master117 opened this issue Jun 22, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@master117
Copy link
Contributor

I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
https://codesandbox.io/s/goofy-platform-1jr8k

Minimal reproduction of the problem with instructions
Click on an Item: App crashes due to NPE.

The NPE is in PickList.js, the faulty commit is:
b0ac743

It's not checked whether this.state.sourceSelection exists, which it doesn't when the user supplies their own Source/TargetSelection

@mcandu mcandu added the Type: Bug Issue contains a defect related to a specific component. label Jun 23, 2021
@mcandu mcandu added this to the 6.4.2 milestone Jun 23, 2021
@mcandu mcandu closed this as completed in 07360c7 Jun 23, 2021
@mertsincan mertsincan modified the milestones: 6.5.0, 6.5.0-rc1 Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

3 participants