Going to Categories > Edit vocabularies of Ad Group. Make no changes and click submit, I get "An illegal choice has been detected. Please contact the site administrator.". The error log only says "Illegal choice in Types element."

Same happens when I choose "Required", "Multiple Select", Free Tagging. AD group type is greyed out as it should be.

CommentFileSizeAuthor
#8 taxonomy1.jpg278.25 KBDynamicFred

Comments

DynamicFred’s picture

Forgot to mention, I've used the latest dev

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

Does "ad group" show up in your list of available types? It should have a grayed out checkbox next to it.

Has this ever worked? If yes, what's changed?

DynamicFred’s picture

Yes. It shows ad groups.

It worked until I upgraded to to the latest dev for testing purposes. Yesterday when I tried to switch to dev I couldn't upgrade. Overnight you made the changes. As a result, I've installed the most recent dev.

jeremy’s picture

Which question are you answering?

jeremy’s picture

Sorry, I got a filtered version of your reply in my email, didn't notice the full reply here on the web page.

jeremy’s picture

Can you send the output from:

   SELECT * FROM vocabulary_node_types;
jeremy’s picture

I just upgraded a test website from 5.x-1.4-1 to the latest dev version, and was unable to duplicate this problem.

DynamicFred’s picture

StatusFileSize
new278.25 KB

Here's the results of:
SELECT * FROM vocabulary_node_types;

"2";"blog"
"4";"listing"
"4";"premium"
"5";"listing"
"5";"premium"
"6";"listing"
"6";"premium"

I've also added a screen shot.

jeremy’s picture

Assigned: Unassigned » jeremy
Status: Postponed (maintainer needs more info) » Active

Your problem is that you're missing the "ad" type. Now that it's obvious what's gone wrong (though not how) I'll try manually duplicating this by directly editing my database, and see about auto-detecting and auto-fixing this state, as I think you're not the first to get here.

jeremy’s picture

Status: Active » Fixed

Fix committed to development branch. I still don't understand how this data is getting corrupted, but you're not the only one it has affected. Visit "Administer >> Content management >> Ads" for the issue to be automatically detected and fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.