Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to edit retailer - After switching scope #42

Open
nsood95 opened this issue Feb 19, 2024 · 0 comments
Open

Unable to edit retailer - After switching scope #42

nsood95 opened this issue Feb 19, 2024 · 0 comments

Comments

@nsood95
Copy link

nsood95 commented Feb 19, 2024

Changed scope and saving retailer showing error.

TypeError: Smile\Seller\Model\Seller::getName(): Return value must be of type string, null returned in /var/www/html/vad-fresh/vendor/smile/module-seller/Model/Seller.php:86

also tried to unchecked default value for name

Then is shows Retailer url_key "xyz" already exists.

If scope is all store view - No errors showing

Preconditions

Magento Version : Adobe Commerce ver. 2.4.6-p3

Module Retailer Version : 2.0

Environment : Developer

Third party modules :

Steps to reproduce

  1. Edit a retailer -> Switch the scope to store view
  2. Disable the retailer
  3. Save

Expected result

  1. It should save the data

Actual result

  1. TypeError: Smile\Seller\Model\Seller::getName(): Return value must be of type string, null returned in /var/www/html/vad-fresh/vendor/smile/module-seller/Model/Seller.php:86

  2. tried to unchecked default value for name

Then is shows Retailer url_key "xyz" already exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant