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

dev/drupal#114 and dev/core#1647 - Remove resource url status check #17754

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

demeritcowboy
Copy link
Contributor

@demeritcowboy demeritcowboy commented Jul 5, 2020

Overview

This check is driving several people nuts.

It made sense at the time it was introduced - my understanding is it mimicked the small missing arrow in the menus, which was subtle and so it wasn't obvious there was a problem or what it was. But:

  • The arrow it checks for is no longer used in the menus,
  • The check is ALWAYS a false negative in drupal 8 (and I understand maybe wordpress too),
  • It's a false negative if using a self-signed certificate,
  • And the symptoms are no longer subtle so it doesn't require a check. Now if resources can't be loaded then typically your menus are completely messed up.

It could maybe be replaced with something else, but want to wait to see what happens with https://lab.civicrm.org/dev/core/-/issues/1647.

Before

False negatives.

After

Better

Technical Details

It assumes packages is under userFrameworkResourceUrl, but it no longer always is.

Comments

@civibot
Copy link

civibot bot commented Jul 5, 2020

(Standard links)

@civibot civibot bot added the master label Jul 5, 2020
@eileenmcnaughton
Copy link
Contributor

I see one +1 already - I think if this gets a handful more we can merge. The logic sounds good to me

@KarinG
Copy link
Contributor

KarinG commented Jul 7, 2020

Ok there's the handful! +5 :-)

@MegaphoneJon
Copy link
Contributor

I just +1'ed this, and I wrote the check. It seemed like a good idea at the time 🤷

@colemanw colemanw merged commit b456148 into civicrm:master Jul 7, 2020
@demeritcowboy
Copy link
Contributor Author

Thanks everybody!

@demeritcowboy demeritcowboy deleted the resourceurl-check branch July 7, 2020 19:57
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.

5 participants