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

Property value cannot be loaded correctly #93

Closed
hieudole opened this Issue Jun 30, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@hieudole

hieudole commented Jun 30, 2016

The GUID value property (such as PageLinkProperty) cannot be loaded correctly when the property editor opens up because the serializer converts that value into fast GUID which may include some special characters that are not allowed in URL.

Quick fix: Disable UseFastGuid in the JsonSerialization.cs file:
private static readonly JSONParameters GenericParameters = new JSONParameters {UseExtensions = false, UseFastGuid = false }; private static readonly JSONParameters TypedParameters = new JSONParameters { UseExtensions = true, UseFastGuid = false, UsingGlobalTypes = true };

Updated: This bug is caused when the PageLinkProperty is a member of CompositePropperty.

@fschultz

This comment has been minimized.

Show comment
Hide comment
@fschultz

fschultz Jun 30, 2016

Contributor

Thank you very much for reporting the problem and also providing the solution. Will look into it. Thanks!

Contributor

fschultz commented Jun 30, 2016

Thank you very much for reporting the problem and also providing the solution. Will look into it. Thanks!

@fschultz fschultz added the bug label Jun 30, 2016

@fschultz fschultz self-assigned this Jun 30, 2016

fschultz added a commit that referenced this issue Jul 5, 2016

@fschultz fschultz added the done label Sep 6, 2016

@fschultz fschultz added this to the Release 1.2.0 milestone Sep 6, 2016

@fschultz fschultz closed this Mar 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment