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 6 Monaten hinzugefügt. Vor 2 Tagen 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

Dateien

2024-05-14_08h51_26.png (206 KB) 2024-05-14_08h51_26.png Jessica Balaban, 14.05.2024 08:52

Aktionen

Auch abrufbar als: Atom PDF