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

fix: add the missing location details to a newly created declaration which was causing advanced search to break #7551

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

Siyasanga
Copy link
Collaborator

The event location information was missing in the bundle that gets sent to ElasticSearch fot newly created declarations, this caused Advanced Search not to work when searching by event location

#7494

This comment has been minimized.

The event location information was missing in the bundle created when a
new declaration is being submitted

#7494
We were fetching the location information with checking if it already
exists yet, this happens when an event location is a residential
address.

#7494
@Siyasanga
Copy link
Collaborator Author

@Zangetsu101 I've added a condition to check if a location resource exists in the bundle before trying to fetch and that solved the failing test. Can you review it again please

@Siyasanga Siyasanga merged commit 4734b81 into develop Sep 3, 2024
22 checks passed
@Siyasanga Siyasanga deleted the ocrvs-7494 branch September 3, 2024 07:57
github-actions bot pushed a commit that referenced this pull request Sep 3, 2024
github-actions bot pushed a commit that referenced this pull request Sep 3, 2024
Siyasanga pushed a commit that referenced this pull request Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants