Projekt

Allgemein

Profil

Aktionen

GX-Bug #70791

geschlossen

altes Google Services aus dem Core entfernen / Remove old Google Services from the core

Von Till Tepelmann vor 5 Monaten hinzugefügt. Vor etwa 1 Monat aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Kategorie:
Google Services
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.9.1.0, 4.9.2.0 beta1
Release Notes Langtext:

Alte Google Services Dateien werden nicht mehr mit dem Shop ausgeliefert


Beschreibung

Das alte Google Services Modul ist nicht mehr funktionsfähig und wirft in einer neuen Version 4.9 Fehlermeldungen.
Das neue Modul Google Services 3.1.1 gibt es im Gambio Store, also kann das alte Modul aus dem Core entfernt werden um Fehler nach der frischen Installation zu vermeiden.

Kann wie folgt reproduziert werden:

  1. Shop 4.9 installieren
  2. Gambio Admin öffnen
  3. Theme bearbeiten (StyleEdit öffnen)
  4. Fehler wird im Log geschrieben
  5. Log Datei unter "Toolbox->Logs angezeigen" anschauen

Erwartetes Ergebnis:
Es sollten keine Fehler mehr im Log bezüglich Google angezeigt werden, die Google Dateien sollen alle gelöscht werden

Tatsächliches Ergebnis:
Die im Shop mitgelieferten Dateien für Google sind veraltet es gibt bereits ein neues Modul welches wir separat verteilen.


The old Google Services module is no longer functional and throws error messages in a new version 4.9.
The new module Google Services 3.1.1 is available in the Gambio Store, so the old module can be removed from the core to avoid errors after the fresh installation.

Can be reproduced as follows:

  1. install Shop 4.9
  2. open Gambio Admin
  3. edit theme (open StyleEdit)
  4. error is written in the log
  5. view log file under "Toolbox->Display logs"

Expected result:
No more errors should be displayed in the log regarding Google, the Google files should all be deleted

Actual result:

The files supplied in the store for Google are outdated there is already a new module which we distribute separately.

The following folders with files should be deleted:

'GXModules/Gambio/Google/Admin/Classes/',
'GXModules/Gambio/Google/Admin/Html/',
'GXModules/Gambio/Google/Admin/Module/',
'GXModules/Gambio/Google/Admin/TextPhrases/',
'GXModules/Gambio/GoogleAdWords/',
'GXModules/Gambio/GoogleECommerce/',
'GXModules/Gambio/GoogleOAuth/',
'GXModules/Gambio/GoogleShopping/',
'GXModules/Gambio/GoogleTracking/*',

WARNING] Trying to access array offset on value of type null
context:
  session ID: session-6551f72921ec87.14721312
  code: 2
  file: /GXModules/Gambio/GoogleECommerce/Shop/Overloads/WhatsNewBoxThemeContentView/GoogleAnalyticsThemeWhatsNew.inc.php
  line: 26
  code snippet:           $isEnabled         = $configReadService->enabled();
              $isTrackingEnabled = $configReadService->trackingEnabled(GoogleAnalyticsTracking::boxImpression());
    ├─         $hasId = $this->get_content_array()['box_content']['PRODUCTS_ID'] !== "";
              
              $this->content_array['google_analytics_enabled']          = $isEnabled;
  trace:
    0:
      file: /GXMainComponents/View/Boxes/boxes/whats_new.php
      line: 31
      function: get_html
      class: ThemeContentView
      snippet:       $coo_whats_new->set_('products_id', (int)xtc_get_prid($_GET['products_id']));
          }
        ├─ $t_box_html = $coo_whats_new->get_html();
          
          $gm_box_pos = $GLOBALS['coo_template_control']->get_menubox_position('whatsnew');
    1:
      file: /GXMainComponents/View/Boxes/boxes.php
      line: 113
      function: include
      snippet:   if ($GLOBALS['coo_template_control']->get_menubox_status('whatsnew')) {
              if (StyleEditServiceFactory::service()->isEditing() || substr(basename(gm_get_env_info('PHP_SELF')), 0, 8) !== 'advanced') {
        ├─         include(DIR_WS_BOXES . 'whats_new.php');
              }
          }
    2:
      file: /system/classes/menuboxes/MenuBoxesContentControl.php
      line: 101
      function: include
      snippet:       public function proceed()
              {
        ├─         include(DIR_FS_CATALOG . 'GXMainComponents/View/Boxes/boxes.php');
                  
                  return true;
    3:
      file: /index.php
      line: 62
      function: proceed
      class: MenuBoxesContentControl
      snippet:   $coo_mn_menu_boxes_control->set_('coo_product', $GLOBALS['product']);
          $coo_mn_menu_boxes_control->set_('coo_xtc_price', $GLOBALS['xtPrice']);
        ├─ $coo_mn_menu_boxes_control->proceed();
          
          $coo_listing_control = MainFactory::create_object('ProductListingContentControl');
extra:
  request:
    method: GET

Aktionen #1

Von Till Tepelmann vor 5 Monaten aktualisiert

  • Tags wurde auf 4.9.3.0_beta1 gesetzt
Aktionen #2

Von Patrick Bayer vor 5 Monaten aktualisiert

  • Status wurde von Gemeldet zu Anerkannt geändert
Aktionen #3

Von Till Tepelmann vor 4 Monaten aktualisiert

  • Tags wurde von 4.9.3.0_beta1 zu 4.10.0.0_beta1 geändert
Aktionen #4

Von Till Tepelmann vor 2 Monaten aktualisiert

  • Tags wurde von 4.10.0.0_beta1 zu 4.9.4.0_beta1 geändert
Aktionen #5

Von Krystian Czerwinski vor etwa 2 Monaten aktualisiert

  • Status wurde von Anerkannt zu In Bearbeitung geändert
  • Zugewiesen an wurde auf Krystian Czerwinski gesetzt
Aktionen #6

Von Till Tepelmann vor etwa 2 Monaten aktualisiert

Aktionen #7

Von Krystian Czerwinski vor etwa 2 Monaten aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
  • Zugewiesen an Krystian Czerwinski wurde gelöscht
  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #9

Von Till Tepelmann vor etwa 2 Monaten aktualisiert

Aktionen #10

Von Till Tepelmann vor etwa 2 Monaten aktualisiert

  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #12

Von Rico Schreiber vor etwa 1 Monat aktualisiert

  • Zugewiesen an wurde auf Rico Schreiber gesetzt
Aktionen #13

Von Rico Schreiber vor etwa 1 Monat aktualisiert

  • Status wurde von Testing zu Erledigt geändert
  • Zielversion wurde auf 4.9.4.0 beta1 gesetzt
Aktionen

Auch abrufbar als: Atom PDF