Rock icon indicating copy to clipboard operation
Rock copied to clipboard

Obsidian Registration Entry Doesn't Update Page Title

Open leahjennings opened this issue 2 years ago • 6 comments

Prerequisites

  • [x] Put an X between the brackets on this line if you have done all of the following:
    • Did you perform a search at https://github.com/issues?q=is%3Aissue+user%3ASparkDevNetwork+-repo%3ARock to see if your bug or enhancement is already reported?
    • Can you reproduce the problem on a fresh install or the demo site?
    • Did you include your Rock version number and client culture setting?

A Picture Is worth a Thousand Words

Description

The original Registration Entry block updates the page's title to reflect the name of the instance. This has been a huge feature for us, since it helps guide the person filling out the form to know what they're registering for. The newer Obsidian Registration Entry block doesn't update the page's title.

Steps to Reproduce

  1. Go to the demo site and navigate to Tools > Event Registration
  2. Configure an Event Registration Instance to be active, and ensure it has a slug under Linkages
  • I used the Summer Camp template, and gave it a slug of camp. The way the instance is configured has no impact on this particular bug, it just needs to be active.
  1. Navigate to https://rock.rocksolidchurchdemo.com/registration/{slug}, where {slug} is whatever the slug was configured to be in step 2
  2. By default, the page only contains the original registration entry block. Notice how the original block updates the page's title to reflect the name of the registration instance.
  3. Open the zones configuration on the Registration Entry page, and add the Obsidian registration entry block and delete the original registration entry block
  4. Reload the page to https://rock.rocksolidchurchdemo.com/registration/{slug}
  5. Notice how the page title just says "Registration" instead of the name of the instance.

Expected behavior:

I expect the Obsidian registration entry block to change the page's title, since that was the behavior of the original block.

Actual behavior:

When using the Obsidian registration entry block, the page title doesn't change.

Versions

  • Rock Version: [Rock McKinley 14.0 (1.14.0.18)]
  • Client Culture Setting: [en-US]

leahjennings avatar Nov 27 '22 15:11 leahjennings