Skip to content

Campus/Account picker not working properly on Utility Payment and Transaction Entry blocks #6540

@bobrufenacht

Description

@bobrufenacht

Description

Reported on behalf of Abundant Life. When using "Use Account Campus Mapping Logic" = Yes, the parent account is always being used instead of selecting the underlying campus account. The issue seems to be that the postback from selecting a new campus is not being posted so the underlying code on the CampusAccountAmount picker is never executing. This control is used for both single and multi account mode and is an underlying control for both the Utility Payment block and the Transaction Entry V2 block. The postback does not seem to work on either block. However, on the Control Gallery page, the postback works properly and shows the correct resulting account. Also, using a Campus Context Setter with the Advanced options in Account Campus Context appears to work correctly.

Actual Behavior

Changing the campus selection in the Utility Payment Entry block does not select the proper campus child account.

Expected Behavior

Changing the Campus would select the campus specific account under the specified parent.

Steps to Reproduce

  • Go to Finance -> Accounts and set up two campus specific accounts under General Fund (GF Main and GF South) on Rock SolidChurchDemo.Com
  • Go to /page/186 and set the block setting on the Utility Payment block to Ask for Campus if Known = Yes, Enable Multi-Account = No, Use Account Campus Mapping Logic = Yes.
  • Make sure the General Fund accounts are selected
  • Change the selection under Campus and notice there is in spinner from a postback (confirmed in VS as well)
  • Save a General Fund contribution and the account will be General Fund, not the underlying campus account
  • Go to Admin -> Settings -> Control Gallery
  • Search for CampusAccountAmountPicker
  • Change the Campus
  • See the spinner for postback
  • See the proper underlying account is selected.

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug is already reported.
  • Reproduced the problem on a fresh install or on the demo site.

Rock Version

16.13, 17.6, PreAlpha

Client Culture Setting

en-US

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions