Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

General: Hero version representations have full context #3638

Merged
merged 1 commit into from
Aug 12, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Add all keys from anatomy data to representation context even if it's already there.

Description

Integrate hero versions skipped reusing of anatomy data values in repre context if the key was already there but e.g. for project or task the key can be there but not all subkeys were used. Was found out because project name was filled but project code was missing in representation context.

Testing notes:

  1. Publish hero version which does not use project code in templates
  2. Check DB if representations contain project code in context

@iLLiCiTiT iLLiCiTiT self-assigned this Aug 9, 2022
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Aug 9, 2022
Copy link
Member

@kalisp kalisp left a comment

Choose a reason for hiding this comment

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

Screenshot 2022-08-12 130722

@iLLiCiTiT iLLiCiTiT merged commit 9372f11 into develop Aug 12, 2022
@iLLiCiTiT iLLiCiTiT deleted the bugfix/integrate_hero_repre_context branch August 12, 2022 11:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants