labd / django-oscar-wagtail

Wagtail integration for Oscar Commerce (or Oscar Commerce integration for Wagtail?)
MIT License
101 stars 33 forks source link

Can't create new category from the Oscar Dashboard #7

Open gruntfarm opened 7 years ago

gruntfarm commented 7 years ago

After installing oscar-wagtail I can't add Categories from the Oscar dashboard interface, but I can add them from the Wagtail admin. Is this the intended behaviour?

After trying to add a category in the dashboard I get this error message:

Exception Type: ValidationError Exception Value: {'path': [u'Page with this Path already exists.'], 'slug': [u'This field cannot be blank.'], 'title': [u'This field cannot be blank.']}

gruntfarm commented 7 years ago

Actually I think the real problem might be this message that appears at makemigrations time:

You are trying to add a non-nullable field 'page_ptr' to category without a default; we can't do that (the database needs something to populate existing rows). Please select a fix: 1) Provide a one-off default now (will be set on all existing rows with a null value for this column) 2) Quit, and let me add a default in models.py Select an option:

k103hub commented 5 years ago

After installing oscar-wagtail I can't add Categories from the Oscar dashboard interface, but I can add them from the Wagtail admin. Is this the intended behaviour?

After trying to add a category in the dashboard I get this error message:

Exception Type: ValidationError Exception Value: {'path': [u'Page with this Path already exists.'], 'slug': [u'This field cannot be blank.'], 'title': [u'This field cannot be blank.']}

I got the same error

mjlabe commented 5 years ago

Same error here. Any solutions? Has this project been abandoned? I might try integrating with wagtail without this package.