Hi,

I came across this notice when I enabled an entity form as a block, therefore no blocks were defined. Notice: Undefined index: enable_block in entityform_block_submit() (line 106 of /var/www/dev/sites/all/modules/entityform_block/entityform_block.module).

CommentFileSizeAuthor
#1 entityform_block.code_.2079239-1.patch440 byteskartagis

Comments

kartagis’s picture

Status: Active » Needs review
StatusFileSize
new440 bytes

I'm attaching a patch for it.

olragon’s picture

#1 worked for me, thanks @Kartagis

drurian’s picture

Assigned: Unassigned » drurian
Issue summary: View changes
drurian’s picture

Status: Needs review » Fixed

Fixed in dev.

Status: Fixed » Closed (fixed)

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

torpy’s picture

Status: Closed (fixed) » Needs work

This seems to be happening again in the latest release. Patch in #1 should still work.

kartagis’s picture

That's because Natalia chose to revert the patch I submitted.

drurian’s picture

I can still see the fix.

natanmoraes’s picture

Priority: Normal » Major
Status: Needs work » Reviewed & tested by the community

Guys, patch in #1 applied successfully and worked fine with the current release.

I've checked and the releases on the module page (7.x-1.1 and 7.x-1.x-dev) do not contain this patch. It is only on git's "master" branch.

It seems like something happened after issue #2066903 was applied.

I also got no errors when creating a new entityform.

  • Kartagis authored eaae8a5 on 7.x-1.x
    Issue #2079239 by Kartagis: Undefined index: enable_block
    
drurian’s picture

Status: Reviewed & tested by the community » Fixed

Fixed.

drurian’s picture

Applying this patch reopened a different issue
https://www.drupal.org/node/2066903

drurian’s picture

Status: Fixed » Closed (fixed)

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