The URL Redirect fieldset shows multiple times when the content type has a field-collection - see attached image.
| Comment | File | Size | Author |
|---|---|---|---|
| Screen Shot 2011-10-10 at 11.41.32 AM.png | 25.69 KB | aidanlis |
The URL Redirect fieldset shows multiple times when the content type has a field-collection - see attached image.
| Comment | File | Size | Author |
|---|---|---|---|
| Screen Shot 2011-10-10 at 11.41.32 AM.png | 25.69 KB | aidanlis |
Comments
Comment #1
adamdicarlo commentedEach 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.
Comment #2
matthewv789 commentedSeconded.
Comment #3
aidanlis commentedThe 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?
Comment #4
henrijs.seso commentedUhhh, I'v got 10 URL Redirects tabs :)
Comment #5
geerlingguy commentedDitto - 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.
Comment #6
dave reidFixed with http://drupalcode.org/project/redirect.git/commit/a09e85b. See also #1263884: Avoid redirect field and form injection on entities that have a path but where this makes no sense (like comments).