-
Notifications
You must be signed in to change notification settings - Fork 164
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
EdiSegmentGroup not serialised. #40
Comments
Hi @Nekeniehl, and don't worry about the tickets. I always try to respond as my time permits me todo. How do you escape your segment groups. Are you using the Can you point me to the EDI fragment and classes at your pull request. Thanks |
Hi, thanks, that was the problem, decorated the RFF as follows has solve it:
I will close the ticket and cancel the pull request, if I don't find any more troubles today I will pull the completely POCO for ORDRSP in a while. Thanks! |
First at all I have to say sorry for the bunch of tickets I'm opening lately.
The problem this time is when you have two EdiSegmentGroup in the Message Level, it only parses one:
I have EdiSegmentGroup for RFF and another EdiSegmentGroup for NAD. The problem seems to be in the
TryCreateContainer
, when the reader reach the NAD point, the stack contains 3 EdiStructure, the EdiSegmentGroup for the RFF, the message and the interchange. The first conditional is true but when reaches the loop for//Nested hierarchy
the conditionalif (!level.IsGroup)
is false on the Message level (where the other EdiSegmentGroup for NAD is) and simply goes out without finding the property.I don't know if this can help you to know the problem, but testing, and playing around while debugging I jump to the "else" directly from the first conditional and it works, parsing both EdiSegmentGroups.
Thanks once again.
The text was updated successfully, but these errors were encountered: