GX-Bug #67898
geschlossenURL von Produkten aus der E-Mail Verfügbarkeit eines Artikels sind bei aktivem SEO Boost und Sprachcode in URL nicht aufrufbar
0%
Links zu Produkten mit Informationen im Standard "p <Product Code>" werden korrekt interpretiert
Beschreibung
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:
- Artikel anlegen
- Unter "Einstellungen->SEO URLs" Sprachcode in URL aktivieren
- Suchmaschinenfreundliche URLs für Artikelseiten aktivieren
- 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.
- Es wird auf die URL www.meinshop.de/de/product_info.php?info=p1 umgeleitet und ein Fehler 500 ausgegben
- 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:
- create a product
- activate language code in URL under "Settings->SEO URLs
- activate search engine friendly URLs for article pages
- 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.
- the product is redirected to the URL www.meinshop.de/de/product_info.php?info=p1 and an error 500 is output
- 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
Zugehörige Tickets