It is follow-up from #1300920-72: The [node:summary] token does not output anything for body fields without a manual summary
Text widget already converted into plugin so it's a Novice task
Won't it need a backport to D7?
Could someone please review my patch? Thanks! :)
NOTE: Patch made at Drupal Camp Central America 2012.
@Brolag great! now we need a test to make sure that it works properly
Suppose this code should be modified to assert a wrong (none-numberic) value
Tried to kick off some tests but looks like core has moved on since this last patch. So here is the new one :)
Great! Is it possible to create 2 patches: one with only modified test (this patch is supposed to fail, and that's ok), and the second one, which contains validation and test modification?
sorry, forgot to change status
Working on tests.
After writing tests and pulling down the lastest 8.x I discovered that element_validate_positive_integer has been taken away in place of a number field with '#min' set to 1.
Drupal is a registered trademark of Dries Buytaert.