Skip to content

Check if entity is found on hydration before exporting #2461

Ben requested to merge fix/hydrated-export-excep-2461 into master

Ticket(s) / Related Merge Requests

Closes #2461 (closed)

Summary of Changes

Fix an error where we try to export ALL entity owners on export - if the owner doesn't exist or is malformed, this is causing an error spamming our logs.

Testing Considerations

I've configured @testacc4 to have an entity that triggers this error. To see it, visit the channel on ANOTHER sandbox, and watch the logs for that pod, you will see the error seen in Sentry - note posts do not load.

Then try to visit the channel on this sandbox, and watch the logs for THIS pod - you should see the feed loads, and no error is present in the logs.

Deployment Considerations

Standard deployment.

Regression Scope

Export of all entity owners.

Platform Affected (web, mobile, etc)

Engine

Developer Testing Completed

Manual

Screenshots / Screen Recording

NOT this sandbox

image

This sandbox

image

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports