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

CRM-19856 Fix Drupal 8 get User url #9521

Merged
merged 1 commit into from
Feb 28, 2017

Conversation

seamuslee001
Copy link
Contributor

@seamuslee001 seamuslee001 commented Dec 9, 2016

@yashodha
Copy link
Contributor

@seamuslee001 : Is there a related issue in JIRA for the same?

@seamuslee001 seamuslee001 changed the title Fix Drupal 8 get User url CRM-19856 Fix Drupal 8 get User url Jan 11, 2017
@seamuslee001
Copy link
Contributor Author

@yashodha Have just created one CRM-19856 also pinging @jackrabbithanna as I know mark has been working on D8 stuff lately

@jackrabbithanna
Copy link
Contributor

jackrabbithanna commented Jan 11, 2017

Where was the User link broken, what are the steps to replicate? There's also going to need to be other issues around the User/profile stuff as the integration of Profiles on user view and edit is broken
UPDATE the profile stuff I mentioned is bugs in civicrm-drupal not civicrm-core

@seamuslee001
Copy link
Contributor Author

@jackrabbithanna Mark from looking at the information that was supplied into Matermost it looks like it is the link to the user account from on the CiviCRM Contact Record page i think

@jackrabbithanna
Copy link
Contributor

Jenkins, retest this please.

@jackrabbithanna
Copy link
Contributor

@seamuslee001 @yashodha
I can confirm this fixes the issue. I'm running the tests again, and if it passes we'll merge this in

@jackrabbithanna
Copy link
Contributor

@totten the tests have passed and this should be merged in. I could merge it in but I'm unclear whether I'm to stick with only merging into the 4.6 branch, or have authorization to merge Drupal 8 related PRs into the master branch

@jackrabbithanna
Copy link
Contributor

@colemanw what do you think?

@eileenmcnaughton
Copy link
Contributor

Ok so this is not a 'Drupal8' only pr - it is intended to fix a drupal 8 issue, but it does so in shared code. So, to speak to the safety of merging it....

The change is in the DrupalBase class - so only Drupal 6,7 & 8 will be affected.

The change is from a direct drupal function to generate a drupal url to calling a CiviCRM function to generate it. The CiviCRM function is also part of the drupal base class. The arguments on the replacement function match the arguments of the drupal function with the same defaults - so I think this function should perform the same as the previous function for d6 & d7 and am happy to merge it.

@eileenmcnaughton eileenmcnaughton merged commit 7c9eed3 into civicrm:master Feb 28, 2017
@seamuslee001 seamuslee001 deleted the drupal8-url-fix branch April 12, 2017 20:44
monishdeb pushed a commit to monishdeb/civicrm-core that referenced this pull request May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants