-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Error on saving a filterscheme containing an enum #169
Comments
Can you please try the latest prerelease (alpha) to see if that fixes the issue? |
The bug still exists in FilterBuilder v3.2alpha-0277. Here is the xml of the filterscheme:
|
Could you please create a repro / share your code so we can implement this as a unit test? We made some improvements to the serialization engine in Catel (beta 7) today, but want to test it. |
Sorry for being so late. Here is my repo https://github.com/half-evil/FilterSchemeTests with a unit test of my save function. LibsCatel.Core 5.12.1-beta0262 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi WildGums-Team,
thank you for this useful component. I'm getting an exception
The '`' character, hexadecimal value 0x60, cannot be included in a name.
when I try to save/serialize a filterscheme that contains a rule based on an enum value.My example rule ToString is
Movement is equal to 'B1'
with the enum definitionThe exception gets thrown by calling
Catel.Runtime.Serialization.Xml.XmlSerializer.Serialize(path, memoryStream)
orFilterSerializationService.SaveFiltersAsync(path)
.I've found this issue Catel/Catel#1073 of Catel.Core v4. Maybe they are related.
Also an existing xml-file gets overwritten/deleted, if the serialization fails. Please can you change this behaviour, that the file gets only overwritten, when the serialization succeeds?
Platform: Win 10
.NET version: 4.6.1 and Core 3
FilterBuilder 3.1.1, Catel.Core 5.10.0 and 5.11.2
The text was updated successfully, but these errors were encountered: