Skip to content

Mini cart missing when you edit inline welcome message for guest and use special characters #32250

Closed
@github-jira-sync-bot

Description

@github-jira-sync-bot

Note: Bug was found on Magento installed from composer on https://m233-se-dev-0.testregress.com/

Precondition

  1. Developer mode is set
  2. Enable Translate Inline functionality
    Go to Stores -> Configuration -> Advanced -> Developer -> Translate Inline:
    Enabled for Storefront - Yes
    Save Config
  3. php bin/magento cache:flush
  4. Create simple product

Steps to reproduce

  1. Go to storefront as guest and add product to cart - product added, you can see mini cart
  2. Edit inline Default welcome message_, change value to: _Welcome to "Food & Drinks" store
  3. In another tab Go to Admin -> Stores -> Configuration -> Advanced -> Developer -> Translate Inline:
    Enabled for Storefront - No
    Save Config
  4. php bin/magento cache:flush
  5. Go back to storefront and refresh page

Expected result:
(/) New welcome message correctly displayed.
(/) Mini cart with product inside displayed.
(/) Adding to cart one more product performed with success message and displayed in mini shopping cart.
(/) No errors in browser console.

{color:#d04437}Actual result:
(x) Welcome message is missing.
(x) Mini cart with product inside not displayed.
(x) Adding to cart one more product performed without success message and not displayed in mini shopping cart.
(x) Errors in browser console.
!Screenshot from 2021-02-22 12-55-55.png|width=926,height=324!

 

Metadata

Metadata

Assignees

Labels

Priority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneSeverity: S1Affects critical data or functionality and forces users to employ a workaround.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions