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

Do not fatally fail on angular pages if an extension is missing #16533

Merged
merged 1 commit into from
Feb 15, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Feb 14, 2020

Overview

If an extension is missing trying to create a new mailing will totally fail - on QF pages we just get a
not-very-clear message - now we have parity

Before

Screen Shot 2020-02-14 at 3 05 37 PM

After

Screen Shot 2020-02-14 at 3 05 57 PM

Technical Details

Comments

@MegaphoneJon I feel we've discussed this before

If an extension is missing trying to create a new mailing will totally fail - on QF pages we just get a
not-very-clear message
@civibot
Copy link

civibot bot commented Feb 14, 2020

(Standard links)

@civibot civibot bot added the master label Feb 14, 2020
$urls[$module->name] = $this->keyToUrl($module->name);
}
catch (CRM_Extension_Exception_MissingException $e) {
CRM_Core_Session::setStatus(ts('An enabled extension is missing from the extensions directory') . ':' . $module->name);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this doesn't seem to bubble up - but I think it's clearer keeping it in

@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton
Copy link
Contributor Author

I checked out #15011 & I think this could be reasonably seen as a reviewer's commit of that since I reached all the same conclusions

@yashodha
Copy link
Contributor

test this please

@eileenmcnaughton
Copy link
Contributor Author

Merging as a reviewer's commit as this is the same (other than code comments) as #15011

@eileenmcnaughton eileenmcnaughton merged commit be678fa into civicrm:master Feb 15, 2020
@eileenmcnaughton eileenmcnaughton deleted the ex_angular branch February 15, 2020 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants