Project

General

Profile

Actions

GX-Bug #68305

closed

Drittanbieter Module sind nicht mehr kompatibel wenn eine Überladung vom AdminApplicationTopExtenderComponent benutzt wird / Third-party modules are no longer compatible when an overload is used by the AdminApplicationTopExtenderComponent

Added by Till Tepelmann over 2 years ago. Updated almost 2 years ago.

Status:
Erledigt
Priority:
Dringend
Category:
Adminbereich
Target version:
% Done:

0%

Estimated time:
Steps to reproduce:
Betroffene Versionen:
4.3.1.0, 4.3.1.0 RC1, 4.3.1.0 beta1, 4.3.1.0 beta2, 4.3.1.0 beta3, 4.3.2.0, 4.3.2.0 beta1, 4.3.2.1, 4.3.3.0, 4.3.3.0 beta1, 4.3.3.1
Release Notes Langtext:

Drittanbieter Module sind wieder mit AdminApplicationTopExtenderComponent kompatibel


Description

Wenn man eine Überladung des AdminApplicationTopExtenderComponent nutzt, ist die Methode proceed nicht mehr kompatibel mit allen bekannten und im Umlauf befindtlichen Drittanbieter Modulen.

Kann wie folgt reproduziert werden:

  1. Eine Datei im Ordner /GXModules/Test/Test/Admin/Overloads/AdminApplicationTopExtenderComponent/ anlegen
  2. Die Datei sollte TestAdminApplicationTopExtenderComponent.inc.php heißen
  3. Folgenden Inhalt in die Datei einfügen:
<?php
class TestAdminApplicationTopExtenderComponent extends TestAdminApplicationTopExtenderComponent_parent
{
    public function proceed()
    {
        parent::proceed();

    }

}
  1. Cache für Modulinformationen unter "Toolbox->Cache" erneuern

Erwartetes Ergebnis:
Der Gambio Admin ist nach dem erneuern des Caches für Modulinformationen weiterhin nutzbar und wirft keine Fehler

Tatsächliches Ergebnis:
Der Gambio Admin ist nach dem erneuen des Caches für Modulinformnationen nicht mehr aufrufbar und nutzabr. Es wird ein Fatal Error angezeigt


When using an overload of the AdminApplicationTopExtenderComponent, the method proceed is no longer compatible with all known and circulating third party modules.

Can be reproduced as follows:

  1. create a file in the folder /GXModules/Test/Admin/Overloads/AdminApplicationTopExtenderComponent/.
  2. the file should be named TestAdminApplicationTopExtenderComponent.inc.php
  3. add the following content to the file:
<?php
class TestAdminApplicationTopExtenderComponent extends TestAdminApplicationTopExtenderComponent_parent
{
    public function proceed()
    {
        parent::proceed();

    }

}
  1. renew cache for module information under "Toolbox->Cache".

Expected result:
The Gambio Admin is still usable after renewing the cache for module information and does not throw any errors.

Actual result:
The Gambio Admin is no longer accessible and usable after refreshing the cache for module information. A fatal error is displayed


Declaration of TestAdminApplicationTopExtenderComponent::proceed() must be compatible with SetupWizardShippingModuleInstalled::proceed(): void

Actions #1

Updated by Till Tepelmann over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Till Tepelmann over 2 years ago

  • Description updated (diff)
Actions #3

Updated by Till Tepelmann over 2 years ago

  • Description updated (diff)
Actions #4

Updated by Till Tepelmann over 2 years ago

  • Description updated (diff)
Actions #5

Updated by Till Tepelmann over 2 years ago

  • Tags set to MR
  • Status changed from Gemeldet to 30
  • Assignee set to Core-Entwickler
  • Target version changed from 133 to 4.3.3.1
  • Release Notes Langtext updated (diff)
Actions #6

Updated by Carlotta Herrmann over 2 years ago

  • Assignee changed from Core-Entwickler to Carlotta Herrmann
Actions #7

Updated by Carlotta Herrmann over 2 years ago

  • Assignee deleted (Carlotta Herrmann)
Actions #8

Updated by Alexandre Ataides over 2 years ago

  • Assignee set to Alexandre Ataides
Actions #9

Updated by Alexandre Ataides over 2 years ago

  • Status changed from 30 to Testing
Actions #10

Updated by Alexandre Ataides over 2 years ago

  • Status changed from Testing to Erledigt
Actions #11

Updated by Daniel Wu over 2 years ago

  • Tags changed from MR to MR, 4.3.3.1
Actions #12

Updated by Moritz Bunjes almost 2 years ago

  • Tags changed from MR, 4.3.3.1 to MR
Actions #13

Updated by Moritz Bunjes almost 2 years ago

  • Tags deleted (MR)
Actions

Also available in: Atom PDF