Import skipping radio button (1 post)

  1. webmaestro
    Posted 3 years ago #

    It appears that the Types v1.0.3 plugin's Import infrastructure is setting radio button values to NULL instead of 0.

    The Export correctly sets the value to 0, but the import is setting values which should be 0 to NULL (the field is created, but it has a default value = NULL).

    Here's a sample Types export XML block:

      <name>My Radio Field - Name</name>

    IOW, in the above block, the value and title for this radio button option are set to NULL instead of 0:


    My workaround: after importing the types XML, which seems to set everything else correctly--manually update the radio buttons, with the missing 0 values to include 0 title & value data. I've got 10 of these radio button field groups, so I have to do it 10 times, which takes about a minute each time I import.

    On a somewhat related note, I did a MySQL data dump, and discovered that the Field Groups were created, but the fields themselves were skipped. I think it's because I didn't do the data dump from the ROOT user (I used the WP_USER and password). For this reason, I needed to execute the Types Export/Import infrastructure.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic