Project

General

Profile

GX-Bug #67898

URL von Produkten aus der E-Mail Verfügbarkeit eines Artikels sind bei aktivem SEO Boost und Sprachcode in URL nicht aufrufbar

Added by Till Tepelmann about 1 year ago. Updated about 1 year ago.

Status:
Erledigt
Priority:
Hoch
Category:
Core
Target version:
% Done:

0%

Estimated time:
Steps to reproduce:
Betroffene Versionen:
4.2.0.0, 4.2.0.1, 4.3.1.0
Release Notes Langtext:

Links zu Produkten mit Informationen im Standard "p <Product Code>" werden korrekt interpretiert


Description

URL von Produkten aus der E-Mail Verfügbarkeit eines Artikels sind bei aktivem SEO Boost und Sprachcode in URL nicht aufrufbar

Kann wie folgt reproduziert werden:

  1. Artikel anlegen
  2. Unter "Einstellungen->SEO URLs" Sprachcode in URL aktivieren
  3. Suchmaschinenfreundliche URLs für Artikelseiten aktivieren
  4. den Artikel über die URL www.meinshop.de/product_info.php?info=p1 wo die 1 durch die Produkt-Id des neuen Artikels zu ersetzen ist.
  5. Es wird auf die URL www.meinshop.de/de/product_info.php?info=p1 umgeleitet und ein Fehler 500 ausgegben
  6. Wenn an die URL www.meinshop.de/de/product_info.php?info=p1 dann erneut aufruft wird die korrekt SEO Boost URL des Artikel umgeleitet und der Artikel ist aufrufbar

URL of products from the e-mail availability of a product are not accessible with active SEO Boost and language code in URL

Can be reproduced as follows:

  1. create a product
  2. activate language code in URL under "Settings->SEO URLs
  3. activate search engine friendly URLs for article pages
  4. open the product via the URL www.meinshop.de/product_info.php?info=p1 where the 1 is to be replaced by the product ID of the new product.
  5. the product is redirected to the URL www.meinshop.de/de/product_info.php?info=p1 and an error 500 is output
  6. when the URL www.meinshop.de/de/product_info.php?info=p1 is accessed again, the correct SEO Boost URL of the product is redirected and the product is accessible

Uncaught TypeError: Argument 2 passed to Gambio\Shop\SellingUnit\Unit\ValueObjects\SellingUnitId::__construct() must be an instance of Gambio\Shop\Product\ValueObjects\ProductId, null given, called in /GambioShop/SellingUnit/Unit/Builders/SellingUnitIdBuilder.php on line 80 and defined in /GambioShop/SellingUnit/Unit/ValueObjects/SellingUnitId.php:39
context:
message: Uncaught TypeError: Argument 2 passed to Gambio\Shop\SellingUnit\Unit\ValueObjects\SellingUnitId::__construct() must be an instance of Gambio\Shop\Product\ValueObjects\ProductId, null given, called in /GambioShop/SellingUnit/Unit/Builders/SellingUnitIdBuilder.php on line 80 and defined in /GambioShop/SellingUnit/Unit/ValueObjects/SellingUnitId.php:39
Stack trace:
#0 /GambioShop/SellingUnit/Unit/Builders/SellingUnitIdBuilder.php(80): Gambio\Shop\SellingUnit\Unit\ValueObjects\SellingUnitId->__construct()
#1 /GambioShop/SellingUnit/Unit/Factories/SellingUnitIdFactory.php(89): Gambio\Shop\SellingUnit\Unit\Builders\SellingUnitIdBuilder->build()
#2 /product_info.php(105): Gambio\Shop\SellingUnit\Unit\Factories\SellingUnitIdFactory->createFromCustom()
#3 {main}
thrown
code: 1
file: /GambioShop/SellingUnit/Unit/ValueObjects/SellingUnitId.php
line: 39
obCleanCache:
extra:
request:
method: GET
uri: /de/product_info.php?info=p1
software: Apache/2.4.29 (Ubuntu)
address: 192.168.101.24
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
time: 206
remoteAddress: 192.168.251.74
query:
info: p1
language: de
session:
tpl: Malibu
language: german
languages_id: 2
language_charset: utf-8
language_code: de
currency: EUR
customers_status:
customers_status_id: 0
customers_status_name: Admin
customers_status_image: admin_status.gif
customers_status_public: 1
customers_status_min_order: 0
customers_status_max_order: 0
customers_status_discount: 0.00
customers_status_ot_discount_flag: 1
customers_status_ot_discount: 0.00
customers_status_graduated_prices: 1
customers_status_show_price: 1
customers_status_show_price_tax: 1
customers_status_add_tax_ot: 0
customers_status_payment_unallowed:
customers_status_shipping_unallowed:
customers_status_discount_attributes: 0
customers_fsk18_purchasable: 0
customers_fsk18_display: 1
customers_status_write_reviews: 1
customers_status_read_reviews: 1
customer_id: 1


Related issues

Copied to GX-Entwicklung - GX-Bug #67900: URL von Produkten aus der E-Mail Verfügbarkeit eines Artikels sind bei aktivem SEO Boost und Sprachcode in URL nicht aufrufbarErledigt

Actions

History

#2

Updated by Ulrich Wenk about 1 year ago

  • Status changed from Gemeldet to Anerkannt
#3

Updated by Jonatas Fischer about 1 year ago

  • Status changed from Anerkannt to In Bearbeitung
  • Assignee set to Jonatas Fischer
#4

Updated by Jonatas Fischer about 1 year ago

  • Status changed from In Bearbeitung to Testing
  • Assignee changed from Jonatas Fischer to Core-Entwickler
  • Target version changed from 133 to 4.3.1.0
  • Release Notes Langtext updated (diff)
#5

Updated by Till Tepelmann about 1 year ago

  • Betroffene Versionen 4.2.0.0, 4.2.0.1 added
#6

Updated by Daniel Wu about 1 year ago

  • Copied to GX-Bug #67900: URL von Produkten aus der E-Mail Verfügbarkeit eines Artikels sind bei aktivem SEO Boost und Sprachcode in URL nicht aufrufbar added
#7

Updated by Marvin Muxfeld about 1 year ago

  • Assignee changed from Core-Entwickler to Marvin Muxfeld
#8

Updated by Marvin Muxfeld about 1 year ago

  • Status changed from Testing to Erledigt

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 5 MB)