Closed (duplicate)
Project:
Phone
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2012 at 15:48 UTC
Updated:
22 Oct 2012 at 22:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
pbuyle commentedThe attached patch fixes the issue.
Comment #2
johannez commentedI had the same issue in Drupal 7.15. Looks like the was a change in the field API (hook_field_validate). This patch worked fine for me. Thank you, Pierre!
Please implement this fix asap as probably other people will run into this and it's the major feature of this module :)
Cheers,
Johannes
Comment #3
rowbotony commentedThank you for the patch! I'm using this with Drupal commerce, and a valid phone number is kind of a big deal. Thanks!
Comment #4
philsward commentedI also confirm the patch to work. Thx for posting it : )
Comment #5
pbuyle commentedI guess 3 positives feedback comments on a trivial 2 lines patch makes it "reviewed and tested by the community" :)
Comment #6
slcp commentedI propose closing this issue as a duplicate or this - #1715380: Notice: Undefined index: message in field_default_form_errors() (line 381 of /var/www/drupal/modules/field/field.form.inc). + #1697922: No validation of number occurring.
All three issues provide the same patch and are RTBC but #1715380: Notice: Undefined index: message in field_default_form_errors() (line 381 of /var/www/drupal/modules/field/field.form.inc). has been open since August 6.
Any objections?
Update: Closed #1697922: No validation of number occurring as still at Needs Review.
Comment #7
slcp commentedClosed as per previous comment. This leaves #1715380: Notice: Undefined index: message in field_default_form_errors() (line 381 of /var/www/drupal/modules/field/field.form.inc). for any further activity.
Awaiting someone with commit access to get something rolled into dev.
Comment #7.0
slcp commentedUpdate error description