The full message is Notice: Undefined index: atoms in scald_atom_add_page() (line 81 of …scald/includes/scald.pages.inc).
This occurs when creating atom(s), if there are multiple providers for the given atom type.

NB: more details in a previous (unrelated) issue : #2

Comments

jcisio’s picture

Status: Active » Fixed

Can not reproduce, but the commit 95fcffa should logically fix it.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

added ref to previous (unrelated) issue

ciss’s picture

Issue summary: View changes

The code still reads:

 // Entity Translation workaround when the fix https://drupal.org/node/2027513
  // is not corporated in a stable release.
  if (isset($form_state['scald']['atoms'][0])) {
    $form_state['atom'] = $form_state['scald']['atoms'][0];
  }

Meanwhile the referenced issue has been fixed (2014) and is part of the current beta4 of ET (Jan 2015). Time for a second look? (Because, to be honest, that single atom instance in $form_state is highly irritating).

jcisio’s picture

I think it's hard to remove this now because of backward compatibility. I guess many people are checking $form_state['atom'] to get the atom, instead of using the more appropriate $form_state['scald']['atoms']