Problem/Motivation

The Add Head of Household form doesn't work.

Steps to reproduce

- I created a Person contact with the Given Name TestPerson2
- I created a Household contact with the Name TestHousehold1
- I navigated to the Content > CRM > Relationships page and clicked Add relationship
- I selected Head of Household
- I tried typing 'TestHousehold1' into the Household field. No lookup happened
- I tried submitting the form with just the text 'TestHousehold1'
- I got the error 'There are no crm contacts matching "TestHousehold1".'

For fun, I then tried typing out the text that popped up when I searched for TestPerson2 in the Head of Household field (aka "TestPerson2_none (13)") into the Household field, then did a new lookup for TestPerson1 in the Head of Household field, then tried submitting the form. This did successfully create a Head of Household relationship between TestPerson1 and TestPerson2.

Then I tried looking up the id of TestHousehold1 in the crm_contact, and then putting that into the Household field (aka "TestHousehold1 (5)". This also created a Head of Household relationship. So submission works, it's just the lookup that's broken?

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork crm-3543664

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

speckles created an issue. See original summary.

jdleonard’s picture

Issue tags: +CRM Beta Blocker

This feels possibly worthy of being a beta blocker.

jdleonard’s picture

Steve says this will be fixed by the end of the day

bluegeek9 made their first commit to this issue’s fork.

bluegeek9’s picture

Assigned: Unassigned » bluegeek9

  • bluegeek9 committed 2aa38058 on 1.0.x
    [#3543664] feat: Household field in the Add Head of Household form doesn...
bluegeek9’s picture

Assigned: bluegeek9 » Unassigned
Status: Active » Fixed
Issue tags: -CRM Beta Blocker
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:
  • Triage issues and adding more context to existing issues.
  • Flagging CRM as a favorite on the project page to help others discover it and show your support.
  • Review the Developer Docs for accuracy and clarity.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.