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

fatal error ezobjectrelationlist

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2012.2, 4.7.0-dev
    • Misc
    • None

    Description

      When sending a numeric ID which does not correspond to an object in the POST request for storing an object-relations datatype, a php fatal error happens.

      The culprit is eZObjectRelationListType::appendObject():

      $object = eZContentObject::fetch( $objectID );
      $class = $object->attribute( 'content_class' );

      it should check if the 1st line here returns a false...

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: