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

Transaction error when creating states or state groups without description using Oracle

    XMLWordPrintable

Details

    Description

      When trying to create a new object state group in the admin interface without entering something in the description field, a database transaction error occurs:

      Fatal error: A database transaction in eZ Publish failed.

      The current execution was stopped to prevent further problems.
      You should contact the System Administrator of this site with the information on this page.
      The current transaction ID is TRANSID-7727c1e4cb4e0711b9cf01f8e31d114f and has been logged.
      Please include the transaction ID and the current URL when contacting the system administrator.

      In error.log one can find:

      [ Feb 15 2010 11:56:51 ] [127.0.0.1] eZOracleDB::query():
      Error (1400): ORA-01400: Einfügen von NULL in ("PUBLISH_C"."EZCOBJ_STATE_GROUP_LANGUAGE"."DESCRIPTION") nicht möglich
      Failed query at offset 128:
      INSERT INTO ezcobj_state_group_language (contentobject_state_group_id, name, description, language_id) VALUES(21, 'eZ Cockpit', , 3)

      Start of error:
      , 3)

      Steps to reproduce

      Create a new state or state group in Oracle without using a description.

      Attachments

        Activity

          People

            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            gl gl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: