Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-10770

support null fields in backup/restore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9
    • 1.8
    • Backup
    • None
    • Any
    • MOODLE_18_STABLE
    • MOODLE_19_STABLE

      We can now have NULL fields in database, however currently we have no way of representing them in the xml for backups. If we have <data></data> it gets read as an empty string by restore. We plan to use a special string NULL to indicate a value of NULL in the xml, and restore that value during restore using insert_record().

      -Add special NULL string to "full_tag()"
      -Recover special NULL string from "backup_todb()"

            stronk7 Eloy Lafuente (stronk7)
            lazyfish Yu Zhang
            Petr Skoda Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.