-
Notifications
You must be signed in to change notification settings - Fork 380
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
Set DefaultMetadataReader when ext-exif is not present #841
Conversation
017208d
to
055ada8
Compare
We need to allow for people to manually overwrite this parameter in their own configuration, no? |
Yes, sure. I think comparing the set parameter with the bundle default parameter should be sufficient. Fix upcoming. |
My thinking exactly. 👍 Also; a test case to ensure this isn't applied when ext-exif is available would be much appreciated. |
055ada8
to
f3c460a
Compare
That should be it. Now the parameter is only re-set, if it's equal to the default value |
Awesome! Should we offer up some kind of warning or log message when the parameter is reset? It's useful behaviour, but this is definitely something which might cause confusion if a user isn't aware of what's going on. |
f3c460a
to
764a1b6
Compare
Agreed. I changed the CompilerPass to emit a log message to the compiler log. |
This fixes the issue where an exif reader is used, but ext-exif is not loaded. Closes: liip#501
764a1b6
to
7cba271
Compare
I added a basic test. Let me know what you think. :) |
I'm pretty happy with this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine for me too!
@robfrawley you have permissions to merge right? |
ah @cedricziel too :) |
Yep, I've just wanted to wait for reviews - thx for participating and the valuable feedback! |
@lsmith77 Sure do have merge rights! It's just been a bit since you've been around and many merges have happened with the "new, active maintainers crew"; my review request was just a good way to have you check in and make sure you were comfortable with everything so far. Thanks @cedricziel for the PR! |
This fixes the issue where an exif reader is used, but ext-exif
is not loaded.
Closes: #501