magento / magento/magento2-sample-data

Magento_ConfigurableSampleData causing issues on Magento 2.0.6

Open
#19 3 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.