Closed DanielLazarHTDM closed 5 months ago
I can try to reproduce it and check the solution. It seems a bit similar to my pull request in https://github.com/COVESA/vss-tools/pull/346 as both concern overlays for specific instances and the proposed fix mentioned here and my proposed fix touch the same place, but are somewhat different. I will tomorrow try to reproduce the problem in a small "test tree" like the test trees used in the PR referenced above and see if they both concern the same problem or if it is a different problem.
I have now finished my analysis, our "solutions" apparently covered different scenarios, your covered updating nodes "below" instances. mine covered adding node "below" instances. I have now updated my PR at https://github.com/COVESA/vss-tools/pull/346 to integrate both solutions and also added test cases which I think shall cover all scenarios.
Feel free to test it out.
Thank you, it works as expected now.
Currently if my overlay contains following:
and I do call:
final json file does not include extended data
dbc2vss
,vss2dbc
,dbc2name
. I assume that this should be considered as bug.I did research and found root of this problem. In the file:
So I've put little recursion to merge also childrens resulting
extended_attributes
are correctly copied to final JSON file. Since I don't have deep knowledge about everything how things are generated could someone please validate it ?