Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong value for asserts in 'BT-1375-Procedure' #1067

Open
zolomail opened this issue Nov 18, 2024 · 1 comment
Open

Wrong value for asserts in 'BT-1375-Procedure' #1067

zolomail opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels
schematrons Related to the Schematron validation (/schematrons SDK folder)
Milestone

Comments

@zolomail
Copy link

zolomail commented Nov 18, 2024

See :
https://github.com/OP-TED/eForms-SDK/blob/339bd912ffdc63bfa0c3554b6ebccf3f98686736/fields/fields.json#L5827-L5875

The 'value' expression assigns the variable $lotA and $lotB but both $interestA and $interestB use $lotA for filtering, this is the same for all the values below.

every
	text:$lotA in BT-1375-Procedure,
	text:$lotB in BT-1375-Procedure,
	date:$interestA in BT-631-Lot[BT-137-Lot == $lotA],
	date:$interestB in BT-631-Lot[BT-137-Lot == $lotA]
satisfies ($interestA == $interestB)
@zolomail zolomail changed the title Are these value expressions correct? Wrong value for asserts in 'BT-1375-Procedure' Nov 18, 2024
@YvesJo YvesJo self-assigned this Nov 19, 2024
@YvesJo YvesJo added the schematrons Related to the Schematron validation (/schematrons SDK folder) label Nov 19, 2024
@YvesJo YvesJo added this to the SDK 1.14.0 milestone Nov 19, 2024
@YvesJo
Copy link
Contributor

YvesJo commented Nov 19, 2024

Hi,
Thanks for reporting this. We'll look into it and fix it in a next SDK release
KR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schematrons Related to the Schematron validation (/schematrons SDK folder)
Projects
None yet
Development

No branches or pull requests

2 participants