SalesforceFoundation / NPSP

The current version of the Salesforce.org Nonprofit Success Pack
http://www.salesforce.org/nonprofit/nonprofit-success-pack/
BSD 3-Clause "New" or "Revised" License
16 stars 3 forks source link

If a formula field is used in Household Naming, Manage Household does not update correctly #2198

Closed judisohn closed 8 years ago

judisohn commented 8 years ago

thread: https://powerofus.force.com/0D58000002qsUEn

likely related: https://powerofus.force.com/0D58000002reuLW

Steps to repeat:

  1. Create Nickname custom field on Contact
  2. Create Greeting custom formula field on Contact with formula: BLANKVALUE(Nickname__c, FirstName)
  3. Use custom Greeting field as Informal Greeting value in NPSP Settings
  4. Create Contact and update Nickname, have another Contact in the same Household
  5. Confirm Informal Greeting on Account is correct
  6. Use Manage Household to Exclude 2nd Contact from Informal Greeting

Result: Informal Greeting blank (if 3 members in household and one excluded, it will just say ' and ') This persists on Save.

Editing the Account does not fix, however running the Household Name batch job does fix the value.

judisohn commented 8 years ago

**lurch: add

LurchTheButler commented 8 years ago

Tracking W-010951

kbromer commented 8 years ago

Is that true if you edit it in the standard UI as well?

judisohn commented 8 years ago

@kbromer Nope. Something is going on in the Manage Household save. When I repeat the steps but exclude a Contact by just editing the record and checking the field, on save the Informal Greeting on Account updates correctly immediately.

kbromer commented 8 years ago

Interesting!

allisonletts commented 8 years ago

I think this is related--I just have {!{!Nickname__c}} in the informal greeting field (a text field, not a formula) and I'm experiencing the same problem. Note that the preview in NPSP Settings looks funny as well.

image

judisohn commented 8 years ago

When you use a custom field, the preview won't ever show it so that's expected. Are you seeing the text field correctly in Manage Household and/or the record when you save it?

allisonletts commented 8 years ago

Not seeing it correctly either in Manage Household or when I save it. On Wed, Aug 3, 2016 at 2:11 PM Judi Sohn notifications@github.com wrote:

When you use a custom field, the preview won't ever show it so that's expected. Are you seeing the text field correctly in Manage Household and/or the record when you save it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SalesforceFoundation/Cumulus/issues/2198#issuecomment-237316651, or mute the thread https://github.com/notifications/unsubscribe-auth/ARFbSPcgjQWTrYdSC5LjEzwNbGZRW4nWks5qcNjOgaJpZM4Ja95S .

carlpaulsen commented 8 years ago

A related thread found a similar problem using a workflow to update the informal greeting (https://powerofus.force.com/_ui/core/userprofile/UserProfilePage?u=00580000009gqymAAA&tab=sfdc.ProfilePlatformFeed).

Is this issue intended to cover that problem too, or is there another issue for that?

davidhabib commented 8 years ago

duplicate with #2341