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

ODT import: existing related images

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 4.0.1
    • None
    • Operating System: any
      PHP Version: 5.x
      Database and version: any
      Browser (and version):

    Description

      the import function doesn't write the relations with existing images

      Suggested code:

      // If image does not already exist, create it as an object
      if ( !$contentObject ) {
      [...]
      } else {
      $contentObjectID = $contentObject->attribute( 'id' );
      $this->RelatedImageArray[] = array( "ID" => $contentObjectID,
      "ContentObject" => $contentObject );
      }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: