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

eZPersistentObject does not allow to insert without values

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 4.0.1
    • Database related
    • None

    Description

      Inserting into a table without specifying any values, and when there are no default values, only an auto-increment column, results in this query:

      INSERT INTO ezurlalias_ml_incr () VALUES()
      

      This works on MySQL, but not on PostgreSQL for example:

      pg_query(): Query failed: ERROR:  syntax error at or near ")"
      LINE 1: INSERT INTO ezurlalias_ml_incr () VALUES()
                                              ^ in C:\sites\trunk_pgsql\lib\ezdb\classes\ezpostgresqldb.php on line 190
      

      Attachments

        Activity

          People

            unknown unknown
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: