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

[DPP] App crashes with more than one policy #275

Closed
matbmoser opened this issue Apr 15, 2024 · 1 comment · Fixed by #314
Closed

[DPP] App crashes with more than one policy #275

matbmoser opened this issue Apr 15, 2024 · 1 comment · Fixed by #314
Assignees
Labels
bug Something isn't working frontend Issue or PR connected to the frontend application PI13 R24.05 All issues included in R24.05

Comments

@matbmoser
Copy link
Contributor

Current Behavior

When there are more than one policy selection  showing in the dpp Web UI, it encounters two potential bugs during the selection.

If the other than first policy is selected, PolicyId field (in Network Tab) holds the policy object, it should be the Id of the policy of type String (see screenshot-1 and screenshor-2). 
If the first policy is selected, it contains the correct policyId as String (which is correct), but the backend throws the error message: "Cannot invoke "String.equals(Object)" because the return value of "org.eclipse.tractusx.digitalproductpass.models.negotiation.Set.getId()" is null" (see screenshot-3)

Screenshot 1

image

Screenshot 2

image

Screenshot 3

image

Expected Behavior

To select the proper policy and send it.

Steps To Reproduce

Receive two policies in the selection mode

@matbmoser matbmoser added bug Something isn't working R24.05 All issues included in R24.05 labels Apr 15, 2024
@matbmoser matbmoser added this to the v3.0.0 (R24.05) milestone Apr 15, 2024
@matbmoser matbmoser moved this from Planning to Backlog in Digital Product Pass Apr 15, 2024
@matbmoser matbmoser added the frontend Issue or PR connected to the frontend application label Apr 15, 2024
@matbmoser matbmoser moved this from Backlog to Work in progress in Digital Product Pass Apr 30, 2024
@davidzynda davidzynda moved this from Work in progress to Review in Digital Product Pass May 13, 2024
@matbmoser
Copy link
Contributor Author

Will be solved in #314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Issue or PR connected to the frontend application PI13 R24.05 All issues included in R24.05
Projects
Archived in project
3 participants