Skip to content
Snippets Groups Projects

Added if statement to check if metadata already exists.

All threads resolved!

Added if statement to copy-absolutes to check if metadata already exists before upload. If it does, the upload will be skipped. I could make this a separate function but not sure if it is necessary.

I have tested this thoroughly for 2023 data in production and it always works as expected. However, this often does not work correctly in staging due to the nature of the staging database. The MetadataFactory query will always return empty readings if they exist in the staging database which is bizarre. Empty readings should not exist in production but perhaps the MetadataFactory queries should be tested more in a separate issue.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading