Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
configuration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2014 at 18:45 UTC
Updated:
29 Jul 2014 at 23:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alexpottThis is a bug in the breakpoint module - it should always have a consistent number of dots and therefore identifiers in the filename.
Comment #2
alexpottThe id is made up of the name, source, and sourceType properties for both breakpoints and breakpoint groups. Source and sourceType have defaults. Therefore we should ensure that the name exists in the constructor.
Patch ensures that the name value is set and if not throws an exception. Tests are added for both breakpoint and breakpoint group entities.
Comment #4
alexpottFixed unit tests and move exception testing to said unit tests :)
Comment #5
gábor hojtsyLooks good to me! Let's get this in!
Comment #7
alexpottTestbot what happened?
Comment #8
alexpott4: 2245727.4.patch queued for re-testing.
Comment #9
gábor hojtsyRandom fail.
Comment #10
webchickCommitted and pushed to 8.x. Thanks!
Comment #12
gábor hojtsySuperb, thanks all!