SparkDevNetwork/Rock

Connection Request Badge Bar Disappears on Page Refresh/Reload

Closed this issue · 2 comments

Description

When viewing a connection request that contains only one badge based on Entity Type "Person" and Badge Type "Steps" in the badge bar, if you refresh the page or if you launch a workflow from the available workflow buttons and the page refreshes when the workflow finishes, the badges that are displayed disappear. (If you include any other badge too, for example Connection Status badge, the badge bar does not disappear on refresh.)

On initial page load of the Connection Request, you can see the badge bar in the red box in the screenshot below:
image

Simply refreshing the page causes the badge bar to disappear as seen in the screenshot below:
image

Actual Behavior

Badges disappear when the connection request page is refreshed/reloaded if the only badge being displayed is a Person/Steps badge.

Expected Behavior

Badges would not disappear on refresh/reload of the page no matter which badges were chosen to be displayed. The Badges would stay the same if no data had changed or would update if information had changed since the page was initially loaded.

Steps to Reproduce

  1. Create a badge that is based on Person as the entity and Steps as the Badge Type. Pick an existing Step Program
    image

  2. Edit the block settings in the Connection Request Board Block on the Connection Board page (demo site page: https://rocksolidchurchdemo.com/page/2635?ConnectionOpportunityId=3) to include only the new badge you created in step 1.
    image

  3. Click on one of the cards in the board and see that the badge displays for the person.
    image

image

  1. Refresh the page and the badge disappears.

image

  1. Close the modal form that contains the connection request and click on the card again and the badge reappears.

Issue Confirmation

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

Rock Version

16.5

Client Culture Setting

en-US

Not sure if these additional screenshots would be helpful. Feel free to delete them if they are not. :)

image

image

@treusch Thank you for providing these screentshots. I will add them to our internal ticket as they may assist dev with our investigation.