Skip to content

[Internal API][only 2.10] Fixed setting rendered_map_index via internal api - #49057

Merged
jscheffl merged 1 commit into
apache:v2-10-testfrom
boschglobal:bugfix/rendered-map-index-is-not-reset-during-sync
Apr 11, 2025
Merged

jscheffl merged 1 commit into
apache:v2-10-testfrom
boschglobal:bugfix/rendered-map-index-is-not-reset-during-sync

Conversation

@AutomationDev85

Copy link
Copy Markdown
Contributor

Overview

This PR fixes an issue with the current rendered_map_index implementation. If map index is rendered during task execution and the rendered_map_index of the TI in DB is empty the refresh_from_db will reset the rendered_map_index to None. It is required before using the source to check that it is not none. Still checking only for Phydantic calss to affect only the internal api logic and not access old implementation.

Details of change:

  • Check if refresh_from_db is set before using the source to set the value.

@jscheffl

Copy link
Copy Markdown
Contributor

Note, this links to #48571 correct?

@jscheffl jscheffl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THat totally makes sense... how could I over-look this last time during review. rendered_map_index is not depending on note content :-D

@jscheffl

Copy link
Copy Markdown
Contributor

CI Problems are un-related to the PR. Merging

@jscheffl
jscheffl merged commit 7634890 into apache:v2-10-test Apr 11, 2025
@kaxil kaxil mentioned this pull request May 15, 2025
9 of 39 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants