fix: copy_object date range metadata copying#139
Closed
Hasakev wants to merge 35 commits into
Closed
Conversation
Contributor
|
@Hasakev thanks for opening this PR. Could you sign your commits so that we can safely merge? |
mcllerena
approved these changes
May 20, 2026
pesap
approved these changes
May 21, 2026
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
#123) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
…0 to 1.22.0 (#120) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
#123) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
…0 to 1.22.0 (#120) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marck Llerena V. <140716266+mcllerena@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Contributor
Author
|
I’m going to close this PR and reopen it from a clean branch. I’ve been having trouble getting the existing rebased commits signed/verified correctly, so rather than keep rewriting this branch, I’ll recreate the changes with a clean signed commit history. The new PR will contain the same fix for copying |
Contributor
|
Great, thanks you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves #138.
This PR updates
copy_objectso copied objects preserve date-bounded property metadata.Previously,
_copy_object_propertiescopied the coret_datarows and related metadata such ast_tag,t_text, andt_band, but did not copy the associatedt_date_fromandt_date_torows. This meant copied objects could lose date range metadata even though the main property rows were copied successfully.Changes
t_date_fromrows using the existingtemp_data_mappingtable.t_date_torows using the existingtemp_data_mappingtable.t_datarows rather than the original rows.Why
copy_objectshould preserve all property-related metadata so that copied objects behave the same as the source object. Without copyingt_date_fromandt_date_to, properties with date ranges become incomplete after copying.Testing
copy_objectpreserves:t_datat_tagt_textt_bandt_date_fromt_date_to