Repository navigation
Pass Error_Recipient into the unsubscribe subflows - #239
RubenHalman wants to merge 1 commit into
Conversation
Unsubscribe Link Quick assigned an input named ErrorRecipient, which Unsubscribe Contacts and Unsubscribe Leads do not define. Their input is Error_Recipient. Next on the public page faulted the interview and rolled the opt-out back. Fixes SFDO-Community#238
|
@RubenHalman I thought I fixed that. Thanks for catching it! |
|
@CraigRWarren Thank you. Feature Test fails before any test runs: the Dev Hub auth URL secret is empty on pull requests from a fork, so it cannot log in. The same check fails on my other open pull requests, and it passes for pull requests opened from this repo. I cannot merge without write access. Could a maintainer merge this? |
|
@RubenHalman your changes aren't passing the feature test because they are built on a fork. Is there any chance you could build them on a branch in SFDO-Community? You should have permission to do this. |
|
@DKeatonDC what is your reasoning behind rejecting pull requests from forks? The code is the same .. |
|
@RubenHalman -- it's not my reasoning--it's a feature of how the SFDO-Community's cumulus cloud instance is set up. We were puzzled for months as to why we were getting similar failures, but building on branches addressed the issue. |
|
@DKeatonDC @CraigRWarren The change is already reviewed and fixes the issue. A maintainer can still merge it, even if configured feature tests fails. If the check is required, please adjust the workflow or merge after review. |
|
@RubenHalman we don't have the ability to change the workflow. The github site is managed by salesforce and this is what they have asked us to do. If you do not want to rebuild on a fork, we can do it (unless you object to having us do so). |
|
@DKeatonDC External contributions should not have to be reauthored or rebuilt on a branch inside the repository just to pass CI. That is not a normal open-source process. The Feature Test fails on every fork PR by design. That is a pipeline problem. How can we raise this with sfdo-release-engineers or Salesforce.org so external contributors are not blocked from normal PRs? |
|
I do realize this and people are aware. I just don't expect any changes happening soon.
Sent from [Proton Mail](https://proton.me/mail/home) for Android.
…-------- Original Message --------
On Saturday, 10/31/26 at 11:10 Ruben Halman ***@***.***> wrote:
RubenHalman left a comment [(SFDO-Community/UnsubscribeLink#239)](#239 (comment))
***@***.***(https://github.com/DKeatonDC)
These changes come from two days of work we were asked by Salesforce to do as external contributors. I kept the fork in sync with that request.
External contributions should not have to be reauthored or rebuilt on a branch inside the repository just to pass CI. That is not a normal open-source process.
The Feature Test fails on every fork PR by design. That is a pipeline problem owned by whoever controls the workflows. How can we raise this with sfdo-release-engineers or Salesforce.org so external contributors are not blocked from normal PRs?
—
Reply to this email directly, [view it on GitHub](#239?email_source=notifications&email_token=BHO33IO7DHGJHW7EQ3ADLZD5WX6E3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMNJUGUYTOOJRGM42M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-6545179139), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BHO33IPKNA6NLFXUUHLOUET5WX6E3AVCNFSNUABFKJSXA33TNF2G64TZHM3TKNRZGAYDANRYHNEXG43VMU5TKOJSGU4DENJZGU42C5QC).
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for [iOS](https://github.com/notifications/mobile/ios/BHO33IL57KITRLH7YFXCQKL5WX6E3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMNJUGUYTOOJRGM42M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y) and [Android](https://github.com/notifications/mobile/android/BHO33IK2UGMO7KXCPI7TB6T5WX6E3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMNJUGUYTOOJRGM42M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI). Download it today!
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Summary
Pressing Next on the public unsubscribe page faulted the interview and rolled the opt-out back:
Unsubscribe_Link_Quickpassed an input namedErrorRecipient.Unsubscribe_ContactsandUnsubscribe_Leadsdefine that input asError_Recipient, and their error-email actions readError_Recipient. The Leads call also had an emptyError_Recipientassignment.This passes
{!ErrorRecipient}intoError_Recipienton both subflows and removes the invalid assignment. The subflow variables are unchanged.Fixes #238.
Test
Deployed the flow to a scratch org with a live Experience Cloud site and opened
/Unsubscribe/s/unsubscribe?varRecId=C…as the guest user.HasOptedOutOfEmailis true.Unsubscribe__crow was saved with status Unsubscribed and that contact.