Closed KrMeeus closed 1 year ago
Confirmed. I think this issue should be fixed by abeb78a9cdf8f316922a35cd03ef30d3ad186ad3 now on the master branch. Can you test?
I've fairly confident in this fix, which is included in PVXS 1.1.3.
Sorry for the delay, we needed some time to check the proposal. Yes, the fix is solving the reported issue. Thanks for the prompt action !
Describe the bug Creating TypeDef from Value containing Union does not work. This is clearly a bug that can be reproduced with the test as follows.
To Reproduce The bug can be reproduced with following test:
Expected behavior
TypeDef should return (and shouldn’t go into an infinite recursion).
Information (please complete the following):
PVXS Version or Git commit ID: initially fixed on edbcd46a5f41366e9601eb9832cd61c260ff58e4, merged and retested with 9c546f0ed448ec9f17d9b676119fa98d66217f6a
Host OS: CentOS8.5.2111 (WSL2)
output of pvxinfo -D.
Additional context The problem is investigated and a fix proposal is ready. We could support in pushing the upstream and launch a pull-request to review. Please let us know you preference.