Problem:
Permalink setting appears twice when editing a node with entity_translation. See attached screenshot.
Conditions:
* Drupal 7.41
* Panopoly Admin 7.x-1.30
* Entity Translation 7.x-1.0-beta4
Steps to reproduce:
* drush en panopoly_admin
* drush en entity_translation
* edit basic page content type (admin/structure/types/manage/page), go to publishing options (vertical tabs at bottom), Multilingual support, and select Enabled, with field translation, save
* create a basic page and save
* edit the same page
Proposed solution:
Remove the #group attribute from the path item in form array.
panopoly_admin.module, after line 160, add the following
unset($form['path']['#group']);
I don't understand why entity_translation triggers this
Comment | File | Size | Author |
---|---|---|---|
#8 | 2654412-8.patch | 582 bytes | Shashwat Purav |
permalink.jpg | 49.76 KB | bwaindwain |
Comments
Comment #2
bwaindwain CreditAttribution: bwaindwain as a volunteer commentedComment #3
bwaindwain CreditAttribution: bwaindwain as a volunteer commentedComment #4
bwaindwain CreditAttribution: bwaindwain as a volunteer commentedComment #5
chishah92 CreditAttribution: chishah92 at Blisstering Solutions commentedComment #6
chishah92 CreditAttribution: chishah92 at Blisstering Solutions commentedComment #7
Shashwat Purav CreditAttribution: Shashwat Purav at Iksula commentedComment #8
Shashwat Purav CreditAttribution: Shashwat Purav at Iksula commentedRemoved the #group attribute. Patch added.