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

Notice "undefined variable" when saving a draft with an objectrelationlist attribute

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • QA tracked issues
    • 4.3.0, 4.3.0alpha1
    • Misc
    • None

    Description

      I'm using the trunk version of eZ Publish. When I save an object with an ezobjectrelationlist attribute, I have the following notice :

      Notice: Undefined variable: classContent in /home/tigrou/dev/ezpublish/trunk/kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php on line 78
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	62096	{main}( )	../index.php:0
      2	0.0886	1235912	eZModule->run( )	../index.php:703
      3	0.0889	1236880	eZProcess::run( )	../ezmodule.php:1582
      4	0.0889	1236880	eZProcess->runFile( )	../ezprocess.php:41
      5	0.1114	1517820	include( '/home/tigrou/dev/ezpublish/trunk/kernel/content/edit.php' )	../ezprocess.php:66
      6	0.1679	2726588	include( '/home/tigrou/dev/ezpublish/trunk/kernel/content/attribute_edit.php' )	../edit.php:817
      7	0.2480	4513192	eZContentObject->validateInput( )	../attribute_edit.php:285
      8	0.2537	4524776	eZContentObjectAttribute->validateInput( )	../ezcontentobject.php:2284
      9	0.2538	4524776	eZObjectRelationListType->validateObjectAttributeHTTPInput( )	../ezcontentobjectattribute.php:563
      
      Steps to reproduce

      1. create a content class with an ezobjectrelationlist attribute
      2. create an instance of this content class
      3. click on "store draft" button

      Attachments

        Activity

          People

            chen chen
            dpobel dpobel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: