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

wrap object creation in a transaction in ezcsvimport

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 4.0.7, 4.1.4, 4.2.0
    • Misc
    • None

    Description

      The code to create new objects from csv data should be wrapped in a transaction.

      This is important because the object might be created halfway if the script dies for any reason.

      But it is also important because that code is taken as example by developers when doing their own import scripts - and when in developing phase their script is bound to crash and burn many times, thus leaving many zombie objects in the system...

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: