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

Validation error when creating a new category: "meta_description is not yet defined as an attribute of Category" #37

Open
elvetemedve opened this issue Dec 13, 2013 · 0 comments

Comments

@elvetemedve
Copy link
Contributor

I failed to create a new category with MageTest.

Code to reproduce issue:

$fixtureGenerator = $this->getMainContext()->getFixture('category');
$defaultStoreId = 1;
$parentCategoryId = 1;
$categoryData = array(
  'name' => 'Behat Test',
  'is_active' => '1',
  'meta_description' => 'Test description.',
  'store_id' => $defaultStoreId,
  'path_ids' => 
  array (
    $parentCategoryId,
  )
);
$fixtureGenerator->create($categoryData);

Actual result:
I get the following error message:
"meta_description is not yet defined as an attribute of Category"

Expected result:
A new category created with the name "Behat Test".

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