Problem/Motivation

Follow-up to #2306193: Error on deleting post. I'm running 7.x-3.22 and also migrating content from D6. This happens on rollback of the migration.

Notice: Undefined index: und in commons_radioactivity_groups_node_delete() (line 46 of profiles/commons/modules/commons/commons_radioactivity/commons_radioactivity_groups/commons_radioactivity_groups.module).

Proposed resolution

Not sure if a simple isset() or !empty() check is in order here or if this is an indication of a deeper problem.

Remaining tasks

Fix the problem.

User interface changes

n/a

API changes

n/a

Comments

h1nds1ght’s picture

I am on commons 3.23 and get the same notice, when deleting group-nodes from the front-page or inside the groups itself. Sometimes (not sure when) this also causes that all nodes of the group, from which the node is deleted on the front-page, dissappear until I refresh the front-page...

rosemeria’s picture

Status: Active » Needs review

Patch found at Notice: Undefined index: und in commons_radioactivity_groups_node_delete() cleared this up. Please confirm that patch clears up error for you. Using Commons 7.x-3.31

Devin Carlson’s picture