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

Property value cannot be loaded correctly #93

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

Property value cannot be loaded correctly #93

hieudole opened this issue Jun 30, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@hieudole
Copy link

@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
Copy link
Contributor

@fschultz 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.