Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
configuration system
Priority:
Critical
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
29 Sep 2012 at 12:17 UTC
Updated:
29 Jul 2014 at 21:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andreiashu commentedSpoke with @alexpott and it seems this has already been addressed in a separate issue but we discovered one place where it was missed. Patch to come
Comment #2
andreiashu commentedpatch attached
Comment #3
andreiashu commented@alexpott: does it make sense to have to default to a value at code level? We already have a default in system.logging.yml
Comment #4
andreiashu commentedComment #5
andreiashu commentedtagging
Comment #6
andreiashu commentedRemoved the redundant default value
Comment #7
alexpottLooks great.
Thanks for the work!
Comment #8
webchickJust a quick question. Is this actually causing a bug to appear somewhere? If so, we need tests to illustrate the failure.
Comment #9
alexpottYep webchick you're right we need a test...
So here it is. The .test.only.patch should fail :)
Comment #11
alexpottSetting back to RTBC as the added test proves the bug and the fix!
Comment #12
aspilicious commentedLooks good
Comment #13
lars toomre commentedSmall nit going forward.... please do not use t() around assert messages. Thanks.
Comment #14
alexpottLars that t() is in all the ErrorHandlerTest's - copy/paste mistake :)
Comment #15
lars toomre commentedThere are patches waiting review/commit removing all of the t() from assert messages. Hopefully, soon there won't be bad examples going forward.
Comment #16
webchickAwesome, thanks a lot!
Committed and pushed to 8.x.
Comment #17
lars toomre commentedFor reference, this is the issue cleaning up t() around assert messages in the referenced test file: #1797926: Remove t() from asserts from System sub-system tests.
Comment #18
andreiashu commented@alexpott: re #7: thanks for the guidance and helping out :)
Comment #19
andypostYep, one t() added with commit
this place should be fixed in #1797926: Remove t() from asserts from System sub-system tests
Comment #20.0
(not verified) commentedUpdated issue summary.