Closed (fixed)
Project:
Drupal core
Version:
8.6.x-dev
Component:
extension system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2018 at 23:19 UTC
Updated:
18 Sep 2018 at 19:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
almaudoh commentedHere goes.
Comment #3
almaudoh commentedFixed the expected exceptions in the tests.
Comment #6
almaudoh commentedFixed more tests.
Comment #7
dawehnerI think we should add them inside an Exception namespace. We are not consistent with that in core at all, but at least for me, having that additional namespace is helpful to keep things focused.
Comment #8
almaudoh commentedMoved to Exception namespace.
Comment #10
almaudoh commentedFixed the test fails and CS issues.
Comment #12
almaudoh commentedMore test fails and docs fixes
Comment #13
dawehnerI went through the patch and the introduction of the additional exceptions totally make sense.
This is amazing work. Do you mind creating a change record documenting the new exception classes we have?
This is a bit of a BC break. I think we should continue extending from the
InvalidArgumentExceptionso existing catch statements continue to work.Comment #14
dawehnerComment #15
almaudoh commentedFixed #13 and added a change record https://www.drupal.org/node/2941753
Comment #16
dawehnerIsn't there a place for modules which could throw the same kind of exception?
Comment #17
borisson_I'm not sure how to answer #16, but this patch and the change record look great.
Comment #19
almaudoh commentedReroll
Comment #20
dawehner@borisson_
Yeah not sure what #16 was about.
I gave it another review and really liked it.
Comment #21
almaudoh commentedI actually looked through the code again and didn't see anywhere where #16 is applicable in the current codebase.
Comment #23
almaudoh commentedComment #25
MixologicTestbot Snafu.
Comment #27
borisson_This was still a testbot fluke, back to rtbc.
Comment #29
catchCommitted aae672c and pushed to 8.6.x. Thanks!
Comment #31
cilefen commentedI have noticed two recent issues that could possibly be related or at least those more familiar with extension discovery may be able to help on: