• Resolved hgh001

    (@hgh001)


    I am running the latest version of the plugin (1.8.11).

    When exporting and importing the Types settings, the XML that is output cannot be parsed by the importer.

    Specifically, it is breaking on special character entities. The exported file contains the following, e.g.

    <wpcf-fields-checkboxes-option-Cote_dIvoire>
        <title>C&ocirc;te d'Ivoire</title>
        <set_value>C&ocirc;te d'Ivoire</set_value>
        <display>db</display>
        <display_value_not_selected></display_value_not_selected>
        <display_value_selected></display_value_selected>
    </wpcf-fields-checkboxes-option-Cote_dIvoire>

    The entity is improperly escaped and has to be changed manually to the character-code version (e.g. Côte d'Ivoire) in order for the file to be parsed.

    https://www.ads-software.com/plugins/types/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello hgh001, thank you for bringing this to our attention. I was able to confirm the issue and we’ll fix it in the next release.

    Hi again, hgh001. We’re in a process of debugging this issue. Would you be willing to provide the actual XML file that was causing you problems? If yes, kindly send it to my e-mail address [email protected].

    Thread Starter hgh001

    (@hgh001)

    Hi Jan,

    Thanks for the addition info over email. Just to confirm, my test case now works in the new version 1.9 of the plugin. I am exporting custom types and fields settings from one blog to another in the same multisite install.

    I noticed that the problem field
    <set_value>C&ocirc;te d&Ivoire</set_value>
    is now encoded as
    <set_value>C?te d'Ivoire</set_value>

    I noticed that the import feature allows you to set the encoding but the export does not. I suppose that as long as I have everything in UTF-8 (as it should be) this is fine.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error with settings XML import/export’ is closed to new replies.