Open HolQue opened 1 week ago
Hi @namsonx , please look into this. This would be required for 0.13.1 Files can be multiple times imported, also in different files. Only recursion must be blocked. Thank you, Thomas
Hello Holger,
This ticket was implemented and pushed to stabi branch, could you help us verify it.
Thank you, Son
Hi Son,
the error message changed a bit, but the JSON content above still detects a cyclic import.
Hello Holger,
It was my mistake, I pushed the tiny change to stabi branch to correct it.
Thank you, Son
Retest successful. Issue can be closed.
A file containing common values, is imported
This is detected as 'cyclic import' mistakenly.
But should be possible.
Example:
Result:
Test cases: JPP_1112, JPP_1113 (commented out)
Reference: https://github.com/test-fullautomation/python-jsonpreprocessor/issues/389#issuecomment-2479012648