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

Warnings when generating autoloads if API is installed in extension/

    Details

      Description

      Hi

      If you put API in for instance extension/ezp-api/ you'll get these warnings when generating autoloads

      $ php bin/php/ezpgenerateautoloads.php -e  -s
      (...)
       
      Warning: 
      Class eZDebug in file extension/ezp-api/ezp/Io/Tests/BinaryStorage/LegacyTest/ezdebug.php is already defined in:                                                                                                                             
      lib/ezutils/classes/ezdebug.php (autoload/ezp_kernel.php)
      This class was not added to the autoload array.
       
      Warning: 
      Class eZDebugSetting in file extension/ezp-api/ezp/Io/Tests/BinaryStorage/LegacyTest/ezdebugsetting.php is already defined in:                                                                                                               
      lib/ezutils/classes/ezdebugsetting.php (autoload/ezp_kernel.php)
      This class was not added to the autoload array.
       
      Warning: 
      Class eZExecution in file extension/ezp-api/ezp/Io/Tests/BinaryStorage/LegacyTest/ezexecution.php is already defined in:                                                                                                                     
      lib/ezutils/classes/ezexecution.php (autoload/ezp_kernel.php)
      This class was not added to the autoload array.
       
      Warning: 
      Class eZExtension in file extension/ezp-api/ezp/Io/Tests/BinaryStorage/LegacyTest/ezextension.php is already defined in:                                                                                                                     
      lib/ezutils/classes/ezextension.php (autoload/ezp_kernel.php)
      This class was not added to the autoload array.
       
      Warning: 
      Class eZINI in file extension/ezp-api/ezp/Io/Tests/BinaryStorage/LegacyTest/ezini.php is already defined in:                                                                                                                                 
      lib/ezutils/classes/ezini.php (autoload/ezp_kernel.php)
      This class was not added to the autoload array.
       
      Warning: 
      Class ezpExtensionOptions in file extension/ezp-api/ezp/Io/Tests/BinaryStorage/LegacyTest/ezpextensionoptions.php is already defined in:                                                                                                     
      kernel/private/options/ezpextensionoptions.php (autoload/ezp_kernel.php)
      This class was not added to the autoload array.
      
      

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          Fixed by adding installation instructions for ezp-next in the root Readme file, with .autoloadignore instructions.

          Show
          Bertrand Dunogier added a comment - Fixed by adding installation instructions for ezp-next in the root Readme file, with .autoloadignore instructions.
          Hide
          Geir Arne Waaler added a comment -

          This issue has been fixed. I move it to Closed.

          Show
          Geir Arne Waaler added a comment - This issue has been fixed. I move it to Closed.

            People

            • Assignee:
              Bertrand Dunogier
              Reporter:
              Vidar Langseid
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: