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

[Feedback MRI Popup] Don't call functions that don't exist! #4092

Merged
merged 2 commits into from
Nov 21, 2018
Merged

[Feedback MRI Popup] Don't call functions that don't exist! #4092

merged 2 commits into from
Nov 21, 2018

Conversation

johnsaigle
Copy link
Contributor

Brief summary of changes

When an unauthenticated user tries to access the feedback pop up it will now go through proper 401/403 handling instead of quixotically calling functions that do not exist.

@johnsaigle johnsaigle added Category: Bug PR or issue that aims to report or fix a bug Cleanup PR or issue introducing/requiring at least one clean-up operation [branch] bugfix labels Nov 13, 2018
@johnsaigle johnsaigle changed the title [Feedback MRI Popup] Crash better [Feedback MRI Popup] Don't call functions that don't exist Nov 13, 2018
@johnsaigle johnsaigle changed the title [Feedback MRI Popup] Don't call functions that don't exist [Feedback MRI Popup] Don't call functions that don't exist! Nov 14, 2018
Copy link
Collaborator

@cmadjar cmadjar left a comment

Choose a reason for hiding this comment

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

Before when trying to access a feedback MRI popup window when not logged in:
screen shot 2018-11-19 at 11 14 21 am
And error log:

[Mon Nov 19 11:13:21.956037 2018] [php7:error] [pid 14341] [client 132.216.237.71:61355] PHP Fatal error:  Uncaught Error: Call to undefined method SinglePointLogin::showLoginScreen() in /var/www/loris/htdocs/feedback_mri_popup.php:21\nStack trace:\n#0 {main}\n  thrown in /var/www/loris/htdocs/feedback_mri_popup.php on line 21

With the new great changes of @johnsaigle:
screen shot 2018-11-19 at 11 15 46 am

All good!!

@cmadjar cmadjar added the Passed manual tests PR has been successfully tested by at least one peer label Nov 19, 2018
@driusan driusan merged commit 16bb75f into aces:bugfix Nov 21, 2018
@ridz1208 ridz1208 added this to the 20.0.3 milestone Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bug PR or issue that aims to report or fix a bug Cleanup PR or issue introducing/requiring at least one clean-up operation Passed manual tests PR has been successfully tested by at least one peer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants