magento / magento/magento2-sample-data
Magento_ConfigurableSampleData causing issues on Magento 2.0.6
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 212
- Forks
- 266
- PR merge metrics
- No merged PRs in 30d
Description
While trying to run: bin/magento setup:upgrade
operation stops with following exception:
Module 'Magento_ConfigurableSampleData':
[Magento\Framework\Exception\SessionException]
Area code not set: Area code must be set before starting a session.
[Magento\Framework\Exception\LocalizedException]
Area code is not set
The only solution is to disable / uninstall this module.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with bin/magento setup:upgrade while Magento_ConfigurableSampleData is enabled, then trace where that module triggers the session and area-code exceptions. Done means setup:upgrade completes without requiring the module to be disabled or uninstalled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100