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

[Bug]: Copy/Paste Error on MaxStrLen #27695

Open
1 task done
dannoe opened this issue Nov 26, 2024 · 0 comments
Open
1 task done

[Bug]: Copy/Paste Error on MaxStrLen #27695

dannoe opened this issue Nov 26, 2024 · 0 comments

Comments

@dannoe
Copy link

dannoe commented Nov 26, 2024

Describe the issue

The MaxStrLen should be checking for the correct variables. This is most likely a copy&paste error and was overlooked as these lines are quite long:

VendorName := CopyStr(GetNodeByPath(TempXMLBuffer, '/' + DocumentType + '/cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name'), 1, MaxStrLen(VATRegistrationNo));
VendorAddress := CopyStr(GetNodeByPath(TempXMLBuffer, '/' + DocumentType + '/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:StreetName'), 1, MaxStrLen(VATRegistrationNo));

Expected behavior

Steps to reproduce

Additional context

I will provide a fix for a bug

  • I will provide a fix for a bug
@dannoe dannoe added the bug Something isn't working label Nov 26, 2024
@aholstrup1 aholstrup1 removed the bug Something isn't working label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants