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

Bug fix in civicrm.module #544

Closed
wants to merge 4 commits into from

Conversation

albionbrown
Copy link

Replaced $this with $edit in civicrm_form_data() when not in object context.
Ignore the README I made

@civicrm-builder
Copy link

Can one of the admins verify this patch?

@civibot
Copy link

civibot bot commented Oct 4, 2018

(Standard links)

@civibot civibot bot added the 7.x-master label Oct 4, 2018
@MegaphoneJon
Copy link
Contributor

Many thanks for the contribution Josh! Are you able to resubmit (perhaps with a forced rebase) without the README so it's mergeable? You can do it now or after review takes place. If you have questions on how to do it, feel free to ask here, or in the ~dev-newcomers channel on https://chat.civicrm.org. Thanks, and welcome!

@albionbrown
Copy link
Author

albionbrown commented Oct 5, 2018 via email

@MegaphoneJon
Copy link
Contributor

This isn't a rebase, but that's OK - the committer can also deal with it on their end.

For whatever reason it's a little harder to get folks who know this repo to review patches compared to the "civicrm-core" repo, and I'm unfortunately not really qualified here. I'll work on finding someone. Thanks again for taking the time.

@jackrabbithanna
Copy link
Contributor

How did the problem manifest before this patch? Is there a process that we can follow to replicate the issue and confirm the fix?

@jackrabbithanna
Copy link
Contributor

This is a duplicate of #541

@albionbrown
Copy link
Author

albionbrown commented Oct 9, 2018

Oh sorry I forgot to note how to reproduce!

  1. Log into a Drupal user who can administer CiviCRM and Drupal users
  2. Find a contact in Civi whose account is not 'linked' to the Drupal account (The user's account has never been logged into and therefore has no record in civicrm_uf_match table to map Civi ID to Drupal User ID)
  3. Go to that contact's associated Drupal user page
  4. Click on 'Edit'
  5. Finally click on 'User Profile'

@petednz
Copy link

petednz commented Oct 19, 2018

i am seeing this same issue on some contacts where there is a uf_match - and where the Name and Address profile on the /user page does show the civi data - but clicking 'edit Name and Address' throws the error. noting this was a WP site that we moved to Drupal, and cleared out all unwanted uf_match rows and fixed up the remaining ones to work. we are seeing this error on newly created users though as well

@mlutfy
Copy link
Member

mlutfy commented Oct 26, 2018

@petednz Can you apply the patch and confirm whether it fixes the issue?

I would still recommend merging #541 instead, because the commit log will be cleaner.

@eileenmcnaughton
Copy link
Contributor

#541 merged - closing this as it seems superceded

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.

7 participants