Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3286

Error on trying to insert duplicate entry to DB

    XMLWordPrintable

Details

    • Critical
    • Fixed throwing duplicate entry exception in ZfExtended/Models/Entity/Abstract

    Description

      When inserting duplicate entry to DB it is supposed to get  ZfExtended_Models_Entity_Exceptions_IntegrityDuplicateKey, but actually we get TypeError E9999 - array_shift(): Argument #1 ($array) must be of type array, null given

      The actual error caused by library/ZfExtended/Models/Entity/Abstract.php:433

      Attachments

        Activity

          People

            leonkiz Leon Kiz
            leonkiz Leon Kiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: