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

Blank values get written out differently from a save compared to an export #70

Closed
KevinJump opened this issue Dec 5, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@KevinJump
Copy link
Owner

When you save a content or media item with a null/blank value the XML contains a blank item

<test>
  <value></value>
</text>

however, if you export it (via the dashboard) it gets wrapped in cdata

<test>
  <value><![CDATA[]]></value>
</test>

this is because when you save the content, Umbraco tells you the value is null when we export it, Umbraco says its blank, and we treat these slightly differently.

@KevinJump
Copy link
Owner Author

#883b3b1a39b5683be02b9ddcab87334211ba2498 fixes this, by wrapping nulls in cdata sections too.

@KevinJump KevinJump added the bug Something isn't working label Dec 5, 2019
@KevinJump KevinJump added this to the 8.3.1 - Domain fix milestone Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant