CLOSER-Cohorts / archivist

Archivist is designed to be an easy to use editor that allows documention of questionnaires and data in DDI-Lifecycle
MIT License
18 stars 8 forks source link

REACT: Resolving topics for questions linked to variable with a resolved topic #780

Closed HayleyMills closed 7 months ago

HayleyMills commented 1 year ago

https://closer-archivist-staging.herokuapp.com/instruments/ncds_81_i/map/ https://closer-archivist-staging.herokuapp.com/datasets/695 Questions _4 and _5 are linked to n4140 which has inherited a topic from the question _4 image

Since the variable mapped to question _5 has a topic (even it is one that has been inherited), I would expect the question _5 to inherit that topic as it is linked. image

HayleyMills commented 1 year ago

This is true for the reverse. If a variable is mapped to a topic the question inherits the topic, when another variable is mapped to that question, that variable should have the same topic

e.g. image image

HayleyMills commented 1 year ago

Update, it looks like it is trying to resolve to the topic, but it disappears when you refresh e.g.

image

simonreed commented 7 months ago

@HayleyMills this should be now be fixed on staging

HayleyMills commented 7 months ago

Tested on staging and the inheritance is now working as described.