taipy icon indicating copy to clipboard operation
taipy copied to clipboard

data_node_selector does not select the right data node when multiple scenario

Open AlexandreSajus opened this issue 2 years ago • 3 comments

image

  • Here, I have created two scenarios: prediction_scenario and 2016
  • I have selected the scenario prediction_scenario using the scenario_selector (1)
  • I want to select the prediction data node of the scenario 2016, so I select it using the data node selector (2)
  • The data node viewer shows me the prediction data node of prediction_scenario instead of 2016 (3)

Expected Outcome: Selecting a data node using the data node viewer should override the scenario selector and select the correct data node of the correct scenario.

AlexandreSajus avatar Nov 06 '23 10:11 AlexandreSajus

Can you provide the code you are using?

jrobinAV avatar Nov 06 '23 13:11 jrobinAV

Ah yes my bad, the code is this repo: https://github.com/Avaiga/demo-yearly-prediction

AlexandreSajus avatar Nov 06 '23 13:11 AlexandreSajus

thx.

jrobinAV avatar Nov 06 '23 13:11 jrobinAV

The code comes from a template generation. It can be a bug in taipy-template then.

jrobinAV avatar Jan 26 '24 15:01 jrobinAV

Can you extract a reproduction example ?

FredLL-Avaiga avatar Jan 29 '24 16:01 FredLL-Avaiga

I tried on a smaller reproduction example and the issue was fixed. The issue seems to come from the build_dn_partial that existed in our template but the template has been updated to remove this function. Closing this as this is not an issue anymore/

AlexandreSajus avatar Jan 31 '24 10:01 AlexandreSajus