The URL Redirect fieldset shows multiple times when the content type has a field-collection - see attached image.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adamdicarlo’s picture

Each field-collection item is an entity, and the Redirect module puts its "URL Redirects" settings into every entity's edit form.

The fix for this would probably be adding a way to exclude certain entity types (or type/bundle pairs) from having URL Redirect settings on their edit forms. Most (probably all) of the time, redirects don't make sense for field-collection items.

matthewv789’s picture

Seconded.

aidanlis’s picture

Title: Fieldset shows multiple times when node has a field-collection » Fieldset shows multiple times when node has a field-collection or during Commerce checkout

The redirects fieldset also shows when a user is checking out in Commerce, as the Billing info is an entity.

Can I suggest an opt-in approach rather than a fieldset-in-everything approach?

mansspams’s picture

Uhhh, I'v got 10 URL Redirects tabs :)

geerlingguy’s picture

Ditto - having this issue with Profile2 profiles as well. I'm trying to loop through all the profiles on pages where more than one is shown to set #access to FALSE for redirect fieldsets.

Dave Reid’s picture

Status: Fixed » Closed (fixed)

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