Fix registering a blueprint twice with differing names
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Previously the blueprint recorded aspects (before request, after request etc) would only be added to the app if it was the first registration of the blueprint instance. However only the record-once aspects (app-before requests, app-after request) should be added once on registration of the instance, whereas everything else should be added on every unique name registration. This ensures that these trigger under the new name as well as the old.
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+16 added−3 removed
- tests:+10 added−0 removed
- other:+6 added−3 removed