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

Can't add/edit products #89

Open
mendedwraith opened this issue Nov 6, 2012 · 0 comments
Open

Can't add/edit products #89

mendedwraith opened this issue Nov 6, 2012 · 0 comments

Comments

@mendedwraith
Copy link

When logged in as superadmin, I go to ../admin/product/new and I get an error Could not load type Application\Vespolina\ProductBundle\Form\Type\ProductFormExtendedType

I tried adding the necessary config.

And I got this error

The form's view data is expected to be an instance of class Application\Vespolina\ProductBundle\Document\Product, but is a(n) string. You can avoid this error by setting the "data_class" option to null or by adding a view transformer that transforms a(n) string to an instance of Application\Vespolina\ProductBundle\Document\Product.

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