-
Notifications
You must be signed in to change notification settings - Fork 144
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
#13211 - Update case when person's condition is set to "Dead" or "Bur… #13249
#13211 - Update case when person's condition is set to "Dead" or "Bur… #13249
Conversation
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=13249 |
@@ -49,7 +49,13 @@ protected AbstractBaseEjb(Class<ADO> adoClass, Class<DTO> dtoClass, SRV service) | |||
|
|||
@Override | |||
public DTO getByUuid(String uuid) { | |||
return Optional.of(uuid).map(u -> service.getByUuid(u, true)).map(this::toPseudonymizedDto).orElse(null); | |||
return Optional.of(uuid).map(u -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please do this only in person facade ejb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge after deleting the commented line
@@ -443,7 +454,8 @@ public CommitDiscardWrapperComponent<PersonEditForm> getPersonEditComponent( | |||
editView.addCommitListener(() -> { | |||
if (!editForm.getFieldGroup().isModified()) { | |||
PersonDto dto = editForm.getValue(); | |||
savePerson(dto); | |||
savePersonWithPersonConditionChanged(dto); | |||
// savePerson(dto); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please delete the commented line
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=13249 |
…ied"
Fixes #13211