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

#13211 - Update case when person's condition is set to "Dead" or "Bur… #13249

Conversation

sergiupacurariu
Copy link
Contributor

…ied"

Fixes #13211

@sormas-vitagroup
Copy link
Contributor

@@ -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 -> {
Copy link
Contributor

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

Copy link
Contributor

@leventegal-she leventegal-she left a 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);
Copy link
Contributor

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

@sormas-vitagroup
Copy link
Contributor

@sergiupacurariu sergiupacurariu merged commit 101067d into development Jan 31, 2025
7 of 12 checks passed
@sergiupacurariu sergiupacurariu deleted the feature-13211_update_case_when_person_set_to_Dead_or_buried branch January 31, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update case when person's condition is set to "Dead" or "Buried" [3]
3 participants