I am getting this error message (Show block for specific content types field is required) on my blocks, steps to reproduce it (traced the error to superfish_form_validate()):
1. go to the structure -> blocks
2. pick a block click configure
3. select any content type save block (bottom of page -- content types tab)
4. then re-enter the configure section and deselect all the content types (Not Restricted)
5. click save block and this error message comes up

Why are you calling the validate function in the hook_form_block_admin_configure_alter()? This was causing all the other blocks to have this error. I would think the form should be validating on submit -- with an if statement to isolate your specific form based on form_id. I am new to drupal so I may be wrong about the last statement.

Comments

mehrpadin’s picture

Hey Amin,

Thanks for it, added to my to-do list.

mehrpadin’s picture

Amin,

I was not able to reproduce this locally, can you please send me a list of installed modules?

Taxoman’s picture

Status: Active » Postponed (maintainer needs more info)
lobsterr’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)