Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed exception instantiations in BaseControllerProvider #87

Merged

Conversation

jsperhac
Copy link
Contributor

@jsperhac jsperhac commented Apr 5, 2017

Framework exceptions were being instantiated incorrectly (symfony).

Description

Some home-grown exceptions were also being thrown. These were replaced with Symfony framework exceptions.

Motivation and Context

Fixes bug; allows rest stack to throw exceptions.

Tests performed

Thoroughly exercised as part of ubccr/xdmod-supremm#28 integration tests; working on unit test now.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Caveats

Pull requests that depend on this fix are:

@jsperhac jsperhac merged commit 97e5016 into ubccr:xdmod6.6 Apr 6, 2017
@jsperhac jsperhac deleted the fix-framework-authorize-exceptions branch April 6, 2017 19:26
@jpwhite4 jpwhite4 mentioned this pull request Apr 10, 2017
6 tasks
@tyearke tyearke added the bug Bugfixes label Apr 12, 2017
@tyearke tyearke added this to the v6.6.0 milestone Apr 12, 2017
ryanrath added a commit to ryanrath/xdmod that referenced this pull request Apr 14, 2017
- Updated the authenticate and authorize functions to use framework exceptions
  and not the homegrown ones. This was also done in
  ubccr#87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants