I'm running D7 RC3 and the dev snapshot from 23th of december.

When I try to create a category I got the following error message:
Category empty or invalid.

I did try to create a category named category :)

This bug is not related to the E_STRICT issue I've posted a seconds ago. I get the same error message with E_STRICT error reporting shut off.

Comments

berdir’s picture

Priority: Critical » Normal

Hm.

How exactly are you trying to create a category?

Note that you can't create categories in the node (entity) form, you need to create them first through the administration user interface, which you can find at admin/config/content/properties.

This is currently by design, but maybe a better error message would already help -- suggestions are welcome.

enikola’s picture

Status: Active » Closed (fixed)

Sorry, mea culpa, I was trying to create the category right on node/add, I wasn't able to find the admin/config/content/properties mask.

Happy NY.

enikola’s picture

Status: Closed (fixed) » Closed (works as designed)

correct status

berdir’s picture

Title: Fails to create a category » Display better error message when trying to "create" (use non-existing) category in the entity creation form
Status: Closed (works as designed) » Active

Good :)

Re-opening and retitling the issue, I think we can provide a better error message there, probably with a link to the category administration if the user has the proper permissions. I don't think you're going to be the last one who doesn't initially find that page.