I am working an the exif module for drupal 7.
it is working fine with drupal-7.0-alpha-7 (and previous) without module locale activated.
If I activate the locale.module, I make appears some warnings when submitting forms. Here an example :

# Notice: Undefined index: field_exif_model in locale_field_node_form_submit() (line 435 of D:\drupal-7.0-alpha7\modules\locale\locale.module).
# Notice: Undefined property: stdClass::$field_exif_model in locale_field_node_form_submit() (line 440 of D:\drupal-7.0-alpha7\modules\locale\locale.module).

The module seems to assume that all fields of the content type are also present in the form which is not always the case. For example, the "exif" module unset fields that are filled by reading a image file.

To resume :
- without locale activation, all is working fine with no warnings.
- with locale activation, all is working fine but there is some warnings.

regards,

Comments

jphautin’s picture

Version: 7.0-alpha7 » 7.0-beta1
jphautin’s picture

Version: 7.0-beta1 » 7.0-rc2
fuse’s picture

subscribing

clashar’s picture

Maybe will be solved after #822418: Field form structure incomplete if field_access() returns FALSE: will be ported to D7

Version: 7.0-rc2 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.