-
Notifications
You must be signed in to change notification settings - Fork 47
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
Properties are not filled in despite EnableParameterizedContentWithPropertyAssignments #427
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Hey! 😅 Thank you for taking the time to report these issues. 👍 To start, are you sure this is using the latest preview? (#424 (comment)) I did try reproducing it but I have a passing test here: home/test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue427Tests.cs Lines 12 to 78 in c560a2a
Is there a difference in the class/graph perhaps? If you can provide some code again I can check it out further for you. |
It's not latest preview, this issue is not related to previous one. It's latest stable (3.2.4). Code is in the same repository: https://github.com/maxkoshevoi/ExtendedXmlSerializer-423 |
Oh, regarding the test. Your array type is wrong. It should be |
OK! I see it now. This is actually an issue with both |
Goodness, I gotta say that whenever a new issue is reported here now part of me freaks out as I have to dig through code I wrote over 3 years ago and get acclimated with how I was thinking back then which is NOTHING LIKE WOULD DO NOW. 😅 Anyways, this was a tricky one but I think I got it situated for you: |
Thank you so much for (in no particular order) fixing this so quickly and maintaining your 3-year-old repository. So, fix for this and previous issues are releasing this Thursday, right? Or should I use pre-release version for now. I need to store child classes in base class array. |
Thank you for the kind words, @maxkoshevoi 🙏 Indeed, you should use the preview version for now until Tuesday, at which point I will release to NuGet. Please let me know if you encounter any other/additional issues between now and then and I will look into them for you. 👍 |
I have merged in this PR so the updated version for the preview feed should be used:
Unfortunately, AppVeyor doesn't provide notifications on PR merges, only commits so I have to provide this manually. The above should work, let me know if it doesn't otherwise. |
This fix has been deployed to NuGet and can be found here: https://www.nuget.org/packages/ExtendedXmlSerializer/ Thanks again for reporting and providing code towards discovering, diagnosing, and ultimately fixing this issue. Please do let me know of any issues you find around this or any other issue and I will take a look into it for you. Closing this issue for now.
|
Hi again =)
So now I'm facing denationalization issue. Type has parameterized constructor, it serializes fine, and on deserialization constructor is called, but no other properties are filled in:
Updated repository, so it contains repro code for this issue: https://github.com/maxkoshevoi/ExtendedXmlSerializer-423
The text was updated successfully, but these errors were encountered: