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

Fixes #373. Replace NotFoundHttpException with SourceNotFoundException #403

Merged
merged 3 commits into from
Apr 28, 2014

Conversation

ama3ing
Copy link

@ama3ing ama3ing commented Apr 22, 2014

Fixes #373


use Liip\ImagineBundle\Exception\ExceptionInterface;

class SourceNotFoundException extends \RuntimeException implements ExceptionInterface
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you name it NotLoadableException so we consistent with ones we already have https://github.com/liip/LiipImagineBundle/tree/master/Exception/Imagine/Cache/Resolver

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont like the name but at least it consistent

@makasim
Copy link
Collaborator

makasim commented Apr 24, 2014

@Me1ifaro while you on it could you check other loaders too. I am sure GridFSLoader and other throws NotFoundException too.

@ama3ing
Copy link
Author

ama3ing commented Apr 24, 2014

while you on it could you check other loaders too. I am sure GridFSLoader and other throws >NotFoundException too.
@makasim, I am sure that I have already did this.

@ama3ing
Copy link
Author

ama3ing commented Apr 24, 2014

@makasim, seems that I merged master instead of rebasing from it... Can you get me the point how to fix this?

@ama3ing
Copy link
Author

ama3ing commented Apr 24, 2014

@makasim, ok seems like rebasing from upstream/master solved the problem

@makasim
Copy link
Collaborator

makasim commented Apr 24, 2014

@Me1ifaro looks good, could you look at other loaders?

@ama3ing
Copy link
Author

ama3ing commented Apr 24, 2014

@makasim, I'm sure that I made project wide search :)

@makasim
Copy link
Collaborator

makasim commented Apr 24, 2014

@makasim, seems that I merged master instead of rebasing from it... Can you get me the point how to fix this?

you can always cherry pick desired commits by their hash

@makasim
Copy link
Collaborator

makasim commented Apr 24, 2014

@Me1ifaro GridFsLoader is not present in the diffs and Doctrine abstract loader too.

@ama3ing
Copy link
Author

ama3ing commented Apr 24, 2014

GridFsLoader is not present in the diffs and Doctrine abstract loader too.

Seems like I made some magic with git

Iakov Mishchenko added 2 commits April 24, 2014 11:20
@ama3ing
Copy link
Author

ama3ing commented Apr 27, 2014

@makasim, anything else should be checked?

makasim added a commit that referenced this pull request Apr 28, 2014
…xceptions

Fixes #373. Replace NotFoundHttpException with SourceNotFoundException
@makasim makasim merged commit 6651057 into liip:master Apr 28, 2014
@makasim
Copy link
Collaborator

makasim commented Apr 28, 2014

@Me1ifaro thanks

@digitalkaoz
Copy link
Contributor

this PR breaked the test-suite: https://travis-ci.org/liip/LiipImagineBundle/builds/23912174 @Me1ifaro could you refix this?

@ama3ing
Copy link
Author

ama3ing commented Apr 28, 2014

@digitalkaoz, sure.

ama3ing pushed a commit to ama3ing/LiipImagineBundle that referenced this pull request Apr 28, 2014
@ama3ing
Copy link
Author

ama3ing commented Apr 28, 2014

@digitalkaoz, done. See #419

makasim added a commit that referenced this pull request Apr 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1.0] Loaders should not throw http exceptions.
3 participants