Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20472

ezxmlexprt: bad share.dba file generates wrong update sql

    XMLWordPrintable

Details

    Description

      The problem is for tables which have columns of type longtext, not null.
      When going to system info | upgrade check, the sql generated for mysql will be

      column xxx type longtext not null default ''

      which is not valid.

      The fix: in the .dba file, replace

      'type' => 'longtext',
      'not_null' => '1',
      'default' => '',

      with

      'type' => 'longtext',
      'not_null' => '1',
      'default' => null,

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaetano.giunta-obsolete@ez.no Gaetano Giunta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: