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

Many notices when trying to replace a blog post with an ODF document

    XMLWordPrintable

Details

    Description

      When trying to replace some content using the ezodf extension in the default install of eZ Publish with the eZWebin package, I've got the following messages (with XDebug) :

      ( ! ) Notice: Undefined index: intro in /home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/classes/ezooimport.php on line 641
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	56516	{main}( )	../index.php:0
      2	0.1219	2082316	eZModule->run( )	../index.php:690
      3	0.1222	2085956	eZProcess::run( )	../ezmodule.php:1198
      4	0.1222	2086108	eZProcess->runFile( )	../ezprocess.php:39
      5	0.1261	2153604	include( '/home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/modules/ezodf/import.php' )	../ezprocess.php:64
      6	0.1726	3453596	eZOOImport->import( )	../import.php:170
      
      ( ! ) Notice: Trying to get property of non-object in /home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/classes/ezooimport.php on line 641
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	56516	{main}( )	../index.php:0
      2	0.1219	2082316	eZModule->run( )	../index.php:690
      3	0.1222	2085956	eZProcess::run( )	../ezmodule.php:1198
      4	0.1222	2086108	eZProcess->runFile( )	../ezprocess.php:39
      5	0.1261	2153604	include( '/home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/modules/ezodf/import.php' )	../ezprocess.php:64
      6	0.1726	3453596	eZOOImport->import( )	../import.php:170
      
      ( ! ) Notice: Undefined index: intro in /home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/classes/ezooimport.php on line 860
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	56516	{main}( )	../index.php:0
      2	0.1219	2082316	eZModule->run( )	../index.php:690
      3	0.1222	2085956	eZProcess::run( )	../ezmodule.php:1198
      4	0.1222	2086108	eZProcess->runFile( )	../ezprocess.php:39
      5	0.1261	2153604	include( '/home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/modules/ezodf/import.php' )	../ezprocess.php:64
      6	0.1726	3453596	eZOOImport->import( )	../import.php:170
      
      ( ! ) Notice: Trying to get property of non-object in /home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/classes/ezooimport.php on line 860
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	56516	{main}( )	../index.php:0
      2	0.1219	2082316	eZModule->run( )	../index.php:690
      3	0.1222	2085956	eZProcess::run( )	../ezmodule.php:1198
      4	0.1222	2086108	eZProcess->runFile( )	../ezprocess.php:39
      5	0.1261	2153604	include( '/home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/modules/ezodf/import.php' )	../ezprocess.php:64
      6	0.1726	3453596	eZOOImport->import( )	../import.php:170
      
      ( ! ) Notice: Undefined index: image in /home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/classes/ezooimport.php on line 641
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	56516	{main}( )	../index.php:0
      2	0.1219	2082316	eZModule->run( )	../index.php:690
      3	0.1222	2085956	eZProcess::run( )	../ezmodule.php:1198
      4	0.1222	2086108	eZProcess->runFile( )	../ezprocess.php:39
      5	0.1261	2153604	include( '/home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/modules/ezodf/import.php' )	../ezprocess.php:64
      6	0.1726	3453596	eZOOImport->import( )	../import.php:170
      
      ( ! ) Notice: Trying to get property of non-object in /home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/classes/ezooimport.php on line 641
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	56516	{main}( )	../index.php:0
      2	0.1219	2082316	eZModule->run( )	../index.php:690
      3	0.1222	2085956	eZProcess::run( )	../ezmodule.php:1198
      4	0.1222	2086108	eZProcess->runFile( )	../ezprocess.php:39
      5	0.1261	2153604	include( '/home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/modules/ezodf/import.php' )	../ezprocess.php:64
      6	0.1726	3453596	eZOOImport->import( )	../import.php:170
      
      ( ! ) Notice: Undefined index: image in /home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/classes/ezooimport.php on line 860
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	56516	{main}( )	../index.php:0
      2	0.1219	2082316	eZModule->run( )	../index.php:690
      3	0.1222	2085956	eZProcess::run( )	../ezmodule.php:1198
      4	0.1222	2086108	eZProcess->runFile( )	../ezprocess.php:39
      5	0.1261	2153604	include( '/home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/modules/ezodf/import.php' )	../ezprocess.php:64
      6	0.1726	3453596	eZOOImport->import( )	../import.php:170
      
      ( ! ) Notice: Trying to get property of non-object in /home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/classes/ezooimport.php on line 860
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0001	56516	{main}( )	../index.php:0
      2	0.1219	2082316	eZModule->run( )	../index.php:690
      3	0.1222	2085956	eZProcess::run( )	../ezmodule.php:1198
      4	0.1222	2086108	eZProcess->runFile( )	../ezprocess.php:39
      5	0.1261	2153604	include( '/home/tigrou/public_html/ezpublish-4.2.0/extension/ezodf/modules/ezodf/import.php' )	../ezprocess.php:64
      6	0.1726	3453596	eZOOImport->import( )	../import.php:170
      
      Steps to reproduce

      With a default install of eZ Publish :
      1. Go to a blog post, for instance /Community/Blog/Paris-in-France
      2. Login as admin
      3. Click on export button in the toolbar to get the odf version of the post
      4. Click on the replace button in the toolbar and upload a document

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: