Closed (fixed)
Project:
Field Validation
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2011 at 18:48 UTC
Updated:
18 Oct 2011 at 23:50 UTC
I'm unable to add a validation rule to a comment field as nothing happens when I click the link to add a new rule.
For example, when attempting to add a minimum word validation rule to the field_comment_body field, I click the link "http://www.example.com/admin/structure/types/manage/article/comment/fiel...". The address bar updates to that URL, but the page displayed is still http://www.example.com/admin/structure/types/manage/article/comment/fiel....
I tried setting validation rules on different comment fields and content types. No change.
Comments
Comment #1
g089h515r806 commentedThis is because drupal only support 10 components in Drupal paths, there are 11 components in "admin/structure/types/manage/article/comment/fields/comment_body/validation/add/min_words",
Maybe i could write a helper function used to dispatch the paths in this module.
Comment #2
g089h515r806 commentedI have fixed this issue in latest code. Test it.