Closed (fixed)
Project:
Translation Management Tool
Version:
8.x-1.x-dev
Component:
Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2015 at 14:18 UTC
Updated:
5 Feb 2016 at 20:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
edurenye commentedThe deep nesting works fine, I added tests.
Comment #3
miro_dietikerThe two asserts read too much identical to me and the location of the message is not asserted.
How about adding a new method like assertFieldError($field_key, $message, $param) that we will apply to all contextual errors?
Comment #4
edurenye commentedI can not validate the position, it's a side effect of using AJAX, both messages appears in the top as Drupal doesn't have anymore the inline errors for field validation.
The difference is in length and limit, so it's enough I think.
Comment #5
berdirAs discussed, this looks fine to me.