It seems like there is not default word or index or something. Any ideas on what this is saying and how to fix these errors? Thanks!
• Notice: Undefined index: opencalais_anniversary_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_calaisdocumentc_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_city_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_company_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_continent_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_country_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_currency_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_emailaddress_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_entertainmentaw_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_eventsfacts_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_facility_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_faxnumber_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_holiday_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_industryterm_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_marketindex_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_medicalconditio_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_medicaltreatmen_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_movie_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_musicalbum_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_musicgroup_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_naturalfeature_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_operatingsystem_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_organization_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_person_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_phonenumber_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_position_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_product_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_programminglang_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_provinceorstate_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_publishedmedium_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_radioprogram_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_radiostation_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_region_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_socialtags_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_sportsevent_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_sportsgame_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_sportsleague_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_tvshow_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_tvstation_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_technology_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
• Notice: Undefined index: opencalais_url_tags in locale_field_entity_form_submit() (line 438 of /REPLACED/REPLACED/REPLACED/modules/locale/locale.module).
Comment | File | Size | Author |
---|---|---|---|
#5 | opencalais-1986910-5.patch | 435 bytes | xcf33 |
#2 | opencalais-1986910-2.patch | 448 bytes | xcf33 |
Comments
Comment #1
xcf33 CreditAttribution: xcf33 commentedThis is confirmed when locale module is enabled.
Comment #2
xcf33 CreditAttribution: xcf33 commentedAttached is a simple fix I looked at.
The problem occurs because in locale.module
The submission function looks for
$form[$field_name]['#language']
but all the opencalais field has been placed in a vertical tab under$form['opencalais'];
Comment #3
Fabianx CreditAttribution: Fabianx commentedThe right patch is to use an #after_build function to move things to the field set like how it is done in field_group.
Comment #4
xcf33 CreditAttribution: xcf33 commentedafter_build is a valid approach except that moving this block to an afterbuild function results in the fieldset detached from the vertical tab, I believe it is because the #group attribute is not taken into consideration in after bulid function because vertical tab rendering has already taken place.
The culprit is still the unset($form[$field_name]), I propose we simply use hide($form[$field_name]);
Comment #5
xcf33 CreditAttribution: xcf33 commentedComment #6
cweagansThis looks good.
Comment #7
xcf33 CreditAttribution: xcf33 commentedComment #8
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedhas this been committed? isn't that when you select "close (fixed)"?