Skip to content

No such entity error when saving product in single-store mode if website_id <> 1 #13405

@kyegil

Description

@kyegil

After upgrading to Magento 2.2.1 I'm no longer able to save products while the website is in single store mode. The website has previously had multiple store views.
I've been able to replicate the issue on a clean install of Magento 2.2.2
The problem is likely related to the fact that website_id != 1

Preconditions

  • Magento version 2.2.1 or 2.2.2
  • PHP version 7.0.22
  • Mysql version 5.6.35
  • Apache/2.2.32 (Unix)

Steps to reproduce

  1. Install a clean version of Magento version 2.2.2
  2. Add a new website, store and store view, and make this the default
  3. Delete the preinstalled website, store and store view
  4. Add a new product and save it
  5. Change the configurations to single-store mode
  6. Open the product and save it again

Expected result

  1. The product should save successfully

Actual result

  1. The save action fails, with the message 'No such entity.'

image
image

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions